diff options
author | Amritha Nambiar <amritha.nambiar@intel.com> | 2022-02-09 04:06:05 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-03-09 21:05:32 +0300 |
commit | 02ddec1986ff0b8de20094aae2fa5b8f8ee7e1a3 (patch) | |
tree | a38babb113c6a3113070afe40459d7df41e27a2a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 457a02f03e9207421931471fe50ed3fba70aa868 (diff) | |
download | linux-02ddec1986ff0b8de20094aae2fa5b8f8ee7e1a3.tar.xz |
ice: Add support for outer dest MAC for ADQ tunnels
TC flower does not support matching on user specified
outer MAC address for tunnels. For ADQ tunnels, the driver
adds outer destination MAC address as lower netdev's
active unicast MAC address to filter out packets with
unrelated MAC address being delivered to ADQ VSIs.
Example:
- create tunnel device
ip l add $VXLAN_DEV type vxlan id $VXLAN_VNI dstport $VXLAN_PORT \
dev $PF
- add TC filter (in ADQ mode)
$tc filter add dev $VXLAN_DEV protocol ip parent ffff: flower \
dst_ip $INNER_DST_IP ip_proto tcp dst_port $INNER_DST_PORT \
enc_key_id $VXLAN_VNI hw_tc $ADQ_TC
Note: Filters with wild-card tunnel ID (when user does not
specify tunnel key) are also supported.
Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions