diff options
author | Andre Guedes <[email protected]> | 2021-03-09 23:13:17 -0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-03-29 08:49:20 -0700 |
commit | a39f5e530559e0e39ab26b28ce5fa9550fd3ec5b (patch) | |
tree | a9c725021b759cdc09234bfcd73042fa0e527614 /drivers/net/ethernet/intel/igc/igc_ptp.c | |
parent | 613cf199fd10a610d46dd6b3a6eb3b14fe2b1104 (diff) |
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 <[email protected]>
Signed-off-by: Vedang Patel <[email protected]>
Signed-off-by: Jithu Joseph <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Tested-by: Dvora Fuxbrumer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ptp.c')
0 files changed, 0 insertions, 0 deletions