[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1490833787.24891.52.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 29 Mar 2017 17:29:47 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Tushar Dave <tushar.n.dave@...cle.com>
Cc: jeffrey.t.kirsher@...el.com, intel-wired-lan@...ts.osuosl.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] ixgbe: Check for skb->queue_mapping
On Wed, 2017-03-29 at 16:55 -0700, Tushar Dave wrote:
> There are events seen where skb->queue_mapping value is greater than
> adapter->num_tx_queue. In such cases, adapter->tx_ring becomes invalid
> (null) and xmit results in kernel panic.
>
> One such event is running netconsole and enabling VF on the same device.
> Or running netconsole and changing number of tx queues via ethtool on
> same device.
>
> This patch adds check for skb->queue_mapping and uses simple arithmetic
> to select available tx queue from driver.
We are not going to fix all multi queue drivers, for something that
seems to be a generic issue higher in the stack.
Powered by blists - more mailing lists