/drivers/scsi/fcoe/ |
D | fcoe.c | 290 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() 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 …]
|
D | Makefile | 2 obj-$(CONFIG_FCOE) += fcoe.o
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.c | 46 struct ixgbe_fcoe *fcoe; in ixgbe_fcoe_ddp_put() local 59 fcoe = &adapter->fcoe; in ixgbe_fcoe_ddp_put() 60 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_put() 90 spin_lock_bh(&fcoe->lock); in ixgbe_fcoe_ddp_put() 102 spin_unlock_bh(&fcoe->lock); in ixgbe_fcoe_ddp_put() 138 struct ixgbe_fcoe *fcoe; in ixgbe_fcoe_ddp_setup() local 166 fcoe = &adapter->fcoe; in ixgbe_fcoe_ddp_setup() 167 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_setup() 176 if (!fcoe->ddp_pool) { in ixgbe_fcoe_ddp_setup() 181 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, get_cpu()); in ixgbe_fcoe_ddp_setup() [all …]
|
D | ixgbe_lib.c | 20 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() 185 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_sriov() local 202 if (fcoe->offset && (i > fcoe->offset)) in ixgbe_cache_ring_sriov() 226 if (fcoe->offset && (i > fcoe->offset)) in ixgbe_cache_ring_sriov() 386 struct ixgbe_ring_feature *fcoe; in ixgbe_set_dcb_sriov_queues() local 388 fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_set_dcb_sriov_queues() [all …]
|
D | ixgbe_dcb_nl.c | 40 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()
|
D | ixgbe.h | 706 struct ixgbe_fcoe fcoe; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_fcoe.c | 72 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()
|
D | cxgb4_filter.c | 255 if (unsupported(fconf, FCOE_F, fs->val.fcoe, fs->mask.fcoe) || in validate_filter() 635 FW_FILTER_WR_FCOE_V(f->fs.val.fcoe) | in set_filter_wr() 636 FW_FILTER_WR_FCOEM_V(f->fs.mask.fcoe) | in set_filter_wr() 791 if (fs->val.fcoe && !fs->mask.fcoe) in fill_default_mask() 792 fs->mask.fcoe |= ~0; in fill_default_mask() 912 ntuple_mask |= (u64)fs->mask.fcoe << tp->fcoe_shift; in is_filter_exact_match() 1005 if (tp->fcoe_shift >= 0 && fs->mask.fcoe) in hash_filter_ntuple() 1006 ntuple |= (u64)(fs->val.fcoe) << tp->fcoe_shift; in hash_filter_ntuple()
|
D | cxgb4.h | 591 struct cxgb_fcoe fcoe; member 1151 uint32_t fcoe:FCOE_BITWIDTH; /* FCoE packet */ member
|
D | sge.c | 1186 const struct cxgb_fcoe *fcoe = &pi->fcoe; in cxgb_fcoe_offload() local 1188 if (!(fcoe->flags & CXGB_FCOE_ENABLED)) in cxgb_fcoe_offload() 3067 (pi->fcoe.flags & CXGB_FCOE_ENABLED)) { in t4_ethrx_handler()
|
/drivers/scsi/qedf/ |
D | qedf_main.c | 577 get->operational.app_prio.fcoe); in qedf_dcbx_handler() 596 tmp_prio = get->operational.app_prio.fcoe; in qedf_dcbx_handler() 3689 struct qed_mfw_tlv_fcoe *fcoe = data; in qedf_get_protocol_tlv_data() local 3698 fcoe->qos_pri_set = true; in qedf_get_protocol_tlv_data() 3699 fcoe->qos_pri = 3; /* Hard coded to 3 in driver */ in qedf_get_protocol_tlv_data() 3701 fcoe->ra_tov_set = true; in qedf_get_protocol_tlv_data() 3702 fcoe->ra_tov = lport->r_a_tov; in qedf_get_protocol_tlv_data() 3704 fcoe->ed_tov_set = true; in qedf_get_protocol_tlv_data() 3705 fcoe->ed_tov = lport->e_d_tov; in qedf_get_protocol_tlv_data() 3707 fcoe->npiv_state_set = true; in qedf_get_protocol_tlv_data() [all …]
|
/drivers/scsi/fnic/ |
D | cq_enet_desc.h | 95 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()
|
D | fnic_fcs.c | 842 u8 fcoe = 0, fcoe_sof, fcoe_eof; in fnic_rq_cmpl_frame_recv() local 878 &ingress_port, &fcoe, &eop, &sop, in fnic_rq_cmpl_frame_recv() 911 fcoe, fcs_ok, packet_error, in fnic_rq_cmpl_frame_recv()
|
/drivers/net/ethernet/cisco/enic/ |
D | cq_enet_desc.h | 106 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()
|
D | enic_main.c | 1338 u8 fcoe, fcoe_sof, fcoe_fc_crc_ok, fcoe_enc_error, fcoe_eof; in enic_rq_indicate_buf() local 1353 &ingress_port, &fcoe, &eop, &sop, &rss_type, in enic_rq_indicate_buf() 1411 if (fcoe) { in enic_rq_indicate_buf()
|
/drivers/scsi/ |
D | Makefile | 41 obj-$(CONFIG_LIBFCOE) += fcoe/ 42 obj-$(CONFIG_FCOE) += fcoe/ 45 obj-$(CONFIG_SCSI_BNX2X_FCOE) += libfc/ fcoe/ bnx2fc/
|
/drivers/scsi/csiostor/ |
D | csio_scsi.c | 230 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 …]
|
D | t4fw_api_stor.h | 219 } fcoe; member 245 } fcoe; member 271 } fcoe; member
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_fcoe.c | 770 cdev->protocol_ops.fcoe = ops; in qed_register_fcoe_ops() 1027 if (cdev->protocol_ops.fcoe && cdev->ops_cookie) { in qed_get_protocol_stats_fcoe() 1028 struct qed_fcoe_cb_ops *ops = cdev->protocol_ops.fcoe; in qed_get_protocol_stats_fcoe()
|
D | qed_mcp.h | 250 struct qed_mfw_tlv_fcoe fcoe; member
|
D | qed.h | 848 struct qed_fcoe_cb_ops *fcoe; member
|
D | qed_dcbx.c | 450 p_prio->fcoe = QED_DCBX_INVALID_PRIORITY; in qed_dcbx_get_priority_info() 468 p_prio->fcoe = p_results->arr[DCBX_PROTOCOL_FCOE].priority; in qed_dcbx_get_priority_info() 476 p_prio->iscsi, p_prio->roce, p_prio->roce_v2, p_prio->fcoe, in qed_dcbx_get_priority_info()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_type.h | 104 bool fcoe; member
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 960 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_82xx_get_pci_info() local 991 &nic, &fcoe, &iscsi); in qlcnic_82xx_get_pci_info() 1007 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_82xx_get_pci_info()
|
D | qlcnic_83xx_hw.c | 2466 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type() argument 2476 (*fcoe)++; in qlcnic_get_pci_func_type() 2495 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local 2519 &nic, &fcoe, &iscsi); in qlcnic_83xx_get_pci_info() 2538 ahw->total_pci_func = nic + fcoe + iscsi; in qlcnic_83xx_get_pci_info()
|