v5: - split the second patch in two, one fix per commit, as suggested by Thomas - no code change, the resulting tree is the same as v4
v4: - free the jumbo buffer only when the last representor stops the device, it is shared by every port and their Rx queues still point at it v3: - free the jumbo buffer in xsc_dev_close(), the device removal path does not go through xsc_dev_uninit() - drop the redundant parentheses reported by checkpatch, no functional change v2: - address the AI review of v1: allocate the jumbo buffer once per device, fail the queue setup when there is no IOVA, and free it on device close - fix the leak in xsc_dev_init() and the unchecked rte_malloc_socket() - rename the jumbo buffer fields, they held the opposite of what their names say Renyong Wan (4): net/xsc: fix jumbo buffer allocation and leak net/xsc: fix leak on device init failure net/xsc: check Tx queue allocation result net/xsc: rename jumbo buffer fields drivers/net/xsc/xsc_dev.c | 17 ++++++++++-- drivers/net/xsc/xsc_dev.h | 4 +-- drivers/net/xsc/xsc_ethdev.c | 6 ++++ drivers/net/xsc/xsc_rx.c | 53 ++++++++++++++++++++---------------- 4 files changed, 51 insertions(+), 29 deletions(-)

