Skip to content

net: hinic3: PF initialization

Fan Gong linux-doc lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hinic3: Add ethtool queue opsdrivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c drivers/net/ethernet/huawei/hinic3/hinic3_irq.c drivers/net/ethernet/huawei/hinic3/hinic3_main.c +3 more+176 -10 replies
2/7hinic3: Add ethtool statistic opsdrivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c drivers/net/ethernet/huawei/hinic3/hinic3_hw_intf.h drivers/net/ethernet/huawei/hinic3/hinic3_mgmt_interface.h +7 more+964 -92 replies
3/7hinic3: Add ethtool coalesce opsdrivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c+232 -20 replies
4/7hinic3: Add ethtool rss opsdrivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c drivers/net/ethernet/huawei/hinic3/hinic3_mgmt_interface.h drivers/net/ethernet/huawei/hinic3/hinic3_rss.c +1 more+515 -20 replies
5/7hinic3: Add MTU size validationdrivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c+13 -02 replies
6/7hinic3: Configure netdev->watchdog_timeo to set nic tx timeoutdrivers/net/ethernet/huawei/hinic3/hinic3_main.c+4 -00 replies
7/7hinic3: Remove unneed coalesce parametersdrivers/net/ethernet/huawei/hinic3/hinic3_irq.c drivers/net/ethernet/huawei/hinic3/hinic3_rx.h+1 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next v01 0/7] net: hinic3: PF initialization

This is [3/3] part of hinic3 Ethernet driver second submission. With this patch hinic3 becomes a complete Ethernet driver with pf and vf.

Add 20 ethtool ops for information of queue, rss, coalesce and eth data. Add MTU size validation
Config netdev watchdog timeout.
Remove unneed coalesce parameters.

Changes:

PATCH 03 V01:
* Add rmon/pause/phy/mac/ctrl stats (Ioana Ciornei)

Fan Gong (7):
hinic3: Add ethtool queue ops
hinic3: Add ethtool statistic ops
hinic3: Add ethtool coalesce ops
hinic3: Add ethtool rss ops
hinic3: Add MTU size validation
hinic3: Configure netdev->watchdog_timeo to set nic tx timeout
hinic3: Remove unneed coalesce parameters

 .../ethernet/huawei/hinic3/hinic3_ethtool.c   | 927 +++++++++++++++++-
 .../ethernet/huawei/hinic3/hinic3_hw_intf.h   |  13 +-
 .../net/ethernet/huawei/hinic3/hinic3_irq.c   |   9 +-
 .../net/ethernet/huawei/hinic3/hinic3_main.c  |   7 +
 .../huawei/hinic3/hinic3_mgmt_interface.h     |  39 +
 .../huawei/hinic3/hinic3_netdev_ops.c         |  61 ++
 .../ethernet/huawei/hinic3/hinic3_nic_cfg.c   |  77 ++
 .../ethernet/huawei/hinic3/hinic3_nic_cfg.h   | 109 ++
 .../ethernet/huawei/hinic3/hinic3_nic_dev.h   |  20 +
 .../ethernet/huawei/hinic3/hinic3_nic_io.h    |   4 +
 .../net/ethernet/huawei/hinic3/hinic3_rss.c   | 487 ++++++++-
 .../net/ethernet/huawei/hinic3/hinic3_rss.h   |  19 +
 .../net/ethernet/huawei/hinic3/hinic3_rx.c    |  57 +-
 .../net/ethernet/huawei/hinic3/hinic3_rx.h    |  17 +-
 .../net/ethernet/huawei/hinic3/hinic3_tx.c    |  79 +-
 .../net/ethernet/huawei/hinic3/hinic3_tx.h    |   2 +
 16 files changed, 1905 insertions(+), 22 deletions(-)

base-commit: 8e7adcf81564a3fe886a6270eea7558f063e5538

Signature · 1 line
2.43.0