diff options
| author | Andre Guedes <[email protected]> | 2021-04-23 06:25:52 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-05-20 17:21:06 +0000 |
| commit | 6123429516c7fc6a7ee2f0a9dbef8c0c16ffb7cc (patch) | |
| tree | a36602607651c83fcb97832711b0b3cdf9a7f802 /drivers/net/ethernet/intel/igc/igc_base.h | |
| parent | igc: Introduce TX/RX stats helpers (diff) | |
| download | kernel-6123429516c7fc6a7ee2f0a9dbef8c0c16ffb7cc.tar.gz kernel-6123429516c7fc6a7ee2f0a9dbef8c0c16ffb7cc.zip | |
igc: Introduce igc_unmap_tx_buffer() helper
In preparation for AF_XDP zero-copy support, encapsulate the code that
unmaps Tx buffers into its own local helper so we can reuse it, avoiding
code duplication.
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_base.h')
0 files changed, 0 insertions, 0 deletions
