net/bnxt: fix Rx drop setting
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Sat, 7 Apr 2018 17:40:54 +0000 (10:40 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commitd4cd95c645b5af9f7f480ba7fb6f4e4eee0e0e23
treed8f1fcf7645e1e82d859c8f95c41cbe39041ee72
parent360e6972e8b7dca1b4a0a4ed8ed3005b861aa718
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: 0a6d2a720078 ("net/bnxt: get device infos")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c