[v3,0/4] some fixes for AF_XDP pmd
mbox series

Message ID 20190417085653.110559-1-xiaolong.ye@intel.com
Headers show
Series
  • some fixes for AF_XDP pmd
Related show

Message

Xiaolong Ye April 17, 2019, 8:56 a.m. UTC
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.

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 | 96 +++++++++++++++++------------
 1 file changed, 55 insertions(+), 41 deletions(-)