On Wed, Jan 30, 2019 at 12:20 AM Saeed Mahameed <sae...@mellanox.com> wrote: > > On Mon, 2019-01-28 at 15:28 -0800, xiangxia.m....@gmail.com wrote: > > From: Tonghao Zhang <xiangxia.m....@gmail.com> > > > > 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 <had...@mellanox.com> > > Signed-off-by: Tonghao Zhang <xiangxia.m....@gmail.com> > > Reviewed-by: Or Gerlitz <ogerl...@mellanox.com> > > > > > > Thank you Tonghao and Or. > > Acked-by: Saeed Mahameed <sae...@mellanox.com>
Dave, I see a copy of the patch on patchworks [1] with status being not applicable, what is missing here? the patch should apply AFAIK. There was also another patch reviewed here by me and Saeed [2], not sure where it stands from your side. [1] https://patchwork.ozlabs.org/patch/1023844/ [2] https://marc.info/?l=linux-netdev&m=154878514916414&w=2