ionic: Pass ionic_txq_desc to ionic_tx_tso_post
authorBrett Creeley <brett.creeley@amd.com>
Wed, 29 May 2024 00:02:55 +0000 (17:02 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 31 May 2024 01:10:34 +0000 (18:10 -0700)
commit4dde9588c54d1d86a415a5ed7dc6d8a605fe11ce
tree680d0cc318c2249fe743be69f3ec2eae49adbcce
parent8097a2f3d21a672c772ca1919f253e611f2f0bad
ionic: Pass ionic_txq_desc to ionic_tx_tso_post

Pass the ionic_txq_desc instead of re-referencing it from the q->txq
array since the caller to ionic_tx_tso_post will always have the
current ionic_txq_desc pointer already.

Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://lore.kernel.org/r/20240529000259.25775-4-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c