]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: only report pause frame configuration for physical device
authorYu Xiao <yu.xiao@corigine.com>
Fri, 27 May 2022 18:24:24 +0000 (20:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 May 2022 11:44:34 +0000 (12:44 +0100)
commit374768a018fd56152d0dfbe986af6f9b5c3612f5
treedebf0d84aaeaa659f0ebf3bfcf36604e13845121
parent08346eb5e74400b3b81f6a853c2a324016d6e72a
nfp: only report pause frame configuration for physical device

Only report pause frame configuration for physical device. Logical
port of both PCI PF and PCI VF do not support it.

Fixes: e67e52fc3d6c ("nfp: update ethtool reporting of pauseframe control")
Signed-off-by: Yu Xiao <yu.xiao@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c