summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_vdpa.c
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2021-10-26 20:55:19 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-11-01 05:26:49 -0400
commit540061ac79f0302ae91e44e6cd216cbaa3af1757 (patch)
tree31155257eab84e9db51a91c73d0574fd7f60bb0a /drivers/virtio/virtio_vdpa.c
parenta007d940040c0b3d1fcb5f39159c2b141b85eae0 (diff)
vdpa/mlx5: Forward only packets with allowed MAC address
Add rules to forward packets to the net device's TIR only if the destination MAC is equal to the configured MAC. This is required to prevent the netdevice from receiving traffic not destined to its configured MAC. Signed-off-by: Eli Cohen <elic@nvidia.com> Reviewed-by: Parav Pandit <parav@nvidia.com> Link: https://lore.kernel.org/r/20211026175519.87795-9-parav@nvidia.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_vdpa.c')
0 files changed, 0 insertions, 0 deletions