On 11/22/2022 1:09 PM, Niklas Söderlund wrote: > From: Jin Liu <jin....@corigine.com> > > The minimum value of TX/RX descriptors for NFP3800 card is not same > with NFP4000 card, the minimum value of NFP4000 card is 256 while > NFP3800 card is 512, add the minimum descriptor macro for NFP3800 > card. > > Modify the logic of get descriptor value, assign the value of descriptor > for the corresponding network card according to its type. > > In TX stage, firmware with NFD3 use one descriptor per packet while > firmware with NFDk use two descriptors. In order to be consistent > with the kernel driver, the number of descriptor of firmware with > NFDk should be divided by 2. > > Signed-off-by: Jin Liu <jin....@corigine.com> > Reviewed-by: Chaoyong He <chaoyong...@corigine.com> > Reviewed-by: Niklas Söderlund <niklas.soderl...@corigine.com> > Signed-off-by: Niklas Söderlund <niklas.soderl...@corigine.com>
Applied to dpdk-next-net/main, thanks.