aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_dcb_lib.c
diff options
context:
space:
mode:
authorAlexander Lobakin <aleksander.lobakin@intel.com>2024-09-04 17:47:43 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-09-09 13:15:37 -0700
commit080d72f471c86f8906845bc822051f5790d0a90d (patch)
tree096a006b165f42c78eedcdacad1ca4ce1a5e908c /drivers/net/ethernet/intel/ice/ice_dcb_lib.c
parentbfba7bc8b7c2c100b76edb3a646fdce256392129 (diff)
libeth: add Tx buffer completion helpers
Software-side Tx buffers for storing DMA, frame size, skb pointers etc. are pretty much generic and every driver defines them the same way. The same can be said for software Tx completions -- same napi_consume_skb()s and all that... Add a couple simple wrappers for doing that to stop repeating the old tale at least within the Intel code. Drivers are free to use 'priv' member at the end of the structure. Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions