diff options
author | Andre Guedes <andre.guedes@intel.com> | 2021-04-22 23:25:51 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-05-20 10:17:06 -0700 |
commit | a27e6e73e5501fd0cb84467d71ddeac9a5855e0b (patch) | |
tree | ebb554bd2ce1f5085c5772b08caab0c7851bc8dd /drivers/net/ethernet/intel/igc/igc_base.h | |
parent | 4609ffb9f6157880e76c038f8df4fbf4e148a41a (diff) |
igc: Introduce TX/RX stats helpers
In preparation for AF_XDP zero-copy support, encapsulate the code that
updates the driver RX stats in its own local helper so it can be reused
in the zero-copy path. Likewise, encapsulate TX stats code as well.
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_base.h')
0 files changed, 0 insertions, 0 deletions