aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc.h
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@intel.com>2021-04-22 23:25:52 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-05-20 10:21:06 -0700
commit6123429516c7fc6a7ee2f0a9dbef8c0c16ffb7cc (patch)
treea36602607651c83fcb97832711b0b3cdf9a7f802 /drivers/net/ethernet/intel/igc/igc.h
parenta27e6e73e5501fd0cb84467d71ddeac9a5855e0b (diff)
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 <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>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc.h')
0 files changed, 0 insertions, 0 deletions