qed: Add NVMeTCP Offload Connection Level FW and HW HSI
authorShai Malin <smalin@marvell.com>
Wed, 2 Jun 2021 17:16:51 +0000 (20:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2021 21:04:17 +0000 (14:04 -0700)
commit76684ab8f4f95394df6a752cee37b197b4c8732b
treef8bbf9ae8a6b2fce2f649511ceadfee3ce4dcb4c
parent897e87a10c35fb37a20886af6f731748d92c1836
qed: Add NVMeTCP Offload Connection Level FW and HW HSI

This patch introduces the NVMeTCP HSI and HSI functionality in order to
initialize and interact with the HW device as part of the connection level
HSI.

This includes:
- Connection offload: offload a TCP connection to the FW.
- Connection update: update the ICReq-ICResp params
- Connection clear SQ: outstanding IOs FW flush.
- Connection termination: terminate the TCP connection and flush the FW.

Acked-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Omkar Kulkarni <okulkarni@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.h
drivers/net/ethernet/qlogic/qed/qed_sp.h
include/linux/qed/nvmetcp_common.h
include/linux/qed/qed_nvmetcp_if.h