net/hns3: add bytes stats
authorMin Hu (Connor) <humin29@huawei.com>
Thu, 4 Mar 2021 07:44:44 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Mar 2021 14:07:13 +0000 (15:07 +0100)
commitfdcd6a3e0246bb19007fbd05b6ea5fc00109392b
tree509701e41c92c38d4b6bb65a1174b4c7adea4b51
parentdfecc3201f0a41342b9aa089b4b5c09dfddd3c18
net/hns3: add bytes stats

In current HNS3 PMD, Rx/Tx bytes from packet stats are not
implemented.

This patch implemented Rx/Tx bytes using soft counters.

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_rxtx.c
drivers/net/hns3/hns3_rxtx_vec_neon.h
drivers/net/hns3/hns3_rxtx_vec_sve.c
drivers/net/hns3/hns3_stats.c