Re: [PATCH net v4 1/2] net/mlx5e: Update hw flows when encap source mac changed

2019-01-27 Thread Or Gerlitz
On Sun, Jan 27, 2019 at 1:06 PM wrote: > From: Tonghao Zhang > > 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. > > T

[PATCH net v4 1/2] net/mlx5e: Update hw flows when encap source mac changed

2019-01-27 Thread xiangxia . m . yue
From: Tonghao Zhang 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