Re: [dpdk-dev] [PATCH] net/bnxt: refactor HWRM rings allocation routine

2021-02-28 Thread Ajit Khaparde
On Fri, Feb 19, 2021 at 1:28 AM Somnath Kotur wrote: > > bnxt_alloc_hwrm_rings() was duplicating a snippet of code that was > already present in bnxt_alloc_hwrm_rx_ring() with just one line/function > invocation missing. Add that line and replace the snippet of code > with a call to bnxt_hwrm_allo

[dpdk-dev] [PATCH] net/bnxt: refactor HWRM rings allocation routine

2021-02-19 Thread Somnath Kotur
bnxt_alloc_hwrm_rings() was duplicating a snippet of code that was already present in bnxt_alloc_hwrm_rx_ring() with just one line/function invocation missing. Add that line and replace the snippet of code with a call to bnxt_hwrm_alloc_rx_ring Signed-off-by: Somnath Kotur --- drivers/net/bnxt/b