aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_ptp.c
diff options
context:
space:
mode:
authorAndre Guedes <[email protected]>2021-03-09 23:13:16 -0800
committerTony Nguyen <[email protected]>2021-03-29 08:49:20 -0700
commit613cf199fd10a610d46dd6b3a6eb3b14fe2b1104 (patch)
tree6417c8c09fd2b9cdf335e69508396466b954cad6 /drivers/net/ethernet/intel/igc/igc_ptp.c
parent2f019ebd5330c38e3c28fc8d35cc0bce6f4ddfe4 (diff)
igc: Introduce igc_rx_buffer_flip() helper
The igc driver implements the same page recycling scheme from other Intel drivers which reuses the page by flipping the buffer. The code to handle buffer flips is duplicated in many locations so introduce the igc_rx_buffer_flip() helper and use 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