Skip to content

some fixes for AF_XDP pmd

Xiaolong Ye dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 4 repliesIn review
  2. v34 patches 6 repliesSuperseded
  3. v22 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Changes in v4 from the cover letter

- remove unnecessary mtu valid check in eth_dev_mtu_set
- add Reported-by and Reviewed-by tags of David

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/af_xdp: enqueue buf ring when allocate Tx queue failsdrivers/net/af_xdp/rte_eth_af_xdp.c+1 -00 replies
2/4net/af_xdp: specify minimal and maximal MTUdrivers/net/af_xdp/rte_eth_af_xdp.c+3 -00 replies
3/4net/af_xdp: make reserve/submit peek/release consistentdrivers/net/af_xdp/rte_eth_af_xdp.c+40 -390 replies
4/4net/af_xdp: fix typos in Rx functiondrivers/net/af_xdp/rte_eth_af_xdp.c+2 -21 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid MarchandRami Rosen
1/4R-b
2/4R-b
3/4R-b
4/4R-b A-b

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

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 0/4] some fixes for AF_XDP pmd

This patchset provides some fixes to af_xdp pmd, at first, I just added a simple error handling when Tx queue allocation fails, then David suggested a better way to do it and pointed out the inconsistent issue of reserve/submit ops (for Tx queue) and peek/release ops (for Rx queue), the third patch addressed this.

v4 changes:

- remove unnecessary mtu valid check in eth_dev_mtu_set
- add Reported-by and Reviewed-by tags of David

v3 changes:

- address David's review comments
- add one patch to specify the mtu range
- add one fix patch for typo

v2 changes:

- adopt David's suggestion to refactor the code

Xiaolong Ye (4):
net/af_xdp: enqueue buf ring when allocate Tx queue fails net/af_xdp: specify minimal and maximal MTU net/af_xdp: make reserve/submit peek/release consistent net/af_xdp: fix typos in Rx function

 drivers/net/af_xdp/rte_eth_af_xdp.c | 87 +++++++++++++++--------------
 1 file changed, 46 insertions(+), 41 deletions(-)
Signature · 1 line
2.17.1