[Intel-wired-lan] [next PATCH S4 05/11] i40e: fix wrapping around netif_set_real_num_tx_queues

Bowers, AndrewX andrewx.bowers at intel.com
Wed Apr 3 21:57:23 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, March 29, 2019 3:09 PM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S4 05/11] i40e: fix wrapping around
> netif_set_real_num_tx_queues
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> After total number of queues are updated under heavy traffic with ethtool -L
> command, the driver may receive few skbuffs with queue_mapping value
> greater than new total number of queues causing kernel panic.
> 
> This fix flushes all skbs after netif_set_real_num_tx_queues call while
> reconfiguring total tx queues. This helps in avoiding skbs with invalid
> queue_mapping.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 2 ++
>  1 file changed, 2 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list