Thread (28 messages) 28 messages, 5 authors, 2013-12-10

Re: [net-next 09/14] i40e: Enable all PCTYPEs except FCOE for RSS.

flat view

From: Sergei Shtylyov <hidden>
Date: 2013-12-07 18:00:18

Hello.

On 07-12-2013 6:17, Jeff Kirsher wrote:
From: Anjali Singhai Jain <redacted>
RSS can steer packets based on recognition of all
sorts of different headers.  Enable some more of them.
Change-Id: I2264dedae66fb0bceca6fb6e772e050e3ca8efc8
   This line has no place in the upstream patches, and I'm seeing it in several patches of this series.
Signed-off-by: Anjali Singhai Jain <redacted>
Signed-off-by: Jesse Brandeburg <redacted>
Tested-by: Kavindya Deegala <redacted>
Signed-off-by: Jeff Kirsher <redacted>
---
  drivers/net/ethernet/intel/i40e/i40e_main.c | 38 ++++++++++++++++++-----------
  1 file changed, 24 insertions(+), 14 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 273db99..40c64c4 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -5615,15 +5615,34 @@ static int i40e_setup_misc_vector(struct i40e_pf *pf)
   **/
  static int i40e_config_rss(struct i40e_pf *pf)
  {
-	struct i40e_hw *hw = &pf->hw;
-	u32 lut = 0;
-	int i, j;
-	u64 hena;
+	const u64 default_hena =
+			((u64)1 << I40E_FILTER_PCTYPE_NONF_UNICAST_IPV4_UDP) |
   1ULL not good enough?

[...]

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help