git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/sfc: convert to new Tx offload API
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_tx.h
diff --git
a/drivers/net/sfc/sfc_tx.h
b/drivers/net/sfc/sfc_tx.h
index
fc9a9f7
..
e3c5d51
100644
(file)
--- a/
drivers/net/sfc/sfc_tx.h
+++ b/
drivers/net/sfc/sfc_tx.h
@@
-59,6
+59,7
@@
struct sfc_txq {
efx_txq_t *common;
unsigned int free_thresh;
unsigned int flags;
efx_txq_t *common;
unsigned int free_thresh;
unsigned int flags;
+ uint64_t offloads;
};
static inline unsigned int
};
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);
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,
/* From 'sfc_tso.c' */
int sfc_efx_tso_alloc_tsoh_objs(struct sfc_efx_tx_sw_desc *sw_ring,