]> 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)
commit090831eb14b034e423c6510cfea316162672149e
treedebf0d84aaeaa659f0ebf3bfcf36604e13845121
parentc216dfef7c4ff0c5850ac69e49c9b5fa3af8fc54
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: 6347f10e42e4 ("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