net/mlx5: cleanup for isolated mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest30 patches 3 repliesIn review
- v230 patches 39 repliesSuperseded
- v121 patches 2 repliesSuperseded
Changes in v3 from the cover letter
* Fix illegal access in Tx queue mp2mr cache.
* Fix some function documentations.
* Use priv_dev_traffic_restart() in vlan_filter_set().
* Fix a bug in flow priorities.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | net/mlx5: merge action and flow parser structuredrivers/ | +73 | 0 replies | |
| 2/30 | net/mlx5: remove flow director supportdoc/ doc/ drivers/ +7 more | +44 | 0 replies | |
| 3/30 | net/mlx5: prefix Rx structures and functionsdrivers/ drivers/ drivers/ +6 more | +70 | 0 replies | |
| 4/30 | net/mlx5: prefix Tx structures and functionsdrivers/ drivers/ drivers/ +5 more | +72 | 0 replies | |
| 5/30 | net/mlx5: remove redundant started flagdrivers/ drivers/ drivers/ +2 more | +5 | 0 replies | |
| 6/30 | net/mlx5: verify all flows are been removed on closedrivers/ drivers/ drivers/ | +27 | 0 replies | |
| 7/30 | net/mlx5: fix reta update can segfaultdrivers/ drivers/ | +12 | 0 replies | |
| 8/30 | net/mlx5: fix rxqs vector support verificationdrivers/ | +2 | 0 replies | |
| 9/30 | net/mlx5: add reference counter on memory regiondrivers/ drivers/ drivers/ +3 more | +216 | 0 replies | |
| 10/30 | net/mlx5: separate DPDK from Verbs Rx queue objectsdrivers/ drivers/ drivers/ +3 more | +462 | 0 replies | |
| 11/30 | net/mlx5: separate DPDK from Verbs Tx queue objectsdrivers/ drivers/ drivers/ +1 more | +308 | 0 replies | |
| 12/30 | net/mlx5: add reference counter on DPDK Tx queuesdrivers/ drivers/ drivers/ +3 more | +383 | 0 replies | |
| 13/30 | net/mlx5: add reference counter on DPDK Rx queuesdrivers/ drivers/ drivers/ +2 more | +321 | 0 replies | |
| 14/30 | net/mlx5: make indirection tables shareabledrivers/ drivers/ drivers/ +3 more | +214 | 0 replies | |
| 15/30 | net/mlx5: add Hash Rx queue objectdrivers/ drivers/ drivers/ +2 more | +312 | 0 replies | |
| 16/30 | net/mlx5: fix clang compilation errordrivers/ | +2 | 0 replies | |
| 17/30 | net/mlx5: use flow to enable promiscuous modedrivers/ drivers/ drivers/ +4 more | +166 | 0 replies | |
| 18/30 | net/mlx5: use flow to enable all multi modedrivers/ drivers/ drivers/ +2 more | +22 | 0 replies | |
| 19/30 | net/mlx5: use flow to enable unicast trafficdrivers/ drivers/ drivers/ +7 more | +295 | 0 replies | |
| 20/30 | net/mlx5: handle a single RSS hash key for all protocolsdrivers/ drivers/ drivers/ +2 more | +56 | 0 replies | |
| 21/30 | net/mlx5: remove hash Rx queues supportdrivers/ drivers/ drivers/ +2 more | +4 | 0 replies | |
| 22/30 | net/mlx5: fully convert a flow to verbs in validatedrivers/ | +114 | 0 replies | |
| 23/30 | net/mlx5: process flows actions before of itemsdrivers/ | +45 | 0 replies | |
| 24/30 | net/mlx5: merge internal parser and actions structuresdrivers/ | +43 | 0 replies | |
| 25/30 | net/mlx5: use a better name for the flow parserdrivers/ | +96 | 0 replies | |
| 26/30 | net/mlx5: reorganise functions in the filedrivers/ | +66 | 0 replies | |
| 27/30 | net/mlx5: move Verbs flows and attributesdrivers/ | +27 | 0 replies | |
| 28/30 | net/mlx5: handle RSS hash configuration in RSS flowdrivers/ | +1022 | 0 replies | |
| 29/30 | net/mlx5: support flow directordoc/ doc/ drivers/ | +481 | 0 replies | |
| 30/30 | net/mlx5: add new operations for isolated modedrivers/ drivers/ | +45 | 0 replies |
Reviews trailers per patch
All 30 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/30] net/mlx5: cleanup for isolated mode
This series cleanups the control plane part and the way it uses the different kind of objects (DPDK queues, Verbs Queues, ...). It has three goals:
1. Reduce the memory usage by sharing all possible objects.
2. Leave the configuration to the control plane and the creation/destruction of queues to the dev_start/dev_stop() to have a better control on object and easily apply the configuration.
3. Create all flows through the generic flow API, it will also help to implement a detection collision algorithm as all flows are using the same service and thus the same kind of object.
Changes in v3:
* Fix illegal access in Tx queue mp2mr cache.
* Fix some function documentations.
* Use priv_dev_traffic_restart() in vlan_filter_set().
* Fix a bug in flow priorities.
Changes in v2:
* Rebase on upstream rdma-core/MLNX_OFED 4.2
* Split in smaller patches
Nelio Laranjeiro (30):
net/mlx5: merge action and flow parser structure net/mlx5: remove flow director support net/mlx5: prefix Rx structures and functions net/mlx5: prefix Tx structures and functions net/mlx5: remove redundant started flag net/mlx5: verify all flows are been removed on close net/mlx5: fix reta update can segfault net/mlx5: fix rxqs vector support verification net/mlx5: add reference counter on memory region net/mlx5: separate DPDK from Verbs Rx queue objects net/mlx5: separate DPDK from Verbs Tx queue objects net/mlx5: add reference counter on DPDK Tx queues net/mlx5: add reference counter on DPDK Rx queues net/mlx5: make indirection tables shareable net/mlx5: add Hash Rx queue object
net/mlx5: fix clang compilation error
net/mlx5: use flow to enable promiscuous mode net/mlx5: use flow to enable all multi mode net/mlx5: use flow to enable unicast traffic net/mlx5: handle a single RSS hash key for all protocols net/mlx5: remove hash Rx queues support net/mlx5: fully convert a flow to verbs in validate net/mlx5: process flows actions before of items net/mlx5: merge internal parser and actions structures net/mlx5: use a better name for the flow parser net/mlx5: reorganise functions in the file net/mlx5: move Verbs flows and attributes net/mlx5: handle RSS hash configuration in RSS flow net/mlx5: support flow director
net/mlx5: add new operations for isolated mode
drivers/net/mlx5/Makefile | 1 - drivers/net/mlx5/mlx5.c | 134 +- drivers/net/mlx5/mlx5.h | 91 +- drivers/net/mlx5/mlx5_defs.h | 3 - drivers/net/mlx5/mlx5_ethdev.c | 27 +- drivers/net/mlx5/mlx5_fdir.c | 1091 --------------- drivers/net/mlx5/mlx5_flow.c | 2475 +++++++++++++++++++++++++--------- drivers/net/mlx5/mlx5_mac.c | 407 +----- drivers/net/mlx5/mlx5_mr.c | 276 ++-- drivers/net/mlx5/mlx5_rss.c | 136 +- drivers/net/mlx5/mlx5_rxmode.c | 380 +----- drivers/net/mlx5/mlx5_rxq.c | 1999 ++++++++++++++------------- drivers/net/mlx5/mlx5_rxtx.c | 39 +- drivers/net/mlx5/mlx5_rxtx.h | 286 ++-- drivers/net/mlx5/mlx5_rxtx_vec_sse.c | 42 +- drivers/net/mlx5/mlx5_stats.c | 4 +- drivers/net/mlx5/mlx5_trigger.c | 320 ++++- drivers/net/mlx5/mlx5_txq.c | 876 +++++++----- drivers/net/mlx5/mlx5_utils.h | 2 + drivers/net/mlx5/mlx5_vlan.c | 56 +- 20 files changed, 4247 insertions(+), 4398 deletions(-) delete mode 100644 drivers/net/mlx5/mlx5_fdir.c
Signature · 1 line
2.1.4