linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] net: hns3: add some cleanups & optimizations
@ 2019-10-19  8:03 Huazhong Tan
  2019-10-19  8:03 ` [PATCH net-next 1/8] net: hns3: remove struct hns3_nic_ring_data in hns3_enet module Huazhong Tan
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Huazhong Tan @ 2019-10-19  8:03 UTC (permalink / raw)
  To: davem
  Cc: netdev, linux-kernel, salil.mehta, yisen.zhuang, linuxarm,
	jakub.kicinski, Huazhong Tan

This patchset includes some cleanups and optimizations for the HNS3
ethernet driver.

[patch 1/8] removes unused and unnecessary structures.

[patch 2/8] uses a ETH_ALEN u8 array to replace two mac_addr_*
field in struct hclge_mac_mgr_tbl_entry_cmd.

[patch 3/8] optimizes the barrier used in the IO path.

[patch 4/8] introduces macro ring_to_netdev() to get netdevive
from struct hns3_enet_ring variable.

[patch 5/8] makes struct hns3_enet_ring to be cacheline aligned

[patch 6/8] adds a minor cleanup for hns3_handle_rx_bd().

[patch 7/8] removes linear data allocating for fraglist SKB.

[patch 8/8] clears hardware error when resetting.

---
note:
In previous patchset, there are some bugfixes which needs below
new feature, which is only in 'net-next' but not in 'net' now:
net: hns3: support tx-scatter-gather-fraglist feature
net: hns3: add support for spoof check setting

So, these bugfixes will be upstreamed when the patch needed is
on 'net' tree.
---

Guojia Liao (1):
  net: hns3: optimized MAC address in management table.

Jian Shen (1):
  net: hns3: log and clear hardware error after reset complete

Yunsheng Lin (6):
  net: hns3: remove struct hns3_nic_ring_data in hns3_enet module
  net: hns3: minor optimization for barrier in IO path
  net: hns3: introduce ring_to_netdev() in enet module
  net: hns3: make struct hns3_enet_ring cacheline aligned
  net: hns3: minor cleanup for hns3_handle_rx_bd()
  net: hns3: do not allocate linear data for fraglist skb

 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c |  24 +--
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    | 204 ++++++++-------------
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h    |  20 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c |  33 ++--
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h |   4 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    |   6 +-
 6 files changed, 111 insertions(+), 180 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-10-21 16:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-19  8:03 [PATCH net-next 0/8] net: hns3: add some cleanups & optimizations Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 1/8] net: hns3: remove struct hns3_nic_ring_data in hns3_enet module Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 2/8] net: hns3: optimized MAC address in management table Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 3/8] net: hns3: minor optimization for barrier in IO path Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 4/8] net: hns3: introduce ring_to_netdev() in enet module Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 5/8] net: hns3: make struct hns3_enet_ring cacheline aligned Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 6/8] net: hns3: minor cleanup for hns3_handle_rx_bd() Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 7/8] net: hns3: do not allocate linear data for fraglist skb Huazhong Tan
2019-10-19  8:03 ` [PATCH net-next 8/8] net: hns3: log and clear hardware error after reset complete Huazhong Tan
2019-10-20 17:37 ` [PATCH net-next 0/8] net: hns3: add some cleanups & optimizations Jakub Kicinski
2019-10-21 16:22 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).