Skip to content

ethdev: fix MAC addrs list

Min Hu (Connor) dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 6 repliesIn review
  2. v32 patches 2 repliesSuperseded
  3. v21 patch 15 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch9 repliesSuperseded

Changes in v4 from the cover letter

- fix broken in the patchwork

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ethdev: fix one address occupies two indexes in MAC addrslib/ethdev/rte_ethdev.c+37 -24 replies
2/2ethdev: document default and non-default MAC addresslib/ethdev/ethdev_driver.h+6 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] ethdev: fix MAC addrs list

The index zero of rte_eth_dev_data::mac_addrs array is as the default MAC index, and other indexes can't be the same as the address corresponding to index 0. If we break it, may cause following problems:
1) waste of MAC address spaces.
2) a fake MAC address in the MAC list, isn't in hardware MAC entries.
3) a MAC address is assigned to diffent pool.

Huisong Li (2):
ethdev: fix one address occupies two indexes in MAC addrs
ethdev: document default and non-default MAC address
---
v4:
- fix broken in the patchwork

v3:
- first explicitly remove the non-default MAC, then set default one.
- document default and non-default MAC address

v2:
- fixed commit log.

 lib/ethdev/ethdev_driver.h |  7 ++++++-
 lib/ethdev/rte_ethdev.c    | 39 ++++++++++++++++++++++++++++++++++++--
 2 files changed, 43 insertions(+), 3 deletions(-)
Signature · 1 line
2.33.0