Re: [PATCH net-next V2 2/3] net/mlx4_en: Refactor the XDP forwarding rings scheme

2016-11-01 Thread Saeed Mahameed
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

[PATCH net-next V2 2/3] net/mlx4_en: Refactor the XDP forwarding rings scheme

2016-11-01 Thread Tariq Toukan
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