net/qede: prefetch hardware consumer
authorBalazs Nemeth <bnemeth@redhat.com>
Fri, 26 Mar 2021 11:01:28 +0000 (12:01 +0100)
committerJerin Jacob <jerinj@marvell.com>
Sat, 27 Mar 2021 14:00:45 +0000 (15:00 +0100)
commit3f1f0bad15ee4658197131854fe1d2383c48a03c
treed7036b1f9e2f91e5ea26dfb03f60dcab9eee105b
parent4996b959cde6a340bc24b121d279082b6e8761fb
net/qede: prefetch hardware consumer

Ensure that, while ecore_chain_get_cons_idx is running, txq->hw_cons_ptr
is prefetched. This shows a slight performance improvement.

Signed-off-by: Balazs Nemeth <bnemeth@redhat.com>
Reviewed-by: Igor Russkikh <irusskikh@marvell.com>
drivers/net/qede/qede_rxtx.c