mbox series

[net-next,v3,0/5] Wangxun netdev features support

Message ID 20230420103742.43168-1-mengyuanlou@net-swift.com (mailing list archive)
Headers show
Series Wangxun netdev features support | expand

Message

Mengyuan Lou April 20, 2023, 10:37 a.m. UTC
Implement tx_csum and rx_csum to support hardware checksum offload.
Implement ndo_vlan_rx_add_vid and ndo_vlan_rx_kill_vid.
Enable macros in netdev features which wangxun can support.

changes v3:
- Yunsheng Lin: Tidy up logic for wx_encode_tx_desc_ptype.
changes v2:
- Andrew Lunn:
 Add ETH_P_CNM Congestion Notification Message to if_ether.h.
 Remove lro support.
- Yunsheng Lin:
 https://lore.kernel.org/netdev/eb75ae23-8c19-bbc5-e99a-9b853511affa@huawei.com/

Mengyuan Lou (5):
  net: wangxun: libwx add tx offload functions
  net: wangxun: libwx add rx offload functions
  net: wangxun: Implement vlan add and kill functions
  net: wangxun: ngbe add netdev features support
  net: wangxun: txgbe add netdev features support

 drivers/net/ethernet/wangxun/libwx/wx_hw.c    | 279 +++++++-
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |   3 +
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   | 624 +++++++++++++++++-
 drivers/net/ethernet/wangxun/libwx/wx_type.h  | 421 +++++++++++-
 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c |  19 +-
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |   1 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |  24 +-
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   |   1 +
 8 files changed, 1352 insertions(+), 20 deletions(-)