Thread (26 messages) 26 messages, 5 authors, 2013-12-21

Re: [net-next v3 14/16] i40e: make a define from a large constant

flat view

From: Joe Perches <joe@perches.com>
Date: 2013-12-20 18:40:17

On Fri, 2013-12-20 at 10:21 -0800, Jeff Kirsher wrote:
Make a define used in the header file by both VF and PF drivers.
[]
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.h b/drivers/net/ethernet/intel/i40e/i40e_txrx.h
[]
quoted hunk ↗ jump to hunk
@@ -66,6 +66,26 @@ enum i40e_dyn_idx_t {
[]
quoted hunk ↗ jump to hunk
+/* Supported RSS offloads */
+#define I40E_DEFAULT_RSS_HENA ( \
+	((u64)1 << I40E_FILTER_PCTYPE_NONF_UNICAST_IPV4_UDP) | \
BIT_ULL
+	((u64)1 << I40E_FILTER_PCTYPE_NONF_MULTICAST_IPV4_UDP) | \
etc...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help