ionic: reduce the use of netdev
authorShannon Nelson <shannon.nelson@amd.com>
Thu, 29 Feb 2024 19:39:31 +0000 (11:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2024 09:38:13 +0000 (09:38 +0000)
commit25623ab9cb372b778a211601a1fb5e3bb72c827d
tree10abc7be0ec145a817858c589c879b60493ef0c5
parent1937b7ab6bd6bd4cee631fa6ea9142bb4dabc898
ionic: reduce the use of netdev

To help make sure we're only accessing things we really need
to access we can cut down on the q->lif->netdev references by
using q->dev which is already in cache.

Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c