Re: [dpdk-dev] [PATCH] net/bnxt: fix RSS context cleanup

2021-03-18 Thread Ajit Khaparde
On Wed, Mar 17, 2021 at 5:47 PM Ajit Khaparde wrote: > > The PMD is allocating an extra RSS context with each port start. > But it is freeing only one RSS context during port stop. So at some point > we run out of RSS contexts when we do multiple port stop/start sequences. > bnxt_hwrm_vnic_ctx_all

[dpdk-dev] [PATCH] net/bnxt: fix RSS context cleanup

2021-03-17 Thread Ajit Khaparde
The PMD is allocating an extra RSS context with each port start. But it is freeing only one RSS context during port stop. So at some point we run out of RSS contexts when we do multiple port stop/start sequences. bnxt_hwrm_vnic_ctx_alloc() is called by bnxt_setup_one_vnic(), but bnxt_hwrm_vnic_ctx_