add MLX5 FreeBSD support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest41 patches 2 repliesIn review
- v119 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/41 | common/mlx5: add glue files for FreeBSDdrivers/ drivers/ | +1879 | 0 replies | |
| 2/41 | common/mlx5: add memory APIsdrivers/ | +46 | 0 replies | |
| 3/41 | common/mlx5: add FreeBSD getter functionsdrivers/ | +244 | 0 replies | |
| 4/41 | common/mlx5: add mlx5_glue_constructordrivers/ | +60 | 0 replies | |
| 5/41 | common/mlx5: add meson support for FreeBSDdrivers/ drivers/ | +156 | 0 replies | |
| 6/41 | net/mlx5: implement device attribute getterdrivers/ | +87 | 0 replies | |
| 7/41 | common/mlx5: retrieve the device index and namedrivers/ drivers/ | +50 | 0 replies | |
| 8/41 | common/mlx5: derive PCI addr from device pathdrivers/ | +48 | 0 replies | |
| 9/41 | net/mlx5: get the FreeBSD interface namedrivers/ | +33 | 0 replies | |
| 10/41 | net/mlx5: socket for inter-process communicationdrivers/ drivers/ | +271 | 0 replies | |
| 11/41 | common/mlx5: add mr reg/dereg APIdrivers/ drivers/ | +74 | 0 replies | |
| 12/41 | net/mlx5: add helpers for MR & HW operationsdrivers/ drivers/ | +1226 | 0 replies | |
| 13/41 | net/mlx5: define MR callbacksdrivers/ | +17 | 0 replies | |
| 14/41 | net/mlx5: add open IB device routinesdrivers/ | +155 | 0 replies | |
| 15/41 | common/mlx5: add PF_INET socket interfacedrivers/ drivers/ drivers/ | +358 | 0 replies | |
| 16/41 | common/mlx5: add VLAN vmwa structuresdrivers/ | +18 | 0 replies | |
| 17/41 | net/mlx5: add vlan vmwa stubdrivers/ | +84 | 0 replies | |
| 18/41 | net/mlx5: add get MACdrivers/ | +88 | 0 replies | |
| 19/41 | net/mlx5: add get MTUdrivers/ | +23 | 0 replies | |
| 20/41 | net/mlx5: add OS MAC routinesdrivers/ | +105 | 0 replies | |
| 21/41 | net/mlx5: add set MTU routinedrivers/ | +19 | 0 replies | |
| 22/41 | net/mlx5: add link state callbacksdrivers/ | +56 | 0 replies | |
| 23/41 | net/mlx5: add link update callbackdrivers/ | +175 | 0 replies | |
| 24/41 | net/mlx5: read device clockdrivers/ | +31 | 0 replies | |
| 25/41 | net/mlx5: handle async device eventsdrivers/ drivers/ | +301 | 0 replies | |
| 26/41 | net/mlx5: add callback to check dev is removeddrivers/ | +20 | 0 replies | |
| 27/41 | net/mlx5: add flow control callbacksdrivers/ | +46 | 0 replies | |
| 28/41 | net/mlx5: add module callbacksdrivers/ | +39 | 0 replies | |
| 29/41 | net/mlx5: added stats supportdrivers/ | +217 | 0 replies | |
| 30/41 | net/mlx5: add stubs for bondingdrivers/ | +42 | 0 replies | |
| 31/41 | net/mlx5: add stub to read hw countersdrivers/ | +24 | 0 replies | |
| 32/41 | net/mlx5: add multiprocess supportdrivers/ | +305 | 0 replies | |
| 33/41 | net/mlx5: add initialization routinesdrivers/ | +139 | 0 replies | |
| 34/41 | net/mlx5: add flow workspace APIsdrivers/ drivers/ | +522 | 0 replies | |
| 35/41 | net/mlx5: add pci probe and dev spawn supportdrivers/ | +1835 | 0 replies | |
| 36/41 | net/mlx5: set file descriptor as non-blockingdrivers/ | +21 | 0 replies | |
| 37/41 | net/mlx5: add routine to extract pdndrivers/ | +35 | 0 replies | |
| 38/41 | net/mlx5: set promisc and allmulti modesdrivers/ | +52 | 0 replies | |
| 39/41 | common/mlx5: add stub for mlx5_translate_port_namedrivers/ | +20 | 0 replies | |
| 40/41 | net/mlx5: add meson support for FreeBSDdrivers/ drivers/ | +24 | 0 replies | |
| 41/41 | doc/mlx5: update docs with FreeBSD informationdoc/ | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [dpdk-dev] [PATCH v2 00/41] add MLX5 FreeBSD support
This patch series introduces FreeBSD OS support for MLX5 PMD
Currently there is an ongoing review of FreeBSD OFED drivers and RDMA-core libraries. Their status can be tracked at
https://reviews.freebsd.org/p/vag.singh_oneconvergence.com
Only MLX5 SRIOV interface is supported along with the following features:
- Hypervisors: KVM, ESXi and Azure/HyperV
- Multiple Tx and Rx queues
- Support for scattered Tx and Rx frames
- RSS
- VLAN filtering, stripping and insertion
- RX CRC stripping configuration
- Promiscuous and Multicast mode
- Statistics query including Basic, Extended, and per queue.
- Configurable MTU and MAC
- Jumbo frame support
- Trust mode support
- Vxlan
- QoS
- Flow steering
Tested on :
MT27710 Family [ConnectX-4 Lx]
MT27710 Family [ConnectX-4 Lx Virtual Function] (Azure) MT27700 Family [ConnectX-4]
MT27800 Family [ConnectX-5]
MT2894 Family [ConnectX-6 Lx]
MT28908 Family [ConnectX-6]
MT2892 Family [ConnectX-6 Dx]
v1 : Initial submission
v2 : Addressed community comments
Srikanth Kaka (41):
common/mlx5: add glue files for FreeBSD common/mlx5: add memory APIs
common/mlx5: add FreeBSD getter functions common/mlx5: add mlx5_glue_constructor common/mlx5: add meson support for FreeBSD net/mlx5: implement device attribute getter common/mlx5: retrieve the device index and name common/mlx5: derive PCI addr from device path net/mlx5: get the FreeBSD interface name net/mlx5: socket for inter-process communication common/mlx5: add mr reg/dereg API net/mlx5: add helpers for MR & HW operations net/mlx5: define MR callbacks
net/mlx5: add open IB device routines common/mlx5: add PF_INET socket interface common/mlx5: add VLAN vmwa structures net/mlx5: add vlan vmwa stub
net/mlx5: add get MAC
net/mlx5: add get MTU
net/mlx5: add OS MAC routines
net/mlx5: add set MTU routine
net/mlx5: add link state callbacks net/mlx5: add link update callback net/mlx5: read device clock
net/mlx5: handle async device events net/mlx5: add callback to check dev is removed net/mlx5: add flow control callbacks net/mlx5: add module callbacks
net/mlx5: added stats support
net/mlx5: add stubs for bonding
net/mlx5: add stub to read hw counters net/mlx5: add multiprocess support net/mlx5: add initialization routines net/mlx5: add flow workspace APIs net/mlx5: add pci probe and dev spawn support net/mlx5: set file descriptor as non-blocking net/mlx5: add routine to extract pdn net/mlx5: set promisc and allmulti modes common/mlx5: add stub for mlx5_translate_port_name net/mlx5: add meson support for FreeBSD doc/mlx5: update docs with FreeBSD information
doc/guides/nics/mlx5.rst | 30 + drivers/common/mlx5/freebsd/meson.build | 149 + drivers/common/mlx5/freebsd/mlx5_common_os.c | 172 ++ drivers/common/mlx5/freebsd/mlx5_common_os.h | 296 ++ .../common/mlx5/freebsd/mlx5_common_verbs.c | 73 + drivers/common/mlx5/freebsd/mlx5_glue.c | 1505 ++++++++++ drivers/common/mlx5/freebsd/mlx5_glue.h | 374 +++ drivers/common/mlx5/freebsd/mlx5_inet.c | 308 ++ drivers/common/mlx5/freebsd/mlx5_inet.h | 67 + drivers/common/mlx5/meson.build | 12 +- drivers/net/mlx5/freebsd/meson.build | 14 + drivers/net/mlx5/freebsd/mlx5_ethdev_os.c | 1005 +++++++ drivers/net/mlx5/freebsd/mlx5_flow_os.c | 38 + drivers/net/mlx5/freebsd/mlx5_flow_os.h | 484 ++++ drivers/net/mlx5/freebsd/mlx5_mp_os.c | 305 ++ drivers/net/mlx5/freebsd/mlx5_os.c | 2554 +++++++++++++++++ drivers/net/mlx5/freebsd/mlx5_os.h | 22 + drivers/net/mlx5/freebsd/mlx5_socket.c | 249 ++ drivers/net/mlx5/freebsd/mlx5_verbs.c | 1208 ++++++++ drivers/net/mlx5/freebsd/mlx5_verbs.h | 18 + drivers/net/mlx5/freebsd/mlx5_vlan_os.c | 84 + drivers/net/mlx5/meson.build | 14 +- 22 files changed, 8974 insertions(+), 7 deletions(-) create mode 100644 drivers/common/mlx5/freebsd/meson.build create mode 100644 drivers/common/mlx5/freebsd/mlx5_common_os.c create mode 100644 drivers/common/mlx5/freebsd/mlx5_common_os.h create mode 100644 drivers/common/mlx5/freebsd/mlx5_common_verbs.c create mode 100644 drivers/common/mlx5/freebsd/mlx5_glue.c create mode 100644 drivers/common/mlx5/freebsd/mlx5_glue.h create mode 100644 drivers/common/mlx5/freebsd/mlx5_inet.c create mode 100644 drivers/common/mlx5/freebsd/mlx5_inet.h create mode 100644 drivers/net/mlx5/freebsd/meson.build create mode 100644 drivers/net/mlx5/freebsd/mlx5_ethdev_os.c create mode 100644 drivers/net/mlx5/freebsd/mlx5_flow_os.c create mode 100644 drivers/net/mlx5/freebsd/mlx5_flow_os.h create mode 100644 drivers/net/mlx5/freebsd/mlx5_mp_os.c create mode 100644 drivers/net/mlx5/freebsd/mlx5_os.c create mode 100644 drivers/net/mlx5/freebsd/mlx5_os.h create mode 100644 drivers/net/mlx5/freebsd/mlx5_socket.c create mode 100644 drivers/net/mlx5/freebsd/mlx5_verbs.c create mode 100644 drivers/net/mlx5/freebsd/mlx5_verbs.h create mode 100644 drivers/net/mlx5/freebsd/mlx5_vlan_os.c
Signature · 1 line
2.30.2