vdpa/mlx5: support MTU feature
authorMatan Azrad <matan@mellanox.com>
Thu, 18 Jun 2020 19:06:03 +0000 (19:06 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 30 Jun 2020 12:52:29 +0000 (14:52 +0200)
commit441476b0003b30e9990dce921d9a1b2da3188181
tree124d44ae99ef3895beb5de0b10b9f1757a02b111
parentaec086c9f1c81b583ca8b9f7b50f32452d27840e
vdpa/mlx5: support MTU feature

The guest virtio device may request MTU updating when the vhost backend
device exposes a capability to support it.

Expose the MTU feature capability.

At configuration time, check the requested MTU and update it in the HW
device.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/rel_notes/release_20_08.rst
doc/guides/vdpadevs/features/mlx5.ini
drivers/vdpa/mlx5/mlx5_vdpa.c