[dpdk-dev] [PATCH 1/3] net/bnxt: fix to init/destroy locks only once

2020-12-24 Thread Somnath Kotur
Invoking init/uninit locks in init_resources and uninit_resources would end up initializing and destroying locks on every port start stop which is not desired. Move the 2 routines to dev_init and dev_close respectively as locks need to be initialized and destroyed only once during the lifetime of t

[dpdk-dev] [PATCH 1/3] net/bnxt: fix to init/destroy locks only once

2020-12-24 Thread Somnath Kotur
Invoking init/uninit locks in init_resources and uninit_resources would end up initializing and destroying locks on every port start stop which is not desired. Move the 2 routines to dev_init and dev_close respectively as locks need to be initialized and destroyed only once during the lifetime of t

[dpdk-dev] [PATCH 1/3] net/bnxt: fix to init/destroy locks only once

2020-12-24 Thread Somnath Kotur
Invoking init/uninit locks in init_resources and uninit_resources would end up initializing and destroying locks on every port start stop which is not desired. Move the 2 routines to dev_init and dev_close respectively as locks need to be initialized and destroyed only once during the lifetime of t