Home
last modified time | relevance | path

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

12

/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
/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()
388 struct ixgbe_ring_feature *fcoe; in ixgbe_set_dcb_sriov_queues() local
390 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.c4469 (pb == netdev_get_prio_tc_map(dev, adapter->fcoe.up))) in ixgbe_lpbthresh()
5351 adapter->fcoe.up = IXGBE_FCOE_DEFTC; in ixgbe_sw_init()
5375 adapter->fcoe.up = 0; in ixgbe_sw_init()
5403 spin_lock_init(&adapter->fcoe.lock); in ixgbe_sw_init()
6221 if (adapter->fcoe.ddp_pool) { in ixgbe_update_stats()
6222 struct ixgbe_fcoe *fcoe = &adapter->fcoe; in ixgbe_update_stats() local
6227 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, cpu); in ixgbe_update_stats()
/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.c2885 p->fcoe = true; in i40e_parse_discover_capabilities()
2966 if (p->fcoe) in i40e_parse_discover_capabilities()
2973 p->fcoe = false; in i40e_parse_discover_capabilities()
/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()
/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()
/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()
/drivers/scsi/
DMakefile39 obj-$(CONFIG_LIBFCOE) += fcoe/
40 obj-$(CONFIG_FCOE) += fcoe/
43 obj-$(CONFIG_SCSI_BNX2X_FCOE) += libfc/ fcoe/ bnx2fc/
/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
/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.c2470 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type() argument
2480 (*fcoe)++; in qlcnic_get_pci_func_type()
2499 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local
2523 &nic, &fcoe, &iscsi); in qlcnic_83xx_get_pci_info()
2542 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_83xx_get_pci_info()
/drivers/net/ethernet/intel/i40evf/
Di40e_type.h248 bool fcoe; member
/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()
/drivers/scsi/bfa/
Dbfa_defs_svc.h682 struct bfa_fcoe_stats_s fcoe; member

12