On Sun, Jan 27, 2019 at 1:06 PM <[email protected]> wrote:
> From: Tonghao Zhang <[email protected]>
>
> 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]>

+1 again

this one is good to go upstream

Reply via email to