diff options
author | Xin Long <[email protected]> | 2016-05-13 01:51:55 +0800 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-06-29 09:18:06 -0700 |
commit | b3a3c5176c146ec7de653a3062237620464175fb (patch) | |
tree | bce17fd2b08e385b25256de18a71aec30e2f9710 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 838086414b3cda5c592591f2b82256996306dab6 (diff) |
ixgbevf: ixgbevf_write/read_posted_mbx should use IXGBE_ERR_MBX to initialize ret_val
Now ixgbevf_write/read_posted_mbx use -IXGBE_ERR_MBX as the initiative
return value, but it's incorrect, cause in ixgbevf_vlan_rx_add_vid(),
it use err == IXGBE_ERR_MBX, the err returned from mac.ops.set_vfta,
and in ixgbevf_set_vfta_vf, it return from write/read_posted. so we
should initialize err with IXGBE_ERR_MBX, instead of -IXGBE_ERR_MBX.
With this fix, the other functions that called it also can work well,
cause they only care about if err is 0 or not.
Signed-off-by: Xin Long <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions