diff options
author | Wojciech Drewek <wojciech.drewek@intel.com> | 2021-10-08 10:44:03 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-19 10:53:27 -0700 |
commit | 3f13f570ff2c413dbdf088058a3e019db376f49d (patch) | |
tree | 77a876e4b2eb369f8a98917fceaa80ee41ba5ae6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 73b483b7902918cd7de3481313ed4943eb9c3f3b (diff) |
ice: Refactor PR ethtool ops
This patch improves a few things:
- it fixes issue where ethtool -i reports that PR supports
priv-flags and tests when in fact it does not support them
- instead of using the same functions for both PF and PR ethtool ops,
this patch introduces separate ops for both cases and internal
functions with core logic.
- prevent accessing VF VSI while VF is not ready by calling
ice_check_vf_ready_for_cfg
- all PR specific functions in ethtool.c were moved to one place in
file
- instead overwriting n_priv_flags in ice_repr_get_drvinfo,
priv-flags code was moved from __ice_get_drvinfo to ice_get_drvinfo
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions