]> git.baikalelectronics.ru Git - kernel.git/commit
sfc/siena: Rename RX/TX functions to avoid conflicts with sfc
authorMartin Habets <habetsm.xilinx@gmail.com>
Mon, 9 May 2022 15:32:20 +0000 (16:32 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 May 2022 22:38:14 +0000 (15:38 -0700)
commitcd9f685c36707446687d7030d677a6231c02ff51
tree9ba55ee5cde20f9ded56ac099b0248e2cf556669
parent190d21d89dbee4247455bf4a82487c1d69df1812
sfc/siena: Rename RX/TX functions to avoid conflicts with sfc

For siena use efx_siena_ as the function prefix.
Several functions are not used in Siena, so they are removed.

Use a Siena specific variable name for module parameter
efx_separate_tx_channels.
Move efx_fini_tx_queue() to avoid a forward declaration of
efx_dequeue_buffer().

Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
13 files changed:
drivers/net/ethernet/sfc/siena/efx.c
drivers/net/ethernet/sfc/siena/efx.h
drivers/net/ethernet/sfc/siena/efx_channels.c
drivers/net/ethernet/sfc/siena/efx_common.c
drivers/net/ethernet/sfc/siena/ethtool_common.c
drivers/net/ethernet/sfc/siena/farch.c
drivers/net/ethernet/sfc/siena/rx.c
drivers/net/ethernet/sfc/siena/rx_common.c
drivers/net/ethernet/sfc/siena/rx_common.h
drivers/net/ethernet/sfc/siena/tx.c
drivers/net/ethernet/sfc/siena/tx.h
drivers/net/ethernet/sfc/siena/tx_common.c
drivers/net/ethernet/sfc/siena/tx_common.h