From: David S. Miller Date: Sat, 16 May 2020 20:56:30 +0000 (-0700) Subject: Merge branch 'ethtool-set_channels-add-a-few-more-checks' X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1ab9b5eabbab5427d4b36ab70816358c790bb192;p=uclinux-h8%2Flinux.git Merge branch 'ethtool-set_channels-add-a-few-more-checks' Jakub Kicinski says: ==================== ethtool: set_channels: add a few more checks There seems to be a few more things we can check in the core before we call drivers' ethtool_ops->set_channels. Adding the checks to the core simplifies the drivers. This set only includes changes to the NFP driver as an example. There is a small risk in the first patch that someone actually purposefully accepts a strange configuration without RX or TX channels, but I couldn't find such a driver in the tree. ==================== Signed-off-by: David S. Miller --- 1ab9b5eabbab5427d4b36ab70816358c790bb192