net: wangxun: libwx add tx offload functions
authorMengyuan Lou <mengyuanlou@net-swift.com>
Tue, 30 May 2023 02:26:25 +0000 (10:26 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 1 Jun 2023 06:02:26 +0000 (23:02 -0700)
commit3403960cdf86c967442dccc2bec981e0093f716e
treea0a4af4e391511db99c70e9d97100d3916e07668
parent6f4b98147b8dfcabacb19b5c6abd087af66d0049
net: wangxun: libwx add tx offload functions

Add tx offload functions for wx_xmit_frame_ring which
includes wx_encode_tx_desc_ptype, wx_tso and wx_tx_csum.
which supports ngbe and txgbe to implement tx offload
function.

Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/libwx/wx_lib.c
drivers/net/ethernet/wangxun/libwx/wx_type.h