View | Details | Raw Unified | Return to bug 255309
Collapse All | Expand All

(-)sys/dev/ice/ice_lib.h (+1 lines)
Lines 65-70 Link Here
65
#include "ice_sched.h"
65
#include "ice_sched.h"
66
#include "ice_resmgr.h"
66
#include "ice_resmgr.h"
67
67
68
#include "ice_opts.h"
68
#include "ice_rss.h"
69
#include "ice_rss.h"
69
70
70
/* Hide debug sysctls unless INVARIANTS is enabled */
71
/* Hide debug sysctls unless INVARIANTS is enabled */
(-)sys/dev/ice/ice_rss.h (-8 / +8 lines)
Lines 69-82 Link Here
69
#define	RSS_HASHTYPE_RSS_UDP_IPV6	(1 << 9)	/* IPv6 UDP 4-tuple */
69
#define	RSS_HASHTYPE_RSS_UDP_IPV6	(1 << 9)	/* IPv6 UDP 4-tuple */
70
#define	RSS_HASHTYPE_RSS_UDP_IPV6_EX	(1 << 10)	/* IPv6 UDP 4-tuple + ext hdrs */
70
#define	RSS_HASHTYPE_RSS_UDP_IPV6_EX	(1 << 10)	/* IPv6 UDP 4-tuple + ext hdrs */
71
71
72
#define ICE_DEFAULT_RSS_HASH_CONFIG \
73
	((u_int)(RSS_HASHTYPE_RSS_IPV4 | \
74
		 RSS_HASHTYPE_RSS_TCP_IPV4 | \
75
		 RSS_HASHTYPE_RSS_UDP_IPV4 | \
76
		 RSS_HASHTYPE_RSS_IPV6 | \
77
		 RSS_HASHTYPE_RSS_TCP_IPV6 | \
78
		 RSS_HASHTYPE_RSS_UDP_IPV6))
79
80
#define rss_getkey(key) ice_get_default_rss_key(key)
72
#define rss_getkey(key) ice_get_default_rss_key(key)
81
#define rss_getnumbuckets() (mp_ncpus)
73
#define rss_getnumbuckets() (mp_ncpus)
82
#define rss_get_indirection_to_bucket(index) (index)
74
#define rss_get_indirection_to_bucket(index) (index)
Lines 114-117 Link Here
114
106
115
#endif /* !RSS */
107
#endif /* !RSS */
116
108
109
#define ICE_DEFAULT_RSS_HASH_CONFIG \
110
	((u_int)(RSS_HASHTYPE_RSS_IPV4 | \
111
		RSS_HASHTYPE_RSS_TCP_IPV4 | \
112
		RSS_HASHTYPE_RSS_UDP_IPV4 | \
113
		RSS_HASHTYPE_RSS_IPV6 | \
114
		RSS_HASHTYPE_RSS_TCP_IPV6 | \
115
		RSS_HASHTYPE_RSS_UDP_IPV6))
116
117
#endif /* _ICE_COMMON_COMPAT_H_ */
117
#endif /* _ICE_COMMON_COMPAT_H_ */

Return to bug 255309