]> git.droids-corp.org - dpdk.git/commit
net/vmxnet3: advertise RETA size in device info
authorPankaj Gupta <pagupta@vmware.com>
Wed, 25 May 2022 00:40:26 +0000 (17:40 -0700)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Tue, 31 May 2022 13:35:46 +0000 (15:35 +0200)
commitce6b0b80d1db71feb66f2e542217579684c32bf9
tree62177140929633beda09ba146fcd3f0f27712258
parentb1584dd0affec7a6f8a21fb76e4381f431387537
net/vmxnet3: advertise RETA size in device info

Currently the driver assumes that the size of the RETA table is
four times the number of Rx queues at multiple places. However,
it sets it to four times the maximum number of queues (4 * 32 = 128)
when it first initializes the device. Change the other uses to use
the stored value, not the assumed default.

Tested, using testpmd, for different hardware versions on ESXi 7.0
Update 2.

Signed-off-by: Pankaj Gupta <pagupta@vmware.com>
Reviewed-by: Jochen Behrens <jbehrens@vmware.com>
drivers/net/vmxnet3/vmxnet3_ethdev.c