[RFC PATCH v4 20/27] qedn: Add connection-level slowpath functionality

Hannes Reinecke hare at suse.de
Sun May 2 12:37:50 BST 2021


On 4/29/21 9:09 PM, Shai Malin wrote:
> From: Prabhakar Kushwaha <pkushwaha at marvell.com>
> 
> 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 <irusskikh at marvell.com>
> Signed-off-by: Prabhakar Kushwaha <pkushwaha at marvell.com>
> Signed-off-by: Omkar Kulkarni <okulkarni at marvell.com>
> Signed-off-by: Michal Kalderon <mkalderon at marvell.com>
> Signed-off-by: Ariel Elior <aelior at marvell.com>
> Signed-off-by: Shai Malin <smalin at marvell.com>
> ---
>   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.c
> 

Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at 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



More information about the Linux-nvme mailing list