[dpdk-dev] [PATCH v2 0/2] some fixes

Xiaolong Ye xiaolong.ye at intel.com
Tue Apr 16 17:03:50 CEST 2019


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 second patch addressed this.

v2 changes:

- adopt David's suggestion to refactor the code

Xiaolong Ye (2):
  net/af_xdp: enqueue buf ring when allocate Tx queue fails
  net/af_xdp: make reserve/submit peek/release consistent

 drivers/net/af_xdp/rte_eth_af_xdp.c | 78 +++++++++++++++--------------
 1 file changed, 40 insertions(+), 38 deletions(-)

-- 
2.17.1



More information about the dev mailing list