net/bnxt: fix Rx drop setting
If Rx descriptors are not available, pkts are dropped by default.
Fix rx_drop_en setting in bnxt_dev_info_get_op to reflect it.
Fixes: 0a6d2a7200
("net/bnxt: get device infos")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
360e6972e8
commit
d4cd95c645
@ -426,7 +426,8 @@ static void bnxt_dev_info_get_op(struct rte_eth_dev *eth_dev,
|
||||
.wthresh = 0,
|
||||
},
|
||||
.rx_free_thresh = 32,
|
||||
.rx_drop_en = 0,
|
||||
/* If no descriptors available, pkts are dropped by default */
|
||||
.rx_drop_en = 1,
|
||||
};
|
||||
|
||||
dev_info->default_txconf = (struct rte_eth_txconf) {
|
||||
|
Loading…
Reference in New Issue
Block a user