numam-dpdk/drivers/common/mlx5
Ophir Munk 93f4ece91a net/mlx5: spawn ethdev ports on Windows
This commit implements mlx5_dev_spawn() API which allocates an eth
device (struct rte_eth_dev) for each PCI device. When working with
representors virtual functions (as in Linux), one PCI device may spawn
several eth devices: the master device for the main physical function
(PF) and several representors for the virtual functions (VFs).  However,
currently Windows does not work in switch dev mode, therefore, no VFs
are created and no representors are spawned. In this case one eth device
is created per one PCI main port.  In addition to device creation - the
device configuration must be correctly set. The device arguments
(devargs - set by the user) are parsed but they may be overridden by
Windows limitations or hardware configurations. Some associated network
parameters are stored in eth device (e.g. ifindex, MAC address, MTU) and
some callback (e.g. burst functions) are set.

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-01-08 16:03:08 +01:00
..
linux common/mlx5: wrap event channel functions per OS 2021-01-08 16:03:07 +01:00
windows net/mlx5: spawn ethdev ports on Windows 2021-01-08 16:03:08 +01:00
meson.build build: standardize component names and defines 2020-10-19 22:15:34 +02:00
mlx5_common_mp.c common/mlx5: convert control path memory to unified malloc 2020-07-21 15:46:21 +02:00
mlx5_common_mp.h net/mlx5: add queue start and stop 2020-07-21 15:46:30 +02:00
mlx5_common_mr.c common/mlx5: free MR resource on device DMA unmap 2020-11-13 16:26:54 +01:00
mlx5_common_mr.h common/mlx5: add reg/dereg MR on Windows 2021-01-08 16:03:07 +01:00
mlx5_common_pci.c common/mlx5: fix PCI driver name 2020-11-03 23:35:03 +01:00
mlx5_common_pci.h common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00
mlx5_common_utils.h common/mlx5: introduce common library 2020-02-05 09:51:20 +01:00
mlx5_common.c net/mlx5: wrap glue reg/dereg UMEM per OS 2021-01-08 16:03:07 +01:00
mlx5_common.h common/mlx5: fix name for ConnectX VF device ID 2020-11-20 21:10:05 +01:00
mlx5_devx_cmds.c common/mlx5: add DevX PD allocation command 2021-01-08 16:03:07 +01:00
mlx5_devx_cmds.h common/mlx5: include compatibility header file 2021-01-08 16:03:07 +01:00
mlx5_malloc.c common/mlx5: wrap memory allocation on Linux 2021-01-08 16:03:07 +01:00
mlx5_malloc.h common/mlx5: fix aligned malloc 2020-09-18 18:55:11 +02:00
mlx5_prm.h net/mlx5: support clock read on Windows 2021-01-08 16:03:08 +01:00
rte_common_mlx5_exports.def common/mlx5: add reg/dereg MR on Windows 2021-01-08 16:03:07 +01:00
version.map common/mlx5: add DevX PD allocation command 2021-01-08 16:03:07 +01:00