net/hinic: adds Tx queue xstats members
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Fri, 10 Apr 2020 09:21:47 +0000 (17:21 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:07 +0000 (13:57 +0200)
commit54faba2295bdc5406cbbbe150189619c7b552fe8
tree9f04910e134c2753ae0c9c9f592df8ba84eac5cd
parenta528b671a1e9ff1689c29a85d988c6f2ae92995a
net/hinic: adds Tx queue xstats members

Because some apps may pass illegal parameters, driver increases
checks on illegal parameters and DFX statistics, which includes
sge_len0 and mbuf_null txq xstats member.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/hinic_pmd_ethdev.c
drivers/net/hinic/hinic_pmd_tx.c
drivers/net/hinic/hinic_pmd_tx.h