aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ice/ice_rss.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ice/ice_rss.h')
-rw-r--r--sys/dev/ice/ice_rss.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ice/ice_rss.h b/sys/dev/ice/ice_rss.h
index ede1fad5abe7..df485f4b1f5a 100644
--- a/sys/dev/ice/ice_rss.h
+++ b/sys/dev/ice/ice_rss.h
@@ -68,14 +68,6 @@ CTASSERT(ICE_AQC_GET_SET_RSS_KEY_DATA_RSS_KEY_SIZE >= RSS_KEYSIZE);
#define RSS_HASHTYPE_RSS_UDP_IPV6 (1 << 9) /* IPv6 UDP 4-tuple */
#define RSS_HASHTYPE_RSS_UDP_IPV6_EX (1 << 10) /* IPv6 UDP 4-tuple + ext hdrs */
-#define ICE_DEFAULT_RSS_HASH_CONFIG \
- ((u_int)(RSS_HASHTYPE_RSS_IPV4 | \
- RSS_HASHTYPE_RSS_TCP_IPV4 | \
- RSS_HASHTYPE_RSS_UDP_IPV4 | \
- RSS_HASHTYPE_RSS_IPV6 | \
- RSS_HASHTYPE_RSS_TCP_IPV6 | \
- RSS_HASHTYPE_RSS_UDP_IPV6))
-
#define rss_getkey(key) ice_get_default_rss_key(key)
#define rss_getnumbuckets() (mp_ncpus)
#define rss_get_indirection_to_bucket(index) (index)
@@ -113,4 +105,12 @@ rss_hash2bucket(uint32_t hash_val, uint32_t hash_type, uint32_t *bucket_id)
#endif /* !RSS */
+#define ICE_DEFAULT_RSS_HASH_CONFIG \
+ ((u_int)(RSS_HASHTYPE_RSS_IPV4 | \
+ RSS_HASHTYPE_RSS_TCP_IPV4 | \
+ RSS_HASHTYPE_RSS_UDP_IPV4 | \
+ RSS_HASHTYPE_RSS_IPV6 | \
+ RSS_HASHTYPE_RSS_TCP_IPV6 | \
+ RSS_HASHTYPE_RSS_UDP_IPV6))
+
#endif /* _ICE_COMMON_COMPAT_H_ */