netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/8] enic:enable 32, 64 byte cqes and get max rx/tx ring size from hw
@ 2025-03-05  0:56 Satish Kharat via B4 Relay
  2025-03-05  0:56 ` [PATCH net-next v2 1/8] enic: Move function from header file to c file Satish Kharat via B4 Relay
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Satish Kharat via B4 Relay @ 2025-03-05  0:56 UTC (permalink / raw)
  To: Christian Benvenuti, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-kernel, Satish Kharat, Nelson Escobar, John Daley

This series enables using the max rx and tx ring sizes read from hw.
For newer hw that can be up to 16k entries. This requires bigger
completion entries for rx queues. This series enables the use of the
32 and 64 byte completion queues entries for enic rx queues on
supported hw versions. This is in addition to the exiting (default)
16 byte rx cqes.

Signed-off-by: Satish Kharat <satishkh@cisco.com>
---
Changes in v2:
- Added net-next to the subject line.
- Removed inlines from function defs in .c file.
- Fixed function local variable style issues.
- Added couple of helper functions to common code.
- Fixed checkpatch errors and warnings.
- Link to v1: https://lore.kernel.org/r/20250227-enic_cleanup_and_ext_cq-v1-0-c314f95812bb@cisco.com

---
Satish Kharat (8):
      enic: Move function from header file to c file
      enic: enic rq code reorg
      enic: enic rq extended cq defines
      enic: enable rq extended cq support
      enic : remove unused function cq_enet_wq_desc_dec
      enic : added enic_wq.c and enic_wq.h
      enic : cleanup of enic wq request completion path
      enic : get max rq & wq entries supported by hw, 16K queues

 drivers/net/ethernet/cisco/enic/Makefile       |   2 +-
 drivers/net/ethernet/cisco/enic/cq_desc.h      |  25 +--
 drivers/net/ethernet/cisco/enic/cq_enet_desc.h | 142 ++++++---------
 drivers/net/ethernet/cisco/enic/enic.h         |  13 ++
 drivers/net/ethernet/cisco/enic/enic_ethtool.c |  12 +-
 drivers/net/ethernet/cisco/enic/enic_main.c    |  69 ++-----
 drivers/net/ethernet/cisco/enic/enic_res.c     |  87 +++++++--
 drivers/net/ethernet/cisco/enic/enic_res.h     |  11 +-
 drivers/net/ethernet/cisco/enic/enic_rq.c      | 240 ++++++++++++++++++++++---
 drivers/net/ethernet/cisco/enic/enic_rq.h      |   6 +-
 drivers/net/ethernet/cisco/enic/enic_wq.c      | 117 ++++++++++++
 drivers/net/ethernet/cisco/enic/enic_wq.h      |   7 +
 drivers/net/ethernet/cisco/enic/vnic_cq.h      |  45 +----
 drivers/net/ethernet/cisco/enic/vnic_devcmd.h  |  19 ++
 drivers/net/ethernet/cisco/enic/vnic_enet.h    |   5 +
 drivers/net/ethernet/cisco/enic/vnic_rq.h      |   2 +-
 drivers/net/ethernet/cisco/enic/vnic_wq.h      |   2 +-
 17 files changed, 545 insertions(+), 259 deletions(-)
---
base-commit: de7a88b639d488607352a270ef2e052c4442b1b3
change-id: 20250218-enic_cleanup_and_ext_cq-f21868bbde07

Best regards,
-- 
Satish Kharat <satishkh@cisco.com>



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

end of thread, other threads:[~2025-03-11 10:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05  0:56 [PATCH net-next v2 0/8] enic:enable 32, 64 byte cqes and get max rx/tx ring size from hw Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 1/8] enic: Move function from header file to c file Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 2/8] enic: enic rq code reorg Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 3/8] enic: enic rq extended cq defines Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 4/8] enic: enable rq extended cq support Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 5/8] enic : remove unused function cq_enet_wq_desc_dec Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 6/8] enic : added enic_wq.c and enic_wq.h Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 7/8] enic : cleanup of enic wq request completion path Satish Kharat via B4 Relay
2025-03-05  0:56 ` [PATCH net-next v2 8/8] enic : get max rq & wq entries supported by hw, 16K queues Satish Kharat via B4 Relay
2025-03-06 14:56 ` [PATCH net-next v2 0/8] enic:enable 32, 64 byte cqes and get max rx/tx ring size from hw Simon Horman
2025-03-11  9:25   ` Paolo Abeni
2025-03-11 10:00 ` 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).