commit | 7be92514b99c15b89def6d72bbc84c354f89a025 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Fri May 15 12:49:00 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat May 16 13:56:30 2020 -0700 |
tree | 7a3f34fe230881653b8bf6a7cd18cbcdc32dd7a2 | |
parent | a0c1d0eafd1ef1ada3b588ea205e5bc37ae0d8d9 [diff] |
ethtool: check if there is at least one channel for TX/RX in the core Having a channel config with no ability to RX or TX traffic is clearly wrong. Check for this in the core so the drivers don't have to. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>