diff options
author | Michael Qiu <qiudayu@archeros.com> | 2022-03-28 08:48:12 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-03-28 23:52:59 +0300 |
commit | f1781bedea8cae7f26aa0f20a00017ab746d4d4c (patch) | |
tree | df00871891e0212bb23f052342d877209b0e2f6c /net/802 | |
parent | 3f63a1d7f6f500b6891b1003cec3e23ea4996a2e (diff) | |
download | linux-f1781bedea8cae7f26aa0f20a00017ab746d4d4c.tar.xz |
vdpa/mlx5: re-create forwarding rules after mac modified
When MAC Address has been modified in guest, we only re-add the
Mac to mpfs, it is not enough, because the guest network will
not work correctly: the reply package from outside will go
straight away to the host VF net interface.
This patch recreate the flow rules, and make it work correctly.
Signed-off-by: Michael Qiu <qiudayu@archeros.com>
Link: https://lore.kernel.org/r/1648446492-17614-1-git-send-email-08005325@163.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions