octeon_ep: remove atomic variable usage in Tx data path
authorShinas Rasheed <srasheed@marvell.com>
Tue, 14 Nov 2023 13:45:35 +0000 (05:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2023 21:55:05 +0000 (21:55 +0000)
commitdc9c02b7faa0f37a1dd52752192a665319657d14
tree6575300810ebc80dbc88da740951bfff8bde896a
parent373d9a55ba746c579ca98222d2b4308d06978ca5
octeon_ep: remove atomic variable usage in Tx data path

Replace atomic variable "instr_pending" which represents number of
posted tx instructions pending completion, with host_write_idx and
flush_index variables in the xmit and completion processing respectively.

Signed-off-by: Shinas Rasheed <srasheed@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeon_ep/octep_config.h
drivers/net/ethernet/marvell/octeon_ep/octep_main.c
drivers/net/ethernet/marvell/octeon_ep/octep_main.h
drivers/net/ethernet/marvell/octeon_ep/octep_tx.c
drivers/net/ethernet/marvell/octeon_ep/octep_tx.h