linux/drivers/net/ethernet/intel/ice
Karol Kolacinski 88865fc4bb ice: Fix casting issues
Change min() macros to min_t() which has compare type specified and it
helps avoid precision loss.

In some cases there was precision loss during calls or assignments.
Some fields in structs were unnecessarily large and gave multiple
warnings.

There were also some minor type differences which are now fixed as well as
some cases where a simple cast was needed.

Callers were were passing data that is a u16 to
ice_sched_cfg_node_bw_alloc() but the function was truncating that to a u8.
Fix that by changing the function to take a u16.

Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-05-21 22:10:04 -07:00
..
ice_adminq_cmd.h ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_base.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_base.h ice: Add support to enable/disable all Rx queues before waiting 2020-02-15 16:39:55 -08:00
ice_common.c ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_common.h ice: add board identifier info to devlink .info_get 2020-03-21 01:02:19 -07:00
ice_controlq.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_controlq.h ice: Update FW API minor version 2019-11-22 13:43:46 -08:00
ice_dcb_lib.c ice: Fix check for contiguous TCs 2020-05-21 22:10:04 -07:00
ice_dcb_lib.h ice: Don't reset and rebuild for Tx timeout on PFC enabled queue 2020-05-21 22:10:03 -07:00
ice_dcb_nl.c ice: SW DCB, report correct max TC value 2020-02-19 13:09:20 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_devids.h ice: fix define for E822 backplane device 2020-02-19 13:39:33 -08:00
ice_devlink.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_devlink.h ice: add a devlink region for dumping NVM contents 2020-03-26 19:39:26 -07:00
ice_ethtool.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_flex_pipe.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_flex_pipe.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flex_type.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flow.c ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flow.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_hw_autogen.h ice: Don't reset and rebuild for Tx timeout on PFC enabled queue 2020-05-21 22:10:03 -07:00
ice_lan_tx_rx.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_lib.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_lib.h ice: use variable name more descriptive than type 2020-03-10 13:10:58 -07:00
ice_main.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_nvm.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_nvm.h ice: add board identifier info to devlink .info_get 2020-03-21 01:02:19 -07:00
ice_osdep.h
ice_protocol_type.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_sched.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c ice: remove unnecessary fallthrough comments 2020-02-15 16:56:48 -08:00
ice_sriov.h
ice_status.h ice: Populate TCAM filter software structures 2020-01-25 21:34:36 -08:00
ice_switch.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx_lib.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx_lib.h ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_type.h ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_virtchnl_pf.c ice: Provide more meaningful error message 2020-05-21 22:10:04 -07:00
ice_virtchnl_pf.h ice: Add VF promiscuous support 2020-05-21 22:10:03 -07:00
ice_xsk.c xdp: For Intel AF_XDP drivers add XDP frame_sz 2020-05-14 21:21:56 -07:00
ice_xsk.h ice: Use EOPNOTSUPP instead of ENOTSUPP 2020-03-10 13:10:53 -07:00
ice.h ice: Fix casting issues 2020-05-21 22:10:04 -07:00
Makefile ice: enable initial devlink support 2020-03-21 00:55:42 -07:00