numam-dpdk/drivers/net/sfc
Gautam Dawar 05fa170a2b net/sfc/base: support data path with EVB module
ef10_nic_init() allocates a vAdaptor for the physical port in current
flow. In case of SR-IOV, this vAdaptor must be created for the PF as the
vSwitch is allocated on the physical port. So, the call to
efx_mcdi_vadaptor_alloc() should be avoided in ef10_nic_init() in SR-IOV
flow. To achieve this, for SR-IOV use case, the vSwitch is created
before NIC initialization and its handle is used to prevent vAdaptor
allocation in ef10_nic_init(). This approach has been taken to minimize
the changes in NIC initialization flow.

This is also the case with Linux driver where vSwitch creation happens
before NIC initialization.

Also, when DMA queues need to be allocated for Tx/Rx functionality
(MC_CMD_INIT_RXQ / MC_CMD_INIT_TXQ), the correct vPort is selected
based on efx_vswitch_t property of efx_nic_t structure - vport
corresponding to PF in case of SR-IOV use case and EVB_PORT_ID_ASSIGNED
for physical port.

Signed-off-by: Gautam Dawar <gdawar@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-06-20 23:42:04 +02:00
..
base net/sfc/base: support data path with EVB module 2019-06-20 23:42:04 +02:00
efsys.h net/sfc/base: introduce EVB module for SR-IOV 2019-06-20 23:42:04 +02:00
Makefile net/sfc/base: introduce EVB module for SR-IOV 2019-06-20 23:42:04 +02:00
meson.build build: set RTE_ARCH_64 based on pointer size 2019-02-26 18:34:28 +01:00
rte_pmd_sfc_version.map net/sfc: rename version map file 2018-02-05 13:14:36 +01:00
sfc_debug.h net/sfc: start to factor out multi-process shared data 2019-02-07 16:06:30 +01:00
sfc_dp_rx.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_dp_tx.h net/sfc: advertise offload capabilities by Tx datapaths 2019-06-13 23:54:29 +09:00
sfc_dp.c net/sfc: support driver-wide dynamic logging 2018-03-30 14:08:44 +02:00
sfc_dp.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ef10_essb_rx.c net/sfc: advertise offload capabilities by Rx datapaths 2019-06-13 23:54:29 +09:00
sfc_ef10_rx_ev.h net/sfc: handle unknown L3 packet class in EF10 event parser 2018-07-23 23:55:26 +02:00
sfc_ef10_rx.c net/sfc: support Rx interrupts for ef10 datapath 2019-06-14 00:01:06 +09:00
sfc_ef10_tx.c net/sfc: advertise offload capabilities by Tx datapaths 2019-06-13 23:54:29 +09:00
sfc_ef10.h net/sfc: support Rx interrupts for ef10 datapath 2019-06-14 00:01:06 +09:00
sfc_ethdev.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_ev.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_ev.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_filter.c net/sfc: fix filter exceptions logic 2018-07-23 23:55:26 +02:00
sfc_filter.h net/sfc: fix filter exceptions logic 2018-07-23 23:55:26 +02:00
sfc_flow.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
sfc_flow.h net/sfc: remove conditional compilation for RSS 2018-04-27 18:00:55 +01:00
sfc_intr.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_kvargs.c net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_kvargs.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_log.h net/sfc: make main logging macro reusable in secondary 2019-02-07 16:06:30 +01:00
sfc_mcdi.c net/sfc: start to factor out multi-process shared data 2019-02-07 16:06:30 +01:00
sfc_port.c net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
sfc_rx.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_rx.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc_tso.c net: add rte prefix to TCP structure 2019-05-24 13:34:46 +02:00
sfc_tso.h net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
sfc_tweak.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_tx.c net/sfc: advertise offload capabilities by Tx datapaths 2019-06-13 23:54:29 +09:00
sfc_tx.h net/sfc: remove TxQ control from shared TxQ info 2019-02-07 16:06:30 +01:00
sfc.c net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00
sfc.h net/sfc: support Rx interrupts for efx datapath 2019-06-14 00:01:00 +09:00