nfp: only report pause frame configuration for physical device
[ Upstream commit 0649e4d63420ebc8cbebef3e9d39e12ffc5eb9fa ]
Only report pause frame configuration for physical device. Logical
port of both PCI PF and PCI VF do not support it.
Fixes: 9fdc5d85a8fe ("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>
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment