diff options
author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2024-09-04 17:47:44 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-09-09 13:15:37 -0700 |
commit | d9028db618a63e4bbe63eb56c0b0db2b4cb924bc (patch) | |
tree | eb0c1b2a8f960fd17b99e04716f9e905a139242a /drivers/net/dsa/lan9303_i2c.c | |
parent | 080d72f471c86f8906845bc822051f5790d0a90d (diff) |
idpf: convert to libeth Tx buffer completion
&idpf_tx_buffer is almost identical to the previous generations, as well
as the way it's handled. Moreover, relying on dma_unmap_addr() and
!!buf->skb instead of explicit defining of buffer's type was never good.
Use the newly added libeth helpers to do it properly and reduce the
copy-paste around the Tx code.
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/dsa/lan9303_i2c.c')
0 files changed, 0 insertions, 0 deletions