git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6ac48
)
net/ixgbe/base: add IPv6 mask for flow director
author
Guinan Sun
<guinanx.sun@intel.com>
Thu, 9 Jul 2020 08:00:42 +0000
(08:00 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000
(06:18 +0200)
Write FDIRIP6M register to allow flow director filter
to set ipv6 rules without setting ipv6 source/destination address.
Signed-off-by: Piotr Skajewski <piotrx.skajewski@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/ixgbe/base/ixgbe_82599.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/base/ixgbe_82599.c
b/drivers/net/ixgbe/base/ixgbe_82599.c
index
e425f28
..
69fd4cd
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_82599.c
+++ b/
drivers/net/ixgbe/base/ixgbe_82599.c
@@
-1832,6
+1832,7
@@
s32 ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw,
~input_mask->formatted.src_ip[0]);
IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRDIP4M,
~input_mask->formatted.dst_ip[0]);
+ IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRIP6M, 0xFFFFFFFF);
}
return IXGBE_SUCCESS;
}