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:
5f16424
)
net/ice: fix input set of VLAN item
author
Wei Zhao
<wei.zhao1@intel.com>
Fri, 3 Apr 2020 04:46:07 +0000
(12:46 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:06 +0000
(13:57 +0200)
The input set for inner type of vlan item should
be ICE_INSET_ETHERTYPE, not ICE_INSET_VLAN_OUTER.
This mac vlan filter is also part of DCF switch filter.
Fixes:
47d460d63233
("net/ice: rework switch filter")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_switch_filter.c
patch
|
blob
|
history
diff --git
a/drivers/net/ice/ice_switch_filter.c
b/drivers/net/ice/ice_switch_filter.c
index
81d069e
..
686f9c3
100644
(file)
--- a/
drivers/net/ice/ice_switch_filter.c
+++ b/
drivers/net/ice/ice_switch_filter.c
@@
-911,7
+911,7
@@
ice_switch_inset_get(const struct rte_flow_item pattern[],
vlan_spec->inner_type;
list[t].m_u.vlan_hdr.type =
vlan_mask->inner_type;
- input_set |= ICE_INSET_
VLAN_OUTER
;
+ input_set |= ICE_INSET_
ETHERTYPE
;
}
t++;
}