Re: [PATCH v1 1/1] net/cnxk: resolve fail to set large Rx/Tx queues

2022-09-19 Thread Jerin Jacob
On Thu, Sep 1, 2022 at 11:46 AM Hanumanth Pothula wrote: > > While configuring NIX, local variables 'nb_rxq' and 'nb_txq' > are declared as 8bit variables, leading to an integer overflow > when an application sends Rxq/Txq value greater than 255. > > Hence, declare local variables, 'nb_rxq' and 'n

[PATCH v1 1/1] net/cnxk: resolve fail to set large Rx/Tx queues

2022-08-31 Thread Hanumanth Pothula
While configuring NIX, local variables 'nb_rxq' and 'nb_txq' are declared as 8bit variables, leading to an integer overflow when an application sends Rxq/Txq value greater than 255. Hence, declare local variables, 'nb_rxq' and 'nb_txq' as 16bit variable. Also, during the cleanup, make sure PFC tre