Remove limitations coming from legacy VMDq
Status from this message: Applied to next-net
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 4 repliesApplied
- v510 patches 2 repliesSuperseded
- v410 patches 5 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 5 patches | 5 replies | Superseded | |
| v2 | 5 patches | 4 replies | Superseded | |
| v1 | 4 patches | 8 replies | Superseded |
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ethdev: check VMDq availabilitydoc/ lib/ | +22 | 0 replies | |
| 2/3 | ethdev: skip VMDq pools unless configureddoc/ drivers/ lib/ +1 more | +39 | 3 replies | |
| 3/3 | ethdev: hide VMDq internal sizesdoc/ lib/ lib/ | +10 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Rybchenko |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/3] Remove limitations coming from legacy VMDq
Since the commit 88ac4396ad29 ("ethdev: add VMDq support"), VMDq has been imposing a maximum number of mac addresses in the mac_addr_add/del API.
Nowadays, new Intel drivers do not support the feature and few other drivers implement this feature.
This series enforces that the driver announces VMDq pools before using VMDq related features, then remove the limit of number of mac addresses for others.
Next step could be to remove the VMDq pool notion from the generic API. However I have some concern about this, as changing the quite stable mac_addr_add/del API now seems a lot of noise for not much benefit.
Signature · 42 lines
David Marchand Changes since v5: - no change, simply split out (intel and mlx) drivers update in separate series, Changes since v4: - rebased, - moved mac restoration in dedicated IAVF reset helper, - fixed inverted arguments when calling mlx5 mac sync, Changes since v3: - rebased (this series is too late for 26.07), - update some doxygen comments, - added mlx5 changes, Changes since v2: - changed approach: did not introduce a new device capability, relied on already existing dev_info->max_vmdq_pools, - fixed duplicate mac addition without VMDq, - updated documentation, Changes since v1: - dropped incorrect VMDq feature announce for bnxt representors, em, i40e representors, ipn3ke representors, - fixed buffer overflow on mailbox messages during port restart/VF reset, - fixed duplicate MAC address installation on port start/restart, David Marchand (3): ethdev: check VMDq availability ethdev: skip VMDq pools unless configured ethdev: hide VMDq internal sizes doc/guides/rel_notes/release_26_11.rst | 11 +++++ drivers/net/cnxk/cnxk_ethdev_ops.c | 1 - lib/ethdev/ethdev_driver.h | 8 ++- lib/ethdev/rte_ethdev.c | 68 ++++++++++++++++++++------ lib/ethdev/rte_ethdev.h | 8 +-- 5 files changed, 71 insertions(+), 25 deletions(-) -- 2.54.0