Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/scsi/fcoe/
Dfcoe.c291 static int fcoe_interface_setup(struct fcoe_interface *fcoe, in fcoe_interface_setup() argument
294 struct fcoe_ctlr *fip = fcoe_to_ctlr(fcoe); in fcoe_interface_setup()
300 fcoe->netdev = netdev; in fcoe_interface_setup()
319 fcoe->realdev = real_dev; in fcoe_interface_setup()
353 fcoe->fcoe_packet_type.func = fcoe_rcv; in fcoe_interface_setup()
354 fcoe->fcoe_packet_type.type = htons(ETH_P_FCOE); in fcoe_interface_setup()
355 fcoe->fcoe_packet_type.dev = netdev; in fcoe_interface_setup()
356 dev_add_pack(&fcoe->fcoe_packet_type); in fcoe_interface_setup()
358 fcoe->fip_packet_type.func = fcoe_fip_recv; in fcoe_interface_setup()
359 fcoe->fip_packet_type.type = htons(ETH_P_FIP); in fcoe_interface_setup()
[all …]
DMakefile2 obj-$(CONFIG_FCOE) += fcoe.o
/linux-6.6.21/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()
390 struct ixgbe_ring_feature *fcoe; in ixgbe_set_dcb_sriov_queues() local
392 fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_set_dcb_sriov_queues()
[all …]
Dixgbe_dcb_nl.c38 if (up && !(up & BIT(adapter->fcoe.up))) in ixgbe_copy_dcb_cfg()
373 adapter->fcoe.up = ffs(up) - 1; in ixgbe_dcbnl_set_all()
633 if (app_mask & BIT(adapter->fcoe.up)) in ixgbe_dcbnl_ieee_setapp()
636 adapter->fcoe.up = app->priority; in ixgbe_dcbnl_ieee_setapp()
676 if (app_mask & BIT(adapter->fcoe.up)) in ixgbe_dcbnl_ieee_delapp()
679 adapter->fcoe.up = app_mask ? in ixgbe_dcbnl_ieee_delapp()
/linux-6.6.21/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()
/linux-6.6.21/Documentation/scsi/
Dbnx2fc.rst20 eth0.1001-fcoe). Do not delete or disable these interfaces or FCoE operation
26 1. Ensure that fcoe-utils package is installed.
31 a. cd /etc/fcoe
38 3. Ensure that "bnx2fc" is in SUPPORTED_DRIVERS list in /etc/fcoe/config.
40 4. Start fcoe service. (service fcoe start). If Broadcom devices are present in
69 <INTERFACE>.<VLAN>-fcoe interfaces are automatically created.
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-fcoe1 What: /sys/bus/fcoe/
4 Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org
25 What: /sys/bus/fcoe/devices/ctlr_X
28 Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org
29 Description: 'FCoE Controller' instances on the fcoe bus.
80 What: /sys/bus/fcoe/devices/fcf_X
83 Contact: Robert Love <robert.w.love@intel.com>, devel@open-fcoe.org
84 Description: 'FCoE FCF' instances on the fcoe bus. A FCF is a Fibre Channel
138 which is commonly packaged in the fcoe-utils package.
/linux-6.6.21/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()
3903 struct qed_mfw_tlv_fcoe *fcoe = data; in qedf_get_protocol_tlv_data() local
3926 fcoe->qos_pri_set = true; in qedf_get_protocol_tlv_data()
3927 fcoe->qos_pri = 3; /* Hard coded to 3 in driver */ in qedf_get_protocol_tlv_data()
3929 fcoe->ra_tov_set = true; in qedf_get_protocol_tlv_data()
3930 fcoe->ra_tov = lport->r_a_tov; in qedf_get_protocol_tlv_data()
3932 fcoe->ed_tov_set = true; in qedf_get_protocol_tlv_data()
3933 fcoe->ed_tov = lport->e_d_tov; in qedf_get_protocol_tlv_data()
3935 fcoe->npiv_state_set = true; in qedf_get_protocol_tlv_data()
[all …]
/linux-6.6.21/drivers/scsi/fnic/
Dcq_enet_desc.h83 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument
100 *fcoe = (completed_index_flags & CQ_ENET_RQ_DESC_FLAGS_FCOE) ? in cq_enet_rq_desc_dec()
123 if (*fcoe) { in cq_enet_rq_desc_dec()
Dfnic_fcs.c825 u8 fcoe = 0, fcoe_sof, fcoe_eof; in fnic_rq_cmpl_frame_recv() local
860 &ingress_port, &fcoe, &eop, &sop, in fnic_rq_cmpl_frame_recv()
892 fcoe, fcs_ok, packet_error, in fnic_rq_cmpl_frame_recv()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Dcq_enet_desc.h93 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument
114 *fcoe = (completed_index_flags & CQ_ENET_RQ_DESC_FLAGS_FCOE) ? in cq_enet_rq_desc_dec()
140 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()
/linux-6.6.21/drivers/scsi/
DMakefile40 obj-$(CONFIG_LIBFCOE) += fcoe/
41 obj-$(CONFIG_FCOE) += fcoe/
44 obj-$(CONFIG_SCSI_BNX2X_FCOE) += libfc/ fcoe/ bnx2fc/
/linux-6.6.21/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
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c748 cdev->protocol_ops.fcoe = ops; in qed_register_fcoe_ops()
1013 if (cdev->protocol_ops.fcoe && cdev->ops_cookie) { in qed_get_protocol_stats_fcoe()
1014 struct qed_fcoe_cb_ops *ops = cdev->protocol_ops.fcoe; in qed_get_protocol_stats_fcoe()
Dqed_mcp.h260 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
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_type.h104 bool fcoe; member
/linux-6.6.21/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.c2469 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type() argument
2479 (*fcoe)++; in qlcnic_get_pci_func_type()
2498 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local
2522 &nic, &fcoe, &iscsi); in qlcnic_83xx_get_pci_info()
2541 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_83xx_get_pci_info()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_type.h267 bool fcoe; member

12