Home
last modified time | relevance | path

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

12

/Linux-v5.15/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
/Linux-v5.15/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.h703 struct ixgbe_fcoe fcoe; member
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/scsi/qedf/
Dqedf_main.c641 get->operational.app_prio.fcoe); in qedf_dcbx_handler()
660 tmp_prio = get->operational.app_prio.fcoe; in qedf_dcbx_handler()
3883 struct qed_mfw_tlv_fcoe *fcoe = data; in qedf_get_protocol_tlv_data() local
3906 fcoe->qos_pri_set = true; in qedf_get_protocol_tlv_data()
3907 fcoe->qos_pri = 3; /* Hard coded to 3 in driver */ in qedf_get_protocol_tlv_data()
3909 fcoe->ra_tov_set = true; in qedf_get_protocol_tlv_data()
3910 fcoe->ra_tov = lport->r_a_tov; in qedf_get_protocol_tlv_data()
3912 fcoe->ed_tov_set = true; in qedf_get_protocol_tlv_data()
3913 fcoe->ed_tov = lport->e_d_tov; in qedf_get_protocol_tlv_data()
3915 fcoe->npiv_state_set = true; in qedf_get_protocol_tlv_data()
[all …]
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/drivers/scsi/
DMakefile40 obj-$(CONFIG_LIBFCOE) += fcoe/
41 obj-$(CONFIG_FCOE) += fcoe/
44 obj-$(CONFIG_SCSI_BNX2X_FCOE) += libfc/ fcoe/ bnx2fc/
/Linux-v5.15/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-v5.15/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c748 cdev->protocol_ops.fcoe = ops; in qed_register_fcoe_ops()
1005 if (cdev->protocol_ops.fcoe && cdev->ops_cookie) { in qed_get_protocol_stats_fcoe()
1006 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
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_type.h104 bool fcoe; member
/Linux-v5.15/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c959 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_82xx_get_pci_info() local
990 &nic, &fcoe, &iscsi); in qlcnic_82xx_get_pci_info()
1006 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_82xx_get_pci_info()
Dqlcnic_83xx_hw.c2464 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type() argument
2474 (*fcoe)++; in qlcnic_get_pci_func_type()
2493 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local
2517 &nic, &fcoe, &iscsi); in qlcnic_83xx_get_pci_info()
2536 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_83xx_get_pci_info()

12