aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-07-20 10:41:50 +0200
committerDavid S. Miller <davem@davemloft.net>2021-07-20 06:11:18 -0700
commit4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 (patch)
treec2ac1a7f7a92478c19dc720a820178001b1a1606 /net/switchdev/switchdev.c
parentdedd53c5e075e4277f2a01c6d78318ac16e645c3 (diff)
downloadlinux-4752eeb3d891c27905a8fdf4d80e899c0efd4ec7.tar.gz
linux-4752eeb3d891c27905a8fdf4d80e899c0efd4ec7.tar.bz2
linux-4752eeb3d891c27905a8fdf4d80e899c0efd4ec7.zip
veth: implement support for set_channel ethtool op
This change implements the set_channel() ethtool operation, preserving the current defaults values and allowing up set the number of queues in the range set ad device creation time. The update operation tries hard to leave the device in a consistent status in case of errors. RFC v1 -> RFC v2: - don't flip device status on set_channel() - roll-back the changes if possible on error - Jackub Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions