Re: [dpdk-dev] [PATCH] net/bnxt: fix cp ring size calculation

2021-01-29 Thread Lance Richardson
On Fri, Jan 29, 2021 at 12:57 PM Lance Richardson wrote: > > The size of the receive completion ring should be recalculated > when MTU is increased to a size that requires scattered receive > or when LRO is enabled. Move logic for this calculation from > the ring configuration path to the device s

[dpdk-dev] [PATCH] net/bnxt: fix cp ring size calculation

2021-01-29 Thread Lance Richardson
The size of the receive completion ring should be recalculated when MTU is increased to a size that requires scattered receive or when LRO is enabled. Move logic for this calculation from the ring configuration path to the device start path. - Made size calculation dependent only on scattered_rx