diff options
author | Eli Cohen <[email protected]> | 2022-02-21 14:19:27 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2022-03-28 16:52:58 -0400 |
commit | 1e00e821e4ca6355c7fff9f69a4c5ecd78e348a0 (patch) | |
tree | fa992eb9aab4fa3537eb0d9f0760a27913b5fe07 /lib/netdev-notifier-error-inject.c | |
parent | ea993de113b85557ed34da8f7b4af0629550e023 (diff) |
net/mlx5: Add support for configuring max device MTU
Allow an admin creating a vdpa device to specify the max MTU for the
net device.
For example, to create a device with max MTU of 1000, the following
command can be used:
$ vdpa dev add name vdpa-a mgmtdev auxiliary/mlx5_core.sf.1 mtu 1000
This configuration mechanism assumes that vdpa is the sole real user of
the function. mlx5_core could theoretically change the mtu of the
function using the ip command on the mlx5_core net device but this
should not be done.
Reviewed-by: Si-Wei Liu<[email protected]>
Signed-off-by: Eli Cohen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions