[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a582496e-f8ec-a3b0-e81a-b70b8df89237@mellanox.com>
Date: Tue, 1 Nov 2016 13:57:36 +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 2/3] net/mlx4_en: Refactor the XDP forwarding
rings scheme
On 11/01/2016 01:36 PM, Tariq Toukan wrote:
> Separately manage the two types of TX rings: regular ones, and XDP.
> Upon an XDP set, do not borrow regular TX rings and convert them
> into XDP ones, but allocate new ones, unless we hit the max number
> of rings.
> Which means that in systems with smaller #cores we will not consume
> the current TX rings for XDP, while we are still in the num TX limit.
>
> XDP TX rings counters are not shown in ethtool statistics.
> Instead, XDP counters will be added to the respective RX rings
> in a downstream patch.
>
> This has no performance implications.
>
> Signed-off-by: Tariq Toukan <tariqt@...lanox.com>
Reviewed-by: Saeed Mahameed <saeedm@...lanox.com>
Powered by blists - more mailing lists