]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_tx.h
net/sfc: convert to new Tx offload API
[dpdk.git] / drivers / net / sfc / sfc_tx.h
index fc9a9f7eaf830d0ec1bae4bbfb57372b6e531ef1..e3c5d517a4e7a8a1020f8d421ced8e0731d888a9 100644 (file)
@@ -59,6 +59,7 @@ struct sfc_txq {
        efx_txq_t                       *common;
        unsigned int                    free_thresh;
        unsigned int                    flags;
+       uint64_t                        offloads;
 };
 
 static inline unsigned int
@@ -130,6 +131,7 @@ int sfc_tx_start(struct sfc_adapter *sa);
 void sfc_tx_stop(struct sfc_adapter *sa);
 
 uint64_t sfc_tx_get_dev_offload_caps(struct sfc_adapter *sa);
+uint64_t sfc_tx_get_queue_offload_caps(struct sfc_adapter *sa);
 
 /* From 'sfc_tso.c' */
 int sfc_efx_tso_alloc_tsoh_objs(struct sfc_efx_tx_sw_desc *sw_ring,