aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorTonghao Zhang <[email protected]>2019-08-01 16:40:59 +0800
committerSaeed Mahameed <[email protected]>2019-08-01 12:33:33 -0700
commit6830b468259b45e3b73070474b8cec9388aa8c11 (patch)
treee9109dc7925d3b8935a6a98cdd3c85ac00b646c2 /tools/perf/scripts/python/intel-pt-events.py
parentc9e6c7209a9a26a0281b311c6880b9e2382ad635 (diff)
net/mlx5e: Allow dropping specific tunnel packets
In some case, we don't want to allow specific tunnel packets to host that can avoid to take up high CPU (e.g network attacks). But other tunnel packets which not matched in hardware will be sent to host too. $ tc filter add dev vxlan_sys_4789 \ protocol ip chain 0 parent ffff: prio 1 handle 1 \ flower dst_ip 1.1.1.100 ip_proto tcp dst_port 80 \ enc_dst_ip 2.2.2.100 enc_key_id 100 enc_dst_port 4789 \ action tunnel_key unset pipe action drop Signed-off-by: Tonghao Zhang <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions