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