Re: [RFC PATCH v4 20/27] qedn: Add connection-level slowpath functionality
From: Hannes Reinecke <hare@suse.de>
Date: 2021-05-02 11:38:12
Also in:
linux-nvme
On 4/29/21 9:09 PM, Shai Malin wrote:
From: Prabhakar Kushwaha <redacted>
This patch will present the connection (queue) level slowpath
implementation relevant for create_queue flow.
The internal implementation:
- Add per controller slowpath workqeueue via pre_setup_ctrl
- qedn_main.c:
Includes qedn's implementation of the create_queue op.
- qedn_conn.c will include main slowpath connection level functions,
including:
1. Per-queue resources allocation.
2. Creating a new connection.
3. Offloading the connection to the FW for TCP handshake.
4. Destroy of a connection.
5. Support of delete and free controller.
6. TCP port management via qed_fetch_tcp_port, qed_return_tcp_port
Acked-by: Igor Russkikh <redacted>
Signed-off-by: Prabhakar Kushwaha <redacted>
Signed-off-by: Omkar Kulkarni <redacted>
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <redacted>
Signed-off-by: Shai Malin <redacted>
---
drivers/nvme/hw/qedn/Makefile | 5 +-
drivers/nvme/hw/qedn/qedn.h | 173 ++++++++++-
drivers/nvme/hw/qedn/qedn_conn.c | 508 +++++++++++++++++++++++++++++++
drivers/nvme/hw/qedn/qedn_main.c | 208 ++++++++++++-
4 files changed, 883 insertions(+), 11 deletions(-)
create mode 100644 drivers/nvme/hw/qedn/qedn_conn.cReviewed-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer