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/i40e: fix shifts of signed values
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc.h
diff --git
a/drivers/net/sfc/sfc.h
b/drivers/net/sfc/sfc.h
index
9c76d7f
..
51be440
100644
(file)
--- a/
drivers/net/sfc/sfc.h
+++ b/
drivers/net/sfc/sfc.h
@@
-27,9
+27,6
@@
extern "C" {
#endif
extern "C" {
#endif
-/** RSS hash offloads mask */
-#define SFC_RSS_OFFLOADS (ETH_RSS_IP | ETH_RSS_TCP)
-
/*
* +---------------+
* | UNINITIALIZED |<-----------+
/*
* +---------------+
* | UNINITIALIZED |<-----------+
@@
-154,10
+151,19
@@
struct sfc_port {
uint32_t mac_stats_mask[EFX_MAC_STATS_MASK_NPAGES];
};
uint32_t mac_stats_mask[EFX_MAC_STATS_MASK_NPAGES];
};
+struct sfc_rss_hf_rte_to_efx {
+ uint64_t rte;
+ efx_rx_hash_type_t efx;
+};
+
struct sfc_rss {
unsigned int channels;
efx_rx_scale_context_type_t context_type;
efx_rx_hash_support_t hash_support;
struct sfc_rss {
unsigned int channels;
efx_rx_scale_context_type_t context_type;
efx_rx_hash_support_t hash_support;
+ efx_rx_hash_alg_t hash_alg;
+ unsigned int hf_map_nb_entries;
+ struct sfc_rss_hf_rte_to_efx *hf_map;
+
efx_rx_hash_type_t hash_types;
unsigned int tbl[EFX_RSS_TBL_SIZE];
uint8_t key[EFX_RSS_KEY_SIZE];
efx_rx_hash_type_t hash_types;
unsigned int tbl[EFX_RSS_TBL_SIZE];
uint8_t key[EFX_RSS_KEY_SIZE];
@@
-232,6
+238,8
@@
struct sfc_adapter {
boolean_t tso;
boolean_t tso;
+ uint32_t rxd_wait_timeout_ns;
+
struct sfc_rss rss;
/*
struct sfc_rss rss;
/*