Re: [PATCH 1/2] net/af_xdp: ensure xsk is deleted on Rx queue setup error

2022-02-18 Thread Ferruh Yigit
On 2/18/2022 11:20 AM, Ciara Loftus wrote: The Rx queue setup can fail for many reasons eg. failure to setup the custom program, failure to allocate or reserve fill queue buffers, failure to configure busy polling etc. When a failure like one of these occurs, if the xsk is already set up it shoul

[PATCH 1/2] net/af_xdp: ensure xsk is deleted on Rx queue setup error

2022-02-18 Thread Ciara Loftus
The Rx queue setup can fail for many reasons eg. failure to setup the custom program, failure to allocate or reserve fill queue buffers, failure to configure busy polling etc. When a failure like one of these occurs, if the xsk is already set up it should be deleted before returning. This commit en