git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice: fix IPv6 UDP port matching
[dpdk.git]
/
drivers
/
net
/
ice
/
ice_fdir_filter.c
diff --git
a/drivers/net/ice/ice_fdir_filter.c
b/drivers/net/ice/ice_fdir_filter.c
index
a85a02c
..
736ccd5
100644
(file)
--- a/
drivers/net/ice/ice_fdir_filter.c
+++ b/
drivers/net/ice/ice_fdir_filter.c
@@
-1609,9
+1609,9
@@
ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,
ICE_FLTR_PTYPE_NONF_IPV4_UDP;
} else if (l3 == RTE_FLOW_ITEM_TYPE_IPV6) {
filter->input.ip.v6.src_port =
ICE_FLTR_PTYPE_NONF_IPV4_UDP;
} else if (l3 == RTE_FLOW_ITEM_TYPE_IPV6) {
filter->input.ip.v6.src_port =
- udp_spec->hdr.src_port;
- filter->input.ip.v6.dst_port =
udp_spec->hdr.dst_port;
udp_spec->hdr.dst_port;
+ filter->input.ip.v6.dst_port =
+ udp_spec->hdr.src_port;
flow_type =
ICE_FLTR_PTYPE_NONF_IPV6_UDP;
}
flow_type =
ICE_FLTR_PTYPE_NONF_IPV6_UDP;
}