net/bnxt: fix drop enable in get Rx queue info
authorLance Richardson <lance.richardson@broadcom.com>
Tue, 22 Sep 2020 17:30:34 +0000 (13:30 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:10 +0000 (19:19 +0200)
commitbd881e8d2a075b2dd69362176e2f8c76c88187ec
treecd2085d843918e102060f3056905ab51b9a10e76
parent6f744ddef543ef1dca7a65866c666e97e1f8f294
net/bnxt: fix drop enable in get Rx queue info

Return correct value for rx_drop_en. Add per-queue field to
track rx_drop_en configuration.

Fixes: 2fc201884be8 ("net/bnxt: support rxq/txq get information")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_rxq.c
drivers/net/bnxt/bnxt_rxq.h