diff options
author | Eli Cohen <elic@nvidia.com> | 2021-11-24 19:09:49 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-01-14 18:50:52 -0500 |
commit | 60af39c1f4cc92cc2785ef745c0c97558134d539 (patch) | |
tree | 0a4c1558a1234fcf92ea692dad9887de1f8810f9 /samples | |
parent | 57c5a5b304b0d3798b2d3dc75bd6c960d78ee8ff (diff) | |
download | linux-60af39c1f4cc92cc2785ef745c0c97558134d539.tar.gz |
net/mlx5_vdpa: Offer VIRTIO_NET_F_MTU when setting MTU
Make sure to offer VIRTIO_NET_F_MTU since we configure the MTU based on what was queried from the device. This allows the virtio driver to allocate large enough buffers based on the reported MTU. Signed-off-by: Eli Cohen <elic@nvidia.com> Link: https://lore.kernel.org/r/20211124170949.51725-1-elic@nvidia.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions