Home
last modified time | relevance | path

Searched refs:fcoe (Results 1 – 41 of 41) sorted by relevance

/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c301 static int fcoe_interface_setup(struct fcoe_interface *fcoe, in fcoe_interface_setup() argument
304 struct fcoe_ctlr *fip = fcoe_to_ctlr(fcoe); in fcoe_interface_setup()
310 fcoe->netdev = netdev; in fcoe_interface_setup()
330 fcoe->realdev = real_dev; in fcoe_interface_setup()
365 fcoe->fcoe_packet_type.func = fcoe_rcv; in fcoe_interface_setup()
366 fcoe->fcoe_packet_type.type = htons(ETH_P_FCOE); in fcoe_interface_setup()
367 fcoe->fcoe_packet_type.dev = netdev; in fcoe_interface_setup()
368 dev_add_pack(&fcoe->fcoe_packet_type); in fcoe_interface_setup()
370 fcoe->fip_packet_type.func = fcoe_fip_recv; in fcoe_interface_setup()
371 fcoe->fip_packet_type.type = htons(ETH_P_FIP); in fcoe_interface_setup()
[all …]
DMakefile1 obj-$(CONFIG_FCOE) += fcoe.o
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c71 struct ixgbe_fcoe *fcoe; in ixgbe_fcoe_ddp_put() local
84 fcoe = &adapter->fcoe; in ixgbe_fcoe_ddp_put()
85 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_put()
115 spin_lock_bh(&fcoe->lock); in ixgbe_fcoe_ddp_put()
127 spin_unlock_bh(&fcoe->lock); in ixgbe_fcoe_ddp_put()
162 struct ixgbe_fcoe *fcoe; in ixgbe_fcoe_ddp_setup() local
190 fcoe = &adapter->fcoe; in ixgbe_fcoe_ddp_setup()
191 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_setup()
200 if (!fcoe->ddp_pool) { in ixgbe_fcoe_ddp_setup()
205 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, get_cpu()); in ixgbe_fcoe_ddp_setup()
[all …]
Dixgbe_lib.c45 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_dcb_sriov() local
83 if (fcoe->offset < tcs) in ixgbe_cache_ring_dcb_sriov()
87 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov()
92 for (i = fcoe->offset; i < adapter->num_rx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
99 for (i = fcoe->offset; i < adapter->num_tx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
206 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_sriov() local
222 if (fcoe->offset && (i > fcoe->offset)) in ixgbe_cache_ring_sriov()
241 if (fcoe->offset && (i > fcoe->offset)) in ixgbe_cache_ring_sriov()
387 struct ixgbe_ring_feature *fcoe; in ixgbe_set_dcb_sriov_queues() local
389 fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_set_dcb_sriov_queues()
[all …]
Dixgbe_dcb_nl.c65 if (up && !(up & (1 << adapter->fcoe.up))) in ixgbe_copy_dcb_cfg()
400 adapter->fcoe.up = ffs(up) - 1; in ixgbe_dcbnl_set_all()
660 if (app_mask & (1 << adapter->fcoe.up)) in ixgbe_dcbnl_ieee_setapp()
663 adapter->fcoe.up = app->priority; in ixgbe_dcbnl_ieee_setapp()
703 if (app_mask & (1 << adapter->fcoe.up)) in ixgbe_dcbnl_ieee_delapp()
706 adapter->fcoe.up = app_mask ? in ixgbe_dcbnl_ieee_delapp()
Dixgbe.h734 struct ixgbe_fcoe fcoe; member
Dixgbe_main.c4468 (pb == netdev_get_prio_tc_map(dev, adapter->fcoe.up))) in ixgbe_lpbthresh()
5327 adapter->fcoe.up = IXGBE_FCOE_DEFTC; in ixgbe_sw_init()
5351 adapter->fcoe.up = 0; in ixgbe_sw_init()
5379 spin_lock_init(&adapter->fcoe.lock); in ixgbe_sw_init()
6198 if (adapter->fcoe.ddp_pool) { in ixgbe_update_stats()
6199 struct ixgbe_fcoe *fcoe = &adapter->fcoe; in ixgbe_update_stats() local
6204 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, cpu); in ixgbe_update_stats()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_fcoe.c72 struct cxgb_fcoe *fcoe = &pi->fcoe; in cxgb_fcoe_enable() local
89 fcoe->flags |= CXGB_FCOE_ENABLED; in cxgb_fcoe_enable()
104 struct cxgb_fcoe *fcoe = &pi->fcoe; in cxgb_fcoe_disable() local
106 if (!(fcoe->flags & CXGB_FCOE_ENABLED)) in cxgb_fcoe_disable()
111 fcoe->flags &= ~CXGB_FCOE_ENABLED; in cxgb_fcoe_disable()
Dcxgb4.h456 struct cxgb_fcoe fcoe; member
805 uint32_t fcoe:FCOE_BITWIDTH; /* FCoE packet */ member
Dsge.c1104 const struct cxgb_fcoe *fcoe = &pi->fcoe; in cxgb_fcoe_offload() local
1106 if (!(fcoe->flags & CXGB_FCOE_ENABLED)) in cxgb_fcoe_offload()
1960 (pi->fcoe.flags & CXGB_FCOE_ENABLED)) { in t4_ethrx_handler()
Dcxgb4_main.c1251 FW_FILTER_WR_FCOE_V(f->fs.val.fcoe) | in set_filter_wr()
1252 FW_FILTER_WR_FCOEM_V(f->fs.mask.fcoe) | in set_filter_wr()
Dt4_hw.c3045 SAME_INTF(ri) && SAME_INTF(iscsi) && SAME_INTF(fcoe)) in fw_compatible()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c258 struct i40e_fcoe *fcoe = &pf->fcoe; in i40e_fcoe_ddp_put() local
260 struct i40e_fcoe_ddp *ddp = &fcoe->ddp[xid]; in i40e_fcoe_ddp_put()
262 if (!fcoe || !ddp) in i40e_fcoe_ddp_put()
286 if (!pf->hw.func_caps.fcoe) { in i40e_init_pf_fcoe()
428 struct i40e_fcoe *fcoe = &pf->fcoe; in i40e_fcoe_enable() local
440 atomic_inc(&fcoe->refcnt); in i40e_fcoe_enable()
457 struct i40e_fcoe *fcoe = &pf->fcoe; in i40e_fcoe_disable() local
466 if (!atomic_dec_and_test(&fcoe->refcnt)) in i40e_fcoe_disable()
481 static void i40e_fcoe_dma_pool_free(struct i40e_fcoe *fcoe, in i40e_fcoe_dma_pool_free() argument
487 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, cpu); in i40e_fcoe_dma_pool_free()
[all …]
Di40e.h344 struct i40e_fcoe fcoe; member
Di40e_type.h248 bool fcoe; member
Di40e_common.c2883 p->fcoe = true; in i40e_parse_discover_capabilities()
2964 if (p->fcoe) in i40e_parse_discover_capabilities()
2971 p->fcoe = false; in i40e_parse_discover_capabilities()
Di40e_main.c6545 #define DEF_NUM_VSI (1 + (pf->hw.func_caps.fcoe ? 1 : 0) \ in i40e_get_capabilities()
/linux-4.4.14/Documentation/scsi/
Dbnx2fc.txt17 eth0.1001-fcoe). Do not delete or disable these interfaces or FCoE operation
23 1. Ensure that fcoe-utils package is installed.
27 a. cd /etc/fcoe
34 3. Ensure that "bnx2fc" is in SUPPORTED_DRIVERS list in /etc/fcoe/config.
36 4. Start fcoe service. (service fcoe start). If Broadcom devices are present in
63 <INTERFACE>.<VLAN>-fcoe interfaces are automatically created.
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-fcoe1 What: /sys/bus/fcoe/
4 Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org
22 What: /sys/bus/fcoe/devices/ctlr_X
25 Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org
26 Description: 'FCoE Controller' instances on the fcoe bus.
68 What: /sys/bus/fcoe/devices/fcf_X
71 Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org
72 Description: 'FCoE FCF' instances on the fcoe bus. A FCF is a Fibre Channel
116 which is commonly packaged in the fcoe-utils package.
/linux-4.4.14/drivers/scsi/fnic/
Dcq_enet_desc.h95 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument
112 *fcoe = (completed_index_flags & CQ_ENET_RQ_DESC_FLAGS_FCOE) ? in cq_enet_rq_desc_dec()
135 if (*fcoe) { in cq_enet_rq_desc_dec()
Dfnic_fcs.c801 u8 fcoe = 0, fcoe_sof, fcoe_eof; in fnic_rq_cmpl_frame_recv() local
837 &ingress_port, &fcoe, &eop, &sop, in fnic_rq_cmpl_frame_recv()
870 fcoe, fcs_ok, packet_error, in fnic_rq_cmpl_frame_recv()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Dcq_enet_desc.h106 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument
127 *fcoe = (completed_index_flags & CQ_ENET_RQ_DESC_FLAGS_FCOE) ? in cq_enet_rq_desc_dec()
153 if (*fcoe) { in cq_enet_rq_desc_dec()
Denic_main.c1114 u8 fcoe, fcoe_sof, fcoe_fc_crc_ok, fcoe_enc_error, fcoe_eof; in enic_rq_indicate_buf() local
1128 &ingress_port, &fcoe, &eop, &sop, &rss_type, in enic_rq_indicate_buf()
/linux-4.4.14/drivers/scsi/
DMakefile39 obj-$(CONFIG_LIBFCOE) += fcoe/
40 obj-$(CONFIG_FCOE) += fcoe/
43 obj-$(CONFIG_SCSI_BNX2X_FCOE) += libfc/ fcoe/ bnx2fc/
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_scsi.c230 wr->u.fcoe.ctl_pri = 0; in csio_scsi_init_cmd_wr()
231 wr->u.fcoe.cp_en_class = 0; in csio_scsi_init_cmd_wr()
232 wr->u.fcoe.r4_lo[0] = 0; in csio_scsi_init_cmd_wr()
233 wr->u.fcoe.r4_lo[1] = 0; in csio_scsi_init_cmd_wr()
389 wr->u.fcoe.ctl_pri = 0; in csio_scsi_init_read_wr()
390 wr->u.fcoe.cp_en_class = 0; in csio_scsi_init_read_wr()
391 wr->u.fcoe.r3_lo[0] = 0; in csio_scsi_init_read_wr()
392 wr->u.fcoe.r3_lo[1] = 0; in csio_scsi_init_read_wr()
442 wr->u.fcoe.ctl_pri = 0; in csio_scsi_init_write_wr()
443 wr->u.fcoe.cp_en_class = 0; in csio_scsi_init_write_wr()
[all …]
Dt4fw_api_stor.h219 } fcoe; member
245 } fcoe; member
271 } fcoe; member
Dcsio_hw.c1833 SAME_INTF(ri) && SAME_INTF(iscsi) && SAME_INTF(fcoe)) in fw_compatible()
/linux-4.4.14/Documentation/networking/
Di40e.txt74 of this driver doc. Refer to http://www.open-fcoe.org/ for FCoE project
Dixgbe.txt284 http://www.open-fcoe.org/ for FCoE project information and contact
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c958 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_82xx_get_pci_info() local
989 &nic, &fcoe, &iscsi); in qlcnic_82xx_get_pci_info()
1005 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_82xx_get_pci_info()
Dqlcnic_83xx_hw.c2463 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type() argument
2473 (*fcoe)++; in qlcnic_get_pci_func_type()
2492 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local
2516 &nic, &fcoe, &iscsi); in qlcnic_83xx_get_pci_info()
2535 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_83xx_get_pci_info()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_type.h248 bool fcoe; member
Di40e_common.c972 hw->dev_caps.fcoe = (msg->vf_offload_flags & in i40e_vf_parse_hw_config()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c1496 offsetof(struct bnx2x_fw_stats_data, fcoe); in bnx2x_prep_fw_stats_req()
1719 &bp->fw_stats_data->fcoe; in bnx2x_afex_collect_stats()
Dbnx2x.h1378 struct fcoe_statistics_params fcoe; member
Dbnx2x_main.c3432 &bp->fw_stats_data->fcoe; in bnx2x_drv_info_fcoe_stat()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_defs_svc.h682 struct bfa_fcoe_stats_s fcoe; member
Dbfa_svc.c3375 bfa_fcport_fcoe_stats_swap(&ret->fcoe, in __bfa_cb_fcport_stats_get()
3376 &fcport->stats->fcoe); in __bfa_cb_fcport_stats_get()
3377 ret->fcoe.secs_reset = in __bfa_cb_fcport_stats_get()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c119 struct bnx2fc_interface *fcoe = fcoe_ctlr_priv(ctlr); in bnx2fc_fcf_get_vlan_id() local
121 fcf_dev->vlan_id = fcoe->vlan_id; in bnx2fc_fcf_get_vlan_id()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic_defs.h3666 struct xstorm_fcoe_context_section fcoe; member
/linux-4.4.14/
DMAINTAINERS4312 FCOE SUBSYSTEM (libfc, libfcoe, fcoe)
4314 L: fcoe-devel@open-fcoe.org
4318 F: drivers/scsi/fcoe/