commit | 3ceb745baa4c90eb34dee983053fcbd2d8825a20 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Sun Feb 10 19:35:27 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 11 20:39:55 2019 -0800 |
tree | 9dd8f0c91c2b0b05bd9310a0ab60401c611650fd | |
parent | b904aada8033749558e3aaeb574a2200bf0458f0 [diff] |
devlink: fix condition for compat device info We need the port to be both ethernet and have the rigth netdev, not one or the other. Fixes: ddb6e99e2db1 ("ethtool: add compat for devlink info") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>