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:
ca180ce
)
net/ice/base: modify ptype bitmap for outer MAC
author
Qi Zhang
<qi.z.zhang@intel.com>
Fri, 18 Sep 2020 04:59:44 +0000
(12:59 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:03 +0000
(23:35 +0100)
Add below ptypes into ice_ptypes_mac_ofos:
MAC_IPV4[6]_ESP
MAC_IPV4[6]_AH
MAC_IPV4[6]_NAT_T_ESP
MAC_IPV4[6]_NAT_T_IKE
MAC_IPV4[6]_NAT_T_KEEP
MAC_IPV4[6]_PFCP_NODE
MAC_IPV4[6]_PFCP_SESSION
MAC_IPV4[6]_L2TPV3
So above ptype can also be selected by a filter when outer mac header
is required.
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_flow.c
patch
|
blob
|
history
diff --git
a/drivers/net/ice/base/ice_flow.c
b/drivers/net/ice/base/ice_flow.c
index
601ca25
..
45990ae
100644
(file)
--- a/
drivers/net/ice/base/ice_flow.c
+++ b/
drivers/net/ice/base/ice_flow.c
@@
-197,8
+197,8
@@
struct ice_flow_field_info ice_flds_info[ICE_FLOW_FIELD_IDX_MAX] = {
*/
static const u32 ice_ptypes_mac_ofos[] = {
0xFDC00846, 0xBFBF7F7E, 0xF70001DF, 0xFEFDFDFB,
- 0x0000077E, 0x00000
000
, 0x00000000, 0x00000000,
- 0x00400000, 0x03FFF000, 0x
7FFFFFE0, 0x00000000
,
+ 0x0000077E, 0x00000
3FF
, 0x00000000, 0x00000000,
+ 0x00400000, 0x03FFF000, 0x
FFFFFFE0, 0x00000307
,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,