linux/drivers/net/ethernet/intel/ice
Wojciech Drewek 3f13f570ff 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>
2021-10-19 10:53:27 -07:00
..
ice.h ice: make use of ice_for_each_* macros 2021-10-15 07:39:03 -07:00
ice_adminq_cmd.h ice: Add support for SMA control multiplexer 2021-10-14 07:37:30 -07:00
ice_arfs.c ice: make use of ice_for_each_* macros 2021-10-15 07:39:03 -07:00
ice_arfs.h
ice_base.c ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_base.h ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_common.c ice: Add support for SMA control multiplexer 2021-10-14 07:37:30 -07:00
ice_common.h ice: Add support for SMA control multiplexer 2021-10-14 07:37:30 -07:00
ice_controlq.c
ice_controlq.h
ice_dcb.c ice: Add DSCP support 2021-09-28 09:42:04 -07:00
ice_dcb.h ice: Add DSCP support 2021-09-28 09:42:04 -07:00
ice_dcb_lib.c ice: make use of ice_for_each_* macros 2021-10-15 07:39:03 -07:00
ice_dcb_lib.h ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_dcb_nl.c ice: Add feature bitmap, helpers and a check for DSCP 2021-09-28 09:42:04 -07:00
ice_dcb_nl.h
ice_devids.h ice: Add support for SMA control multiplexer 2021-10-14 07:37:30 -07:00
ice_devlink.c ice: Move devlink port to PF/VF struct 2021-10-07 10:41:41 -07:00
ice_devlink.h ice: Move devlink port to PF/VF struct 2021-10-07 10:41:41 -07:00
ice_eswitch.c ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_eswitch.h ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_ethtool.c ice: Refactor PR ethtool ops 2021-10-19 10:53:27 -07:00
ice_ethtool_fdir.c
ice_fdir.c ice: Fix macro name for IPv4 fragment flag 2021-09-28 09:42:04 -07:00
ice_fdir.h ice: Fix macro name for IPv4 fragment flag 2021-09-28 09:42:04 -07:00
ice_flex_pipe.c ice: create advanced switch recipe 2021-10-11 08:38:27 -07:00
ice_flex_pipe.h ice: create advanced switch recipe 2021-10-11 08:38:27 -07:00
ice_flex_type.h ice: manage profiles and field vectors 2021-10-11 08:36:25 -07:00
ice_flow.c
ice_flow.h
ice_fltr.c ice: Manage act flags for switchdev offloads 2021-10-19 10:53:26 -07:00
ice_fltr.h ice: Manage act flags for switchdev offloads 2021-10-19 10:53:26 -07:00
ice_fw_update.c
ice_fw_update.h
ice_hw_autogen.h ice: fix software generating extra interrupts 2021-10-19 10:45:17 -07:00
ice_idc.c ice: Correctly deal with PFs that do not support RDMA 2021-09-10 09:58:55 +01:00
ice_idc_int.h
ice_lag.c
ice_lag.h
ice_lan_tx_rx.h ice: switchdev slow path 2021-10-07 10:41:42 -07:00
ice_lib.c ice: fix rate limit update after coalesce change 2021-10-19 10:45:16 -07:00
ice_lib.h ice: update dim usage and moderation 2021-10-19 10:45:16 -07:00
ice_main.c ice: update dim usage and moderation 2021-10-19 10:45:16 -07:00
ice_nvm.c
ice_nvm.h
ice_osdep.h
ice_protocol_type.h ice: create advanced switch recipe 2021-10-11 08:38:27 -07:00
ice_ptp.c ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_ptp.h ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_ptp_hw.c ice: Add support for SMA control multiplexer 2021-10-14 07:37:30 -07:00
ice_ptp_hw.h ice: Add support for SMA control multiplexer 2021-10-14 07:37:30 -07:00
ice_repr.c ice: ndo_setup_tc implementation for PR 2021-10-11 09:03:08 -07:00
ice_repr.h ice: rebuild switchdev when resetting all VFs 2021-10-07 10:41:42 -07:00
ice_sbq_cmd.h
ice_sched.c ice: Add support for VF rate limiting 2021-10-19 09:22:31 -07:00
ice_sched.h ice: Add support for VF rate limiting 2021-10-19 09:22:31 -07:00
ice_sriov.c
ice_sriov.h
ice_status.h
ice_switch.c ice: Manage act flags for switchdev offloads 2021-10-19 10:53:26 -07:00
ice_switch.h ice: Manage act flags for switchdev offloads 2021-10-19 10:53:26 -07:00
ice_tc_lib.c ice: Manage act flags for switchdev offloads 2021-10-19 10:53:26 -07:00
ice_tc_lib.h ice: ndo_setup_tc implementation for PR 2021-10-11 09:03:08 -07:00
ice_trace.h ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
ice_txrx.c ice: fix software generating extra interrupts 2021-10-19 10:45:17 -07:00
ice_txrx.h ice: introduce XDP_TX fallback path 2021-10-15 07:39:03 -07:00
ice_txrx_lib.c ice: introduce XDP_TX fallback path 2021-10-15 07:39:03 -07:00
ice_txrx_lib.h ice: propagate xdp_ring onto rx_ring 2021-10-15 07:39:03 -07:00
ice_type.h ice: Add support for SMA control multiplexer 2021-10-14 07:37:30 -07:00
ice_virtchnl_allowlist.c
ice_virtchnl_allowlist.h
ice_virtchnl_fdir.c
ice_virtchnl_fdir.h
ice_virtchnl_pf.c ice: Forbid trusted VFs in switchdev mode 2021-10-19 10:53:26 -07:00
ice_virtchnl_pf.h ice: Add support for VF rate limiting 2021-10-19 09:22:31 -07:00
ice_xsk.c ice: propagate xdp_ring onto rx_ring 2021-10-15 07:39:03 -07:00
ice_xsk.h ice: split ice_ring onto Tx/Rx separate structs 2021-10-15 07:39:02 -07:00
Makefile ice: ndo_setup_tc implementation for PF 2021-10-11 09:03:04 -07:00