aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTonghao Zhang <[email protected]>2019-01-28 15:28:05 -0800
committerDavid S. Miller <[email protected]>2019-02-06 17:12:13 -0800
commit6707f74be8621ae067d2cf1c4485900e2742c20f (patch)
tree6b761039cec2fcde0625d59407e86a8c35dbab47 /tools/perf/scripts/python/export-to-postgresql.py
parent2ba036b970b7dffc2b114c960d68d156f0b16689 (diff)
net/mlx5e: Update hw flows when encap source mac changed
When we offload tc filters to hardware, hardware flows can be updated when mac of encap destination ip is changed. But we ignore one case, that the mac of local encap ip can be changed too, so we should also update them. To fix it, add route_dev in mlx5e_encap_entry struct to save the local encap netdevice, and when mac changed, kernel will flush all the neighbour on the netdevice and send NETEVENT_NEIGH_UPDATE event. The mlx5 driver will delete the flows and add them when neighbour available again. Fixes: 232c001398ae ("net/mlx5e: Add support to neighbour update flow") Cc: Hadar Hen Zion <[email protected]> Signed-off-by: Tonghao Zhang <[email protected]> Reviewed-by: Or Gerlitz <[email protected]> Acked-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions