diff options
author | 2020-09-17 10:52:57 -0700 | |
---|---|---|
committer | 2020-09-17 17:59:12 -0700 | |
commit | 5f6857e808a8bd078296575b417c4b9d160b9779 (patch) | |
tree | 91af24b5e6fec5e7d15cbe10423836f6c9ebdb24 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hinic: fix potential resource leak (diff) | |
download | wireguard-linux-5f6857e808a8bd078296575b417c4b9d160b9779.tar.xz wireguard-linux-5f6857e808a8bd078296575b417c4b9d160b9779.zip |
nfp: use correct define to return NONE fec
struct ethtool_fecparam carries bitmasks not bit numbers.
We want to return 1 (NONE), not 0.
Fixes: 0d0870938337 ("nfp: implement ethtool FEC mode settings")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions