net/hns3: report Tx descriptor segment limitations
authorLijun Ou <oulijun@huawei.com>
Wed, 1 Jul 2020 11:54:39 +0000 (19:54 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commiteb8b3a0d829bc109dfb13de9c8cdeacda5449e69
treee44ad52a8da9ddc0e1177d746c84c379df049b54
parent223d9eceaeeeb4d5156d4c96eec1a34434d6ecab
net/hns3: report Tx descriptor segment limitations

According to the user manual of Kunpeng920 SoC, the max allowed number
of segments per whole packet is 63 and the max number of segments per
packet is 8 in datapath.

This patch reports the Two segment parameters of Tx descriptor
limitations to DPDK framework.

Signed-off-by: Lijun Ou <oulijun@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