summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/siena/nic_common.h
diff options
context:
space:
mode:
authorMartin Habets <habetsm.xilinx@gmail.com>2022-05-09 16:31:55 +0100
committerJakub Kicinski <kuba@kernel.org>2022-05-10 15:38:14 -0700
commit956f2d86cb37dc6dae8174001a668cbc8b9bbd1f (patch)
tree1d27ce379352ffe65cda8afeecb8f74d51ae01f7 /drivers/net/ethernet/sfc/siena/nic_common.h
parentd48523cb88e0703055c1b33e61eb644a7976f92b (diff)
sfc/siena: Remove build references to missing functionality
Functionality not supported or needed on Siena includes: - Anything for EF100 - EF10 specifics such as register access, PIO and TSO offload. Also only bind to Siena NICs. Remove EF10 specifics from nic.h. The functions that start with efx_farch_ will be removed from sfc.ko with a subsequent patch. Add the efx_ prefix to siena_prepare_flush() to make it consistent with the other APIs. Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena/nic_common.h')
-rw-r--r--drivers/net/ethernet/sfc/siena/nic_common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/siena/nic_common.h b/drivers/net/ethernet/sfc/siena/nic_common.h
index 0cef35c0c559..47deeae0a034 100644
--- a/drivers/net/ethernet/sfc/siena/nic_common.h
+++ b/drivers/net/ethernet/sfc/siena/nic_common.h
@@ -75,9 +75,6 @@ static inline bool efx_nic_tx_is_empty(struct efx_tx_queue *tx_queue, unsigned i
return ((empty_read_count ^ write_count) & ~EFX_EMPTY_COUNT_VALID) == 0;
}
-int efx_enqueue_skb_tso(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
- bool *data_mapped);
-
/* Decide whether to push a TX descriptor to the NIC vs merely writing
* the doorbell. This can reduce latency when we are adding a single
* descriptor to an empty queue, but is otherwise pointless. Further,