Home
last modified time | relevance | path

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

12

/drivers/scsi/fcoe/
Dfcoe.c290 static int fcoe_interface_setup(struct fcoe_interface *fcoe, in fcoe_interface_setup() argument
293 struct fcoe_ctlr *fip = fcoe_to_ctlr(fcoe); in fcoe_interface_setup()
299 fcoe->netdev = netdev; in fcoe_interface_setup()
318 fcoe->realdev = real_dev; in fcoe_interface_setup()
352 fcoe->fcoe_packet_type.func = fcoe_rcv; in fcoe_interface_setup()
353 fcoe->fcoe_packet_type.type = htons(ETH_P_FCOE); in fcoe_interface_setup()
354 fcoe->fcoe_packet_type.dev = netdev; in fcoe_interface_setup()
355 dev_add_pack(&fcoe->fcoe_packet_type); in fcoe_interface_setup()
357 fcoe->fip_packet_type.func = fcoe_fip_recv; in fcoe_interface_setup()
358 fcoe->fip_packet_type.type = htons(ETH_P_FIP); in fcoe_interface_setup()
[all …]
DMakefile2 obj-$(CONFIG_FCOE) += fcoe.o
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c47 struct ixgbe_fcoe *fcoe; in ixgbe_fcoe_ddp_put() local
60 fcoe = &adapter->fcoe; in ixgbe_fcoe_ddp_put()
61 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_put()
91 spin_lock_bh(&fcoe->lock); in ixgbe_fcoe_ddp_put()
103 spin_unlock_bh(&fcoe->lock); in ixgbe_fcoe_ddp_put()
139 struct ixgbe_fcoe *fcoe; in ixgbe_fcoe_ddp_setup() local
167 fcoe = &adapter->fcoe; in ixgbe_fcoe_ddp_setup()
168 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_setup()
177 if (!fcoe->ddp_pool) { in ixgbe_fcoe_ddp_setup()
182 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, get_cpu()); in ixgbe_fcoe_ddp_setup()
[all …]
Dixgbe_lib.c20 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_dcb_sriov() local
61 if (fcoe->offset < tcs) in ixgbe_cache_ring_dcb_sriov()
65 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov()
70 for (i = fcoe->offset; i < adapter->num_rx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
78 for (i = fcoe->offset; i < adapter->num_tx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
186 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_sriov() local
203 if (fcoe->offset && (i > fcoe->offset)) in ixgbe_cache_ring_sriov()
227 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.c40 if (up && !(up & BIT(adapter->fcoe.up))) in ixgbe_copy_dcb_cfg()
375 adapter->fcoe.up = ffs(up) - 1; in ixgbe_dcbnl_set_all()
635 if (app_mask & BIT(adapter->fcoe.up)) in ixgbe_dcbnl_ieee_setapp()
638 adapter->fcoe.up = app->priority; in ixgbe_dcbnl_ieee_setapp()
678 if (app_mask & BIT(adapter->fcoe.up)) in ixgbe_dcbnl_ieee_delapp()
681 adapter->fcoe.up = app_mask ? in ixgbe_dcbnl_ieee_delapp()
Dixgbe.h705 struct ixgbe_fcoe fcoe; member
/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_filter.c259 if (unsupported(fconf, FCOE_F, fs->val.fcoe, fs->mask.fcoe) || in validate_filter()
891 FW_FILTER_WR_FCOE_V(f->fs.val.fcoe) | in set_filter_wr()
892 FW_FILTER_WR_FCOEM_V(f->fs.mask.fcoe) | in set_filter_wr()
1064 if (fs->val.fcoe && !fs->mask.fcoe) in fill_default_mask()
1065 fs->mask.fcoe |= ~0; in fill_default_mask()
1196 ntuple_mask |= (u64)fs->mask.fcoe << tp->fcoe_shift; in is_filter_exact_match()
1289 if (tp->fcoe_shift >= 0 && fs->mask.fcoe) in hash_filter_ntuple()
1290 ntuple |= (u64)(fs->val.fcoe) << tp->fcoe_shift; in hash_filter_ntuple()
Dcxgb4.h674 struct cxgb_fcoe fcoe; member
1347 uint32_t fcoe:FCOE_BITWIDTH; /* FCoE packet */ member
/drivers/scsi/qedf/
Dqedf_main.c642 get->operational.app_prio.fcoe); in qedf_dcbx_handler()
661 tmp_prio = get->operational.app_prio.fcoe; in qedf_dcbx_handler()
3908 struct qed_mfw_tlv_fcoe *fcoe = data; in qedf_get_protocol_tlv_data() local
3931 fcoe->qos_pri_set = true; in qedf_get_protocol_tlv_data()
3932 fcoe->qos_pri = 3; /* Hard coded to 3 in driver */ in qedf_get_protocol_tlv_data()
3934 fcoe->ra_tov_set = true; in qedf_get_protocol_tlv_data()
3935 fcoe->ra_tov = lport->r_a_tov; in qedf_get_protocol_tlv_data()
3937 fcoe->ed_tov_set = true; in qedf_get_protocol_tlv_data()
3938 fcoe->ed_tov = lport->e_d_tov; in qedf_get_protocol_tlv_data()
3940 fcoe->npiv_state_set = true; in qedf_get_protocol_tlv_data()
[all …]
/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.c837 u8 fcoe = 0, fcoe_sof, fcoe_eof; in fnic_rq_cmpl_frame_recv() local
872 &ingress_port, &fcoe, &eop, &sop, in fnic_rq_cmpl_frame_recv()
904 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()
Denic_main.c1306 u8 fcoe, fcoe_sof, fcoe_fc_crc_ok, fcoe_enc_error, fcoe_eof; in enic_rq_indicate_buf() local
1321 &ingress_port, &fcoe, &eop, &sop, &rss_type, in enic_rq_indicate_buf()
1379 if (fcoe) { in enic_rq_indicate_buf()
/drivers/scsi/
DMakefile40 obj-$(CONFIG_LIBFCOE) += fcoe/
41 obj-$(CONFIG_FCOE) += fcoe/
44 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/qed/
Dqed_fcoe.c749 cdev->protocol_ops.fcoe = ops; in qed_register_fcoe_ops()
1014 if (cdev->protocol_ops.fcoe && cdev->ops_cookie) { in qed_get_protocol_stats_fcoe()
1015 struct qed_fcoe_cb_ops *ops = cdev->protocol_ops.fcoe; in qed_get_protocol_stats_fcoe()
Dqed_mcp.h258 struct qed_mfw_tlv_fcoe fcoe; member
Dqed_dcbx.c424 p_prio->fcoe = QED_DCBX_INVALID_PRIORITY; in qed_dcbx_get_priority_info()
442 p_prio->fcoe = p_results->arr[DCBX_PROTOCOL_FCOE].priority; in qed_dcbx_get_priority_info()
450 p_prio->iscsi, p_prio->roce, p_prio->roce_v2, p_prio->fcoe, in qed_dcbx_get_priority_info()
Dqed.h821 struct qed_fcoe_cb_ops *fcoe; member
/drivers/net/ethernet/intel/iavf/
Diavf_type.h104 bool fcoe; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c965 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_82xx_get_pci_info() local
996 &nic, &fcoe, &iscsi); in qlcnic_82xx_get_pci_info()
1012 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/i40e/
Di40e_type.h268 bool fcoe; member

12