[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fac4eb19-e2e4-4346-f5b0-a49caa6989ea@mellanox.com>
Date: Tue, 1 Nov 2016 13:57:58 +0200
From: Saeed Mahameed <saeedm@...lanox.com>
To: Tariq Toukan <tariqt@...lanox.com>,
"David S. Miller" <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, Eran Ben Elisha <eranbe@...lanox.com>,
"Brenden Blanco" <bblanco@...mgrid.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
Subject: Re: [PATCH net-next V2 3/3] net/mlx4_en: Add ethtool statistics for
XDP cases
On 11/01/2016 01:36 PM, Tariq Toukan wrote:
> XDP statistics are reported in ethtool as follows:
> - xdp_drop: the number of packets dropped by xdp.
> - xdp_tx: the number of packets forwarded by xdp.
> - xdp_tx_full: the number of times an xdp forward failed
> due to a full tx xdp ring.
>
> In addition, all packets that are dropped/forwarded by XDP
> are no longer accounted in rx_packets/rx_bytes of the ring,
> so that they count traffic that is passed to the stack.
>
> Signed-off-by: Tariq Toukan <tariqt@...lanox.com>
Reviewed-by: Saeed Mahameed <saeedm@...lanox.com>
Powered by blists - more mailing lists