mirror_ubuntu-kernels/drivers/net/ethernet/intel/igc
Andre Guedes a39f5e5305 igc: Introduce igc_get_rx_frame_truesize() helper
The RX frame truesize calculation is scattered throughout the RX code.
This patch creates the helper function igc_get_rx_frame_truesize() and
uses it where applicable.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-03-29 08:49:20 -07:00
..
igc_base.c igc: Add new device ID 2020-12-10 13:13:24 -08:00
igc_base.h igc: Add tx_csum offload functionality 2019-09-09 11:37:14 -07:00
igc_defines.h igc: Remove unused MII_CR_LOOPBACK 2021-03-19 13:53:49 -07:00
igc_diag.c igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
igc_diag.h igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00
igc_dump.c igc: Fix TDBAL register show incorrect value 2021-02-03 16:32:17 -08:00
igc_ethtool.c igc: Fix Supported Pause Frame Link Setting 2021-03-11 09:37:48 -08:00
igc_hw.h igc: Clean up nvm_operations structure 2021-02-03 15:20:32 -08:00
igc_i225.c igc: Fix prototype warning 2021-03-23 11:34:02 -07:00
igc_i225.h igc: Add initial LTR support 2020-06-29 18:21:09 -07:00
igc_mac.c igc: check return value of ret_val in igc_config_fc_after_link_up 2021-02-01 10:04:43 -08:00
igc_mac.h igc: remove IGC_REMOVED function 2020-05-19 15:01:48 -07:00
igc_main.c igc: Introduce igc_get_rx_frame_truesize() helper 2021-03-29 08:49:20 -07:00
igc_nvm.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_nvm.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_phy.c igc: Expose the gPHY firmware version 2021-02-03 15:20:32 -08:00
igc_phy.h igc: Expose the gPHY firmware version 2021-02-03 15:20:32 -08:00
igc_ptp.c igc: Fix igc_ptp_rx_pktstamp() 2021-03-11 09:37:48 -08:00
igc_regs.h igc: Expose the gPHY firmware version 2021-02-03 15:20:32 -08:00
igc_tsn.c igc: Add support for ETF offloading 2020-04-17 10:19:24 -07:00
igc_tsn.h igc: Add support for taprio offloading 2020-04-17 10:19:24 -07:00
igc.h igc: Fix igc_ptp_rx_pktstamp() 2021-03-11 09:37:48 -08:00
Makefile igc: add support to eeprom, registers and link self-tests 2020-05-18 15:06:28 -07:00