RE: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-15 Thread Feifei Wang
Thanks for the comment. > -Original Message- > From: Stephen Hemminger > Sent: Thursday, May 11, 2023 11:45 PM > To: Feifei Wang > Cc: dev@dpdk.org; nd ; Lijian Zhang > ; Ruifeng Wang ; > Honnappa Nagarahalli > Subject: Re: [PATCH] examples/l3fwd: add hard co

RE: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-15 Thread Honnappa Nagarahalli
> > > > > > > > On Thu, May 11, 2023 at 1:55 PM Feifei Wang > > > wrote: > > > > > > > > This patch is to collect empty poll of 'rte_eth_rx_burst' > > > > functions in dpdk l3fwd application. Empty poll means Rx burst > > > > function receives no pkts in one loop. > > > > > > > > Furthermore, we

Re: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-12 Thread Jerin Jacob
On Thu, May 11, 2023 at 7:02 PM Honnappa Nagarahalli wrote: > > > > > > > On Thu, May 11, 2023 at 1:55 PM Feifei Wang > > wrote: > > > > > > This patch is to collect empty poll of 'rte_eth_rx_burst' functions in > > > dpdk l3fwd application. Empty poll means Rx burst function receives no > > > p

RE: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-11 Thread Feifei Wang
> -Original Message- > From: Honnappa Nagarahalli > Sent: Thursday, May 11, 2023 9:32 PM > To: Jerin Jacob ; Feifei Wang > > Cc: dev@dpdk.org; nd ; Lijian Zhang > ; Ruifeng Wang ; nd > > Subject: RE: [PATCH] examples/l3fwd: add hard code to collect em

Re: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-11 Thread Stephen Hemminger
On Thu, 11 May 2023 16:25:19 +0800 Feifei Wang wrote: > This patch is to collect empty poll of 'rte_eth_rx_burst' functions in > dpdk l3fwd application. Empty poll means Rx burst function receives no > pkts in one loop. > > Furthermore, we also add 'nic_xstats_display' API to show NIC counters.

RE: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-11 Thread Honnappa Nagarahalli
> > On Thu, May 11, 2023 at 1:55 PM Feifei Wang > wrote: > > > > This patch is to collect empty poll of 'rte_eth_rx_burst' functions in > > dpdk l3fwd application. Empty poll means Rx burst function receives no > > pkts in one loop. > > > > Furthermore, we also add 'nic_xstats_display' API to s

RE: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-11 Thread Feifei Wang
> -Original Message- > From: Jerin Jacob > Sent: Thursday, May 11, 2023 4:51 PM > To: Feifei Wang > Cc: dev@dpdk.org; nd ; Lijian Zhang > ; Ruifeng Wang ; > Honnappa Nagarahalli > Subject: Re: [PATCH] examples/l3fwd: add hard code to collect empty poll and &g

Re: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-11 Thread Jerin Jacob
On Thu, May 11, 2023 at 1:55 PM Feifei Wang wrote: > > This patch is to collect empty poll of 'rte_eth_rx_burst' functions in > dpdk l3fwd application. Empty poll means Rx burst function receives no > pkts in one loop. > > Furthermore, we also add 'nic_xstats_display' API to show NIC counters. > >

[PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-11 Thread Feifei Wang
This patch is to collect empty poll of 'rte_eth_rx_burst' functions in dpdk l3fwd application. Empty poll means Rx burst function receives no pkts in one loop. Furthermore, we also add 'nic_xstats_display' API to show NIC counters. Usage: With this patch, no special settings, just run l3fwd, and