netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 net-next 00/10] net: hns3: use seq_file for debugfs
@ 2025-07-14  6:10 Jijie Shao
  2025-07-14  6:10 ` [PATCH V3 net-next 01/10] net: hns3: remove tx spare info from debugfs Jijie Shao
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Jijie Shao @ 2025-07-14  6:10 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, andrew+netdev, horms
  Cc: shenjian15, liuyonglong, chenhao418, jonathan.cameron,
	shameerali.kolothum.thodi, salil.mehta, arnd, netdev,
	linux-kernel, shaojijie

Arnd reported that there are two build warning for on-stasck
buffer oversize. As Arnd's suggestion, using seq file way
to avoid the stack buffer or kmalloc buffer allocating.

---
ChangeLog:
v2 -> v3:
  - Merge patch (11/11) into the previous two, suggested by Simon Horman
  v2: https://lore.kernel.org/all/20250711061725.225585-1-shaojijie@huawei.com/
v1 -> v2:
  - Remove unused functions in advance to eliminate compilation warnings, suggested by Jakub Kicinski
  - Remove unnecessary cast, suggested by Andrew Lunn
  v1: https://lore.kernel.org/all/20250708130029.1310872-1-shaojijie@huawei.com/
---

Jian Shen (4):
  net: hns3: clean up the build warning in debugfs by use seq file
  net: hns3: use seq_file for files in queue/ in debugfs
  net: hns3: use seq_file for files in tm/ in debugfs
  net: hns3: use seq_file for files in tx_bd_info/ and rx_bd_info/ in
    debugfs

Jijie Shao (4):
  net: hns3: remove tx spare info from debugfs.
  net: hns3: use seq_file for files in common/ of hns3 layer
  net: hns3: use seq_file for files in reg/ in debugfs
  net: hns3: use seq_file for files in fd/ in debugfs

Yonglong Liu (2):
  net: hns3: use seq_file for files in mac_list/ in debugfs
  net: hns3: use seq_file for files in common/ of hclge layer

 drivers/net/ethernet/hisilicon/hns3/hnae3.h   |   16 +-
 .../ethernet/hisilicon/hns3/hns3_debugfs.c    | 1044 ++++---------
 .../ethernet/hisilicon/hns3/hns3_debugfs.h    |   16 -
 .../net/ethernet/hisilicon/hns3/hns3_enet.c   |    2 +
 .../hisilicon/hns3/hns3pf/hclge_debugfs.c     | 1356 +++++++----------
 .../hisilicon/hns3/hns3pf/hclge_debugfs.h     |    1 +
 .../hisilicon/hns3/hns3pf/hclge_main.c        |    2 +-
 .../hisilicon/hns3/hns3pf/hclge_main.h        |    4 +-
 8 files changed, 859 insertions(+), 1582 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2025-07-15 23:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-14  6:10 [PATCH V3 net-next 00/10] net: hns3: use seq_file for debugfs Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 01/10] net: hns3: remove tx spare info from debugfs Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 02/10] net: hns3: clean up the build warning in debugfs by use seq file Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 03/10] net: hns3: use seq_file for files in queue/ in debugfs Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 04/10] net: hns3: use seq_file for files in common/ of hns3 layer Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 05/10] net: hns3: use seq_file for files in tm/ in debugfs Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 06/10] net: hns3: use seq_file for files in mac_list/ " Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 07/10] net: hns3: use seq_file for files in reg/ " Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 08/10] net: hns3: use seq_file for files in fd/ " Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 09/10] net: hns3: use seq_file for files in common/ of hclge layer Jijie Shao
2025-07-14  6:10 ` [PATCH V3 net-next 10/10] net: hns3: use seq_file for files in tx_bd_info/ and rx_bd_info/ in debugfs Jijie Shao
2025-07-16  0:00 ` [PATCH V3 net-next 00/10] net: hns3: use seq_file for debugfs patchwork-bot+netdevbpf

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).