Skip to content

mlx5 Windows support - part #5

Ophir Munk dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest72 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/72mlx5: fix relaxed ordering DevX flowdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/net/mlx5/linux/mlx5_os.c +4 more+22 -13140 replies
2/72net/mlx5: fix flow sample definitionsdrivers/net/mlx5/mlx5_flow_dv.c+37 -00 replies
3/72net/mlx5: fix folding constant array errordrivers/net/mlx5/mlx5_flow.c+7 -60 replies
4/72net/mlx5/linux: extend device attributes getterdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.h+10 -00 replies
5/72net/mlx5: remove Linux files from Windows compilationdrivers/net/mlx5/meson.build+11 -50 replies
6/72net/mlx5: fix freeing packet pacingdrivers/net/mlx5/mlx5_txpp.c+5 -00 replies
7/72net/mlx5: replace Linux sleep with rte sleepdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5_trigger.c drivers/net/mlx5/mlx5_txpp.c+6 -80 replies
8/72net/mlx5: define mprq functions as static inlinedrivers/net/mlx5/mlx5_rxq.c drivers/net/mlx5/mlx5_rxtx.h+70 -740 replies
9/72net/mlx5: do not define static_assert in Windowsdrivers/net/mlx5/mlx5_defs.h+5 -20 replies
10/72net/mlx5: move static_assert calls to global scopedrivers/net/mlx5/mlx5_rxtx.c drivers/net/mlx5/mlx5_txpp.c+53 -500 replies
11/72net/mlx5: wrap glue alloc/dealloc PD with OS callsdrivers/common/mlx5/linux/mlx5_common_os.h drivers/net/mlx5/mlx5.c+14 -30 replies
12/72net/mlx5: wrap glue reg/dereg UMEM with OS callsdrivers/common/mlx5/linux/mlx5_common_os.h drivers/common/mlx5/mlx5_common.c drivers/net/mlx5/mlx5.c +3 more+31 -190 replies
13/72net/mlx5: fix adding destroy flow action wrapperdrivers/net/mlx5/mlx5.c+2 -10 replies
14/72common/mlx5: add definition HAVE_INFINIBAND_VERBS_Hdrivers/common/mlx5/linux/meson.build+2 -00 replies
15/72common/mlx5/linux: handle memory allocations with alignmentdrivers/common/mlx5/linux/mlx5_common_os.h drivers/common/mlx5/mlx5_malloc.c+44 -80 replies
16/72common/mlx5/windows: handle memory allocations with alignmentdrivers/common/mlx5/windows/mlx5_common_os.h+51 -00 replies
17/72common/mlx5/linux: wrap event channel APIs with OS callsdrivers/common/mlx5/linux/mlx5_common_os.h drivers/net/mlx5/mlx5_devx.c drivers/net/mlx5/mlx5_txpp.c +1 more+33 -100 replies
18/72common/mlx5: add Windows exports filedrivers/common/mlx5/rte_common_mlx5_exports.def+60 -00 replies
19/72common/mlx5: extend DevX query hca attributes commanddrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h+21 -10 replies
20/72common/mlx5: add DevX alloc PD commanddrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +2 more+75 -00 replies
21/72common/mlx5/windows: add glue functions APIsdrivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_glue.c drivers/common/mlx5/windows/mlx5_glue.h +2 more+422 -00 replies
22/72mlx5/windows: add mlx5 meson filedrivers/common/mlx5/meson.build drivers/common/mlx5/windows/meson.build+44 -20 replies
23/72mlx5/windows: add initialization routine for external libdrivers/common/mlx5/windows/meson.build drivers/common/mlx5/windows/mlx5_common_os.c+25 -00 replies
24/72mlx5/windows: generate file mlx5_autoconf.hdrivers/common/mlx5/windows/meson.build+3 -00 replies
25/72common/mlx5/windows: extend PRM match_param_bits structdrivers/common/mlx5/mlx5_prm.h drivers/common/mlx5/windows/mlx5_glue.c+10 -00 replies
26/72common/mlx5/windows: add getter functionsdrivers/common/mlx5/windows/mlx5_common_os.h+91 -00 replies
27/72common/mlx5/windows: add OS alloc/dealloc pddrivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_common_os.c drivers/common/mlx5/windows/mlx5_common_os.h +1 more+58 -12 replies
28/72common/mlx5/windows: add OS umem reg/dereg APIdrivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_common_os.c drivers/common/mlx5/windows/mlx5_common_os.h+64 -00 replies
29/72net/mlx5: update MR prototypes for DevXdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/linux/mlx5_verbs.c drivers/net/mlx5/linux/mlx5_verbs.h +1 more+10 -100 replies
30/72common/mlx5/windows: add OS reg/dereg MRdrivers/common/mlx5/mlx5_common_mr.h drivers/common/mlx5/rte_common_mlx5_exports.def drivers/common/mlx5/windows/mlx5_common_os.c +1 more+88 -00 replies
31/72drivers/common: enable Windows common mlx5 compilationdrivers/common/meson.build+3 -50 replies
32/72net/mlx5/windows: implement device attribute getterdrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/windows/meson.build drivers/net/mlx5/windows/mlx5_os.c+126 -00 replies
33/72net/mlx5/windows: add mlx5_os.c stubsdrivers/net/mlx5/windows/mlx5_os.c+178 -00 replies
34/72net/mlx5/windows: implement mlx5 mac addr adddrivers/net/mlx5/windows/mlx5_os.c+36 -02 replies
35/72net/mlx5: refactor eth dev ops for Windowsdrivers/net/mlx5/windows/mlx5_os.c+108 -00 replies
36/72common/mlx5/windows: add missing DV and IBV definitionsdrivers/common/mlx5/windows/mlx5_win_defs.h+141 -00 replies
37/72mlx5/windows: add mlx5_os header file under netdrivers/net/mlx5/windows/mlx5_os.h+19 -01 reply
38/72net/mlx5/windows: add pthread initializer definitiondrivers/net/mlx5/windows/mlx5_os.h+1 -01 reply
39/72net/mlx5/windows: define epoll API to do nothingdrivers/net/mlx5/windows/mlx5_os.h+1 -01 reply
40/72net/mlx5/windows: define errno ETOOMANYREFSdrivers/net/mlx5/windows/mlx5_os.h+3 -02 replies
41/72common/mlx5: add rte compatibility header filedrivers/common/mlx5/mlx5_devx_cmds.h+1 -10 replies
42/72common/mlx5/windows: add DevX UAR gettersdrivers/common/mlx5/windows/mlx5_common_os.h+74 -02 replies
43/72common/mlx5/windows: wrap event channel APIs with OS callsdrivers/common/mlx5/windows/mlx5_common_os.h+29 -00 replies
44/72net/mlx5/windows: add memory region callbacksdrivers/net/mlx5/windows/mlx5_os.c+17 -00 replies
45/72net/mlx5/windows: add stubs for MP requestsdrivers/net/mlx5/windows/meson.build drivers/net/mlx5/windows/mlx5_mp_os.c+72 -00 replies
46/72net/mlx5/windows: support get macdrivers/net/mlx5/windows/meson.build drivers/net/mlx5/windows/mlx5_ethdev_os.c+44 -00 replies
47/72net/mlx5/windows: add ethdev stub operationsdrivers/net/mlx5/windows/mlx5_ethdev_os.c+199 -00 replies
48/72net/mlx5/windows: support link updatedrivers/net/mlx5/windows/mlx5_ethdev_os.c+39 -02 replies
49/72net/mlx5/windows: support read clockdrivers/common/mlx5/mlx5_prm.h drivers/common/mlx5/windows/mlx5_glue.c drivers/common/mlx5/windows/mlx5_glue.h +2 more+64 -00 replies
50/72net/mlx5/windows: support get mtudrivers/net/mlx5/windows/mlx5_ethdev_os.c+27 -00 replies
51/72net/mlx5/windows: support get interface namedrivers/net/mlx5/windows/mlx5_ethdev_os.c+28 -00 replies
52/72net/mlx5/windows: support is removeddrivers/common/mlx5/windows/mlx5_glue.c drivers/common/mlx5/windows/mlx5_glue.h drivers/common/mlx5/windows/mlx5_win_ext.h +1 more+43 -11 reply
53/72net/mlx5/windws: add VLAN stubsdrivers/net/mlx5/windows/meson.build drivers/net/mlx5/windows/mlx5_vlan_os.c+84 -00 replies
54/72net/mlx5: exclude rte_intr_callback_register calldrivers/net/mlx5/mlx5_txpp.c+2 -01 reply
55/72net/mlx5/windows: support get pdndrivers/net/mlx5/windows/mlx5_os.c+21 -00 replies
56/72net/mlx5/windows: support open devicedrivers/net/mlx5/windows/mlx5_os.c+43 -00 replies
57/72net/mlx5/windows: initial probing implementationdrivers/net/mlx5/windows/mlx5_os.c+278 -01 reply
58/72net/mlx5/windws: spawn eth devicesdrivers/common/mlx5/windows/mlx5_win_defs.h drivers/net/mlx5/windows/mlx5_os.c+482 -51 reply
59/72net/mlx5/windows: support VF PCI addressdrivers/net/mlx5/windows/mlx5_os.c+64 -32 replies
60/72net/mlx5/linux: wrap adjust flow priority with OS callsdrivers/net/mlx5/linux/mlx5_flow_os.h drivers/net/mlx5/mlx5_flow_dv.c+23 -20 replies
61/72net/mlx5/linux: add OS default miss flow actiondrivers/net/mlx5/linux/mlx5_flow_os.h drivers/net/mlx5/mlx5_flow_dv.c+21 -40 replies
62/72net/mlx5/linux: fix add OS dest_devx_tir actiondrivers/net/mlx5/linux/mlx5_flow_os.h drivers/net/mlx5/mlx5_devx.c+29 -40 replies
63/72drivers/net: enable Windows net/mlx5 compilationdrivers/net/meson.build+5 -41 reply
64/72net/mlx5/windows: introduce flow supportdrivers/common/mlx5/windows/mlx5_win_defs.h drivers/net/mlx5/windows/meson.build drivers/net/mlx5/windows/mlx5_flow_os.c +1 more+559 -00 replies
65/72net/mlx5/windows: create flow matcher objectdrivers/common/mlx5/windows/mlx5_win_defs.h drivers/net/mlx5/windows/mlx5_flow_os.c drivers/net/mlx5/windows/mlx5_flow_os.h+79 -70 replies
66/72net/mlx5/windows: create flow action dest TIR objectdrivers/common/mlx5/windows/mlx5_win_defs.h drivers/net/mlx5/windows/mlx5_flow_os.c+30 -70 replies
67/72net/mlx5/windows: create flow ruledrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/windows/mlx5_flow_os.c+42 -100 replies
68/72net/mlx5: use HAVE_INFINIBAND_VERBS_H in shared codedrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_devx.c +4 more+22 -180 replies
69/72net/mlx5: fix separating eth_dev_ops per OSdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h +2 more+158 -2660 replies
70/72common/mlx5: fix Windows warnings on missing enumdrivers/common/mlx5/mlx5_common_mp.h+1 -10 replies
71/72net/mlx5: fix Windows warnings on get_if_namedrivers/net/mlx5/linux/mlx5_os.h drivers/net/mlx5/mlx5.h drivers/net/mlx5/windows/mlx5_os.h+4 -41 reply
72/72mlx5: build pmd only with the clang compilerdrivers/common/mlx5/meson.build drivers/net/mlx5/meson.build+4 -41 reply

Reviews trailers per patch

25 of 72 patches have a Reviewed-by or Acked-by.

PatchMatan Azrad
1/72A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b
2/72
3/72
4/72A-b
5/72A-b
6/72A-b
7/72A-b
8/72A-b
9/72A-b
10/72A-b
11/72A-b
12/72
13/72A-b
14/72A-b
15/72A-b
16/72A-b
17/72
18/72A-b
19/72A-b
20/72A-b
21/72A-b
22/72A-b
23/72A-b
24/72A-b
25/72
26/72A-b
27/72A-b
28/72
29/72A-b
30/72A-b
31/72A-b
32/72
33/72
34/72
35/72
36/72
37/72
38/72
39/72
40/72
41/72
42/72
43/72
44/72
45/72
46/72
47/72
48/72
49/72
50/72
51/72
52/72
53/72
54/72
55/72
56/72
57/72
58/72
59/72
60/72
61/72
62/72
63/72
64/72
65/72
66/72
67/72
68/72
69/72
70/72
71/72
72/72

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH v1 00/72] mlx5 Windows support - part #5

This patch series is part of preparing mlx5 PMD to compile and run under Windows OS. Part #5

v1: initial version

Ophir Munk (46):
net/mlx5: fix flow sample definitions net/mlx5/linux: extend device attributes getter net/mlx5: remove Linux files from Windows compilation net/mlx5: fix freeing packet pacing
net/mlx5: replace Linux sleep with rte sleep net/mlx5: define mprq functions as static inline net/mlx5: do not define static_assert in Windows net/mlx5: move static_assert calls to global scope net/mlx5: wrap glue alloc/dealloc PD with OS calls net/mlx5: fix adding destroy flow action wrapper common/mlx5: add definition HAVE_INFINIBAND_VERBS_H common/mlx5/linux: handle memory allocations with alignment common/mlx5/windows: handle memory allocations with alignment mlx5/windows: add initialization routine for external lib mlx5/windows: generate file mlx5_autoconf.h common/mlx5/windows: add getter functions
net/mlx5: update MR prototypes for DevX common/mlx5/windows: add OS reg/dereg MR drivers/common: enable Windows common mlx5 compilation net/mlx5/windows: implement device attribute getter net/mlx5/windows: add mlx5_os.c stubs
net/mlx5: refactor eth dev ops for Windows common/mlx5/windows: add missing DV and IBV definitions mlx5/windows: add mlx5_os header file under net net/mlx5/windows: add pthread initializer definition net/mlx5/windows: define epoll API to do nothing net/mlx5/windows: define errno ETOOMANYREFS common/mlx5: add rte compatibility header file common/mlx5/windows: add DevX UAR getters net/mlx5/windows: add memory region callbacks net/mlx5/windows: add stubs for MP requests net/mlx5/windows: add ethdev stub operations net/mlx5/windws: add VLAN stubs
net/mlx5: exclude rte_intr_callback_register call net/mlx5/windows: support open device net/mlx5/windws: spawn eth devices
net/mlx5/linux: wrap adjust flow priority with OS calls net/mlx5/linux: add OS default miss flow action net/mlx5/linux: fix add OS dest_devx_tir action drivers/net: enable Windows net/mlx5 compilation net/mlx5/windows: introduce flow support net/mlx5/windows: create flow matcher object net/mlx5/windows: create flow action dest TIR object net/mlx5/windows: create flow rule
net/mlx5: use HAVE_INFINIBAND_VERBS_H in shared code net/mlx5: fix separating eth_dev_ops per OS

Tal Shnaiderman (26):
mlx5: fix relaxed ordering DevX flow
net/mlx5: fix folding constant array error net/mlx5: wrap glue reg/dereg UMEM with OS calls common/mlx5/linux: wrap event channel APIs with OS calls common/mlx5: add Windows exports file common/mlx5: extend DevX query hca attributes command common/mlx5: add DevX alloc PD command common/mlx5/windows: add glue functions APIs mlx5/windows: add mlx5 meson file common/mlx5/windows: extend PRM match_param_bits struct common/mlx5/windows: add OS alloc/dealloc pd common/mlx5/windows: add OS umem reg/dereg API net/mlx5/windows: implement mlx5 mac addr add common/mlx5/windows: wrap event channel APIs with OS calls net/mlx5/windows: support get mac net/mlx5/windows: support link update net/mlx5/windows: support read clock net/mlx5/windows: support get mtu net/mlx5/windows: support get interface name net/mlx5/windows: support is removed net/mlx5/windows: support get pdn net/mlx5/windows: initial probing implementation net/mlx5/windows: support VF PCI address common/mlx5: fix Windows warnings on missing enum net/mlx5: fix Windows warnings on get_if_name
mlx5: build pmd only with the clang compiler

 drivers/common/meson.build                      |    8 +-
 drivers/common/mlx5/linux/meson.build           |    2 +
 drivers/common/mlx5/linux/mlx5_common_os.h      |   83 ++
 drivers/common/mlx5/meson.build                 |    4 +-
 drivers/common/mlx5/mlx5_common.c               |    4 +-
 drivers/common/mlx5/mlx5_common_mp.h            |    2 +-
 drivers/common/mlx5/mlx5_common_mr.h            |    1 +
 drivers/common/mlx5/mlx5_devx_cmds.c            |   54 +-
 drivers/common/mlx5/mlx5_devx_cmds.h            |   17 +-
 drivers/common/mlx5/mlx5_malloc.c               |   14 +-
 drivers/common/mlx5/mlx5_prm.h                  |   94 ++
 drivers/common/mlx5/rte_common_mlx5_exports.def |   67 ++
 drivers/common/mlx5/version.map                 |    1 +
 drivers/common/mlx5/windows/meson.build         |   46 +
 drivers/common/mlx5/windows/mlx5_common_os.c    |  209 ++++
 drivers/common/mlx5/windows/mlx5_common_os.h    |  257 +++++
 drivers/common/mlx5/windows/mlx5_glue.c         |  354 +++++++
 drivers/common/mlx5/windows/mlx5_glue.h         |   60 ++
 drivers/common/mlx5/windows/mlx5_win_defs.h     |  250 +++++
 drivers/common/mlx5/windows/mlx5_win_ext.h      |   46 +
 drivers/net/meson.build                         |    9 +-
 drivers/net/mlx5/linux/mlx5_flow_os.h           |   62 ++
 drivers/net/mlx5/linux/mlx5_os.c                |  175 +---
 drivers/net/mlx5/linux/mlx5_os.h                |    4 -
 drivers/net/mlx5/linux/mlx5_verbs.c             |    2 +-
 drivers/net/mlx5/linux/mlx5_verbs.h             |    8 +-
 drivers/net/mlx5/meson.build                    |   20 +-
 drivers/net/mlx5/mlx5.c                         |  168 +++-
 drivers/net/mlx5/mlx5.h                         |   25 +-
 drivers/net/mlx5/mlx5_defs.h                    |    7 +-
 drivers/net/mlx5/mlx5_devx.c                    |   39 +-
 drivers/net/mlx5/mlx5_flow.c                    |   26 +-
 drivers/net/mlx5/mlx5_flow.h                    |   16 +-
 drivers/net/mlx5/mlx5_flow_dv.c                 |   53 +-
 drivers/net/mlx5/mlx5_flow_verbs.c              |    6 +
 drivers/net/mlx5/mlx5_rxq.c                     |   71 --
 drivers/net/mlx5/mlx5_rxtx.c                    |   98 +-
 drivers/net/mlx5/mlx5_rxtx.h                    |   73 +-
 drivers/net/mlx5/mlx5_trigger.c                 |    3 +-
 drivers/net/mlx5/mlx5_txpp.c                    |   36 +-
 drivers/net/mlx5/windows/meson.build            |   12 +
 drivers/net/mlx5/windows/mlx5_ethdev_os.c       |  386 ++++++++
 drivers/net/mlx5/windows/mlx5_flow_os.c         |  237 +++++
 drivers/net/mlx5/windows/mlx5_flow_os.h         |  364 +++++++
 drivers/net/mlx5/windows/mlx5_mp_os.c           |   71 ++
 drivers/net/mlx5/windows/mlx5_os.c              | 1180 +++++++++++++++++++++++
 drivers/net/mlx5/windows/mlx5_os.h              |   27 +
 drivers/net/mlx5/windows/mlx5_vlan_os.c         |   83 ++
 drivers/vdpa/mlx5/mlx5_vdpa_event.c             |    7 +-
 drivers/vdpa/mlx5/mlx5_vdpa_lm.c                |    3 +-
 drivers/vdpa/mlx5/mlx5_vdpa_mem.c               |    3 +-
 51 files changed, 4433 insertions(+), 414 deletions(-)
 create mode 100644 drivers/common/mlx5/rte_common_mlx5_exports.def
 create mode 100644 drivers/common/mlx5/windows/meson.build
 create mode 100644 drivers/common/mlx5/windows/mlx5_common_os.c
 create mode 100644 drivers/common/mlx5/windows/mlx5_common_os.h
 create mode 100644 drivers/common/mlx5/windows/mlx5_glue.c
 create mode 100644 drivers/common/mlx5/windows/mlx5_glue.h
 create mode 100644 drivers/common/mlx5/windows/mlx5_win_defs.h
 create mode 100644 drivers/common/mlx5/windows/mlx5_win_ext.h
 create mode 100644 drivers/net/mlx5/windows/meson.build
 create mode 100644 drivers/net/mlx5/windows/mlx5_ethdev_os.c
 create mode 100644 drivers/net/mlx5/windows/mlx5_flow_os.c
 create mode 100644 drivers/net/mlx5/windows/mlx5_flow_os.h
 create mode 100644 drivers/net/mlx5/windows/mlx5_mp_os.c
 create mode 100644 drivers/net/mlx5/windows/mlx5_os.c
 create mode 100644 drivers/net/mlx5/windows/mlx5_os.h
 create mode 100644 drivers/net/mlx5/windows/mlx5_vlan_os.c
Signature · 1 line
2.8.4