]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_ethdev.c
net/hns3: report Tx descriptor segment limitations
[dpdk.git] / drivers / net / hns3 / hns3_ethdev.c
index 8b18b47d4f050ef208183931dbe0f5ef625a4909..b9868de540353cc93e4b1ab3c1c701b18a16527c 100644 (file)
@@ -2491,6 +2491,8 @@ hns3_dev_infos_get(struct rte_eth_dev *eth_dev, struct rte_eth_dev_info *info)
                .nb_max = HNS3_MAX_RING_DESC,
                .nb_min = HNS3_MIN_RING_DESC,
                .nb_align = HNS3_ALIGN_RING_DESC,
+               .nb_seg_max = HNS3_MAX_TSO_BD_PER_PKT,
+               .nb_mtu_seg_max = HNS3_MAX_NON_TSO_BD_PER_PKT,
        };
 
        info->vmdq_queue_num = 0;