Re: [dpdk-dev] [PATCH V2 04/14] net/hns3: add Rx and Tx bytes stats

2021-03-03 Thread Ferruh Yigit
On 3/2/2021 1:58 PM, Lijun Ou wrote: From: "Min Hu (Connor)" In current HNS3 PMD, Rx/Tx bytes from packet stats are not implemented. This patch implemented Rx/Tx bytes using soft counters. Rx/Tx bytes stats will be enabled if the macro RTE_LIBRTE_HNS3_PMD_SOFT_COUNTERS is defined. Signed-off-

[dpdk-dev] [PATCH V2 04/14] net/hns3: add Rx and Tx bytes stats

2021-03-02 Thread Lijun Ou
From: "Min Hu (Connor)" In current HNS3 PMD, Rx/Tx bytes from packet stats are not implemented. This patch implemented Rx/Tx bytes using soft counters. Rx/Tx bytes stats will be enabled if the macro RTE_LIBRTE_HNS3_PMD_SOFT_COUNTERS is defined. Signed-off-by: Min Hu (Connor) Signed-off-by: Lij