aboutsummaryrefslogtreecommitdiffstats
path: root/net/xdp
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-10-01 14:51:35 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-10-05 09:31:00 +0200
commitb8c8a2e2e3758be93959587e6b19aadbb0ce7275 (patch)
tree527a9a97a73ce3b6af3427b18e83fde0df924fdf /net/xdp
parentxsk: fix bug when trying to use both copy and zero-copy on one queue id (diff)
downloadlinux-dev-b8c8a2e2e3758be93959587e6b19aadbb0ce7275.tar.xz
linux-dev-b8c8a2e2e3758be93959587e6b19aadbb0ce7275.zip
ethtool: rename local variable max -> curr
ethtool_set_channels() validates the config against driver's max settings. It retrieves the current config and stores it in a variable called max. This was okay when only max settings were accessed but we will soon want to access current settings as well, so calling the entire structure max makes the code less readable. While at it drop unnecessary parenthesis. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions