net/hns3: report Rx drop packets enable configuration
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Mon, 24 Aug 2020 11:01:28 +0000 (19:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:06 +0000 (18:55 +0200)
commita02f1461c75b4be31d4a37ea3fae95aee86cdff2
tree5789e7f42a5cdcc45b6b6322b355c0c05d44f525
parent3fe889617bc04dbe47b73ebbc1c1eb43cf114634
net/hns3: report Rx drop packets enable configuration

Currently, if there are not available Rx buffer descriptors in receiving
direction based on hns3 network engine, incoming packets will always be
dropped by hardware. This patch reports the '.rx_drop_en' information to
DPDK framework in the '.dev_infos_get', '.rxq_info_get' and
'.rx_queue_setup' ops implementation function.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c
drivers/net/hns3/hns3_rxtx.c