[PATCH V2 2/5] nvme-fc: add a helper to check ctrl sgl support

James Smart jsmart2021 at gmail.com
Tue Jun 8 08:39:18 PDT 2021


On 6/7/2021 12:54 PM, Chaitanya Kulkarni wrote:
> For transports it is common to check if NVMe SGLs are supported or not
> by the controller.
> 
> Add a helper instead of open coding controller SGL support and use it
> in fc transport.
> 
> Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
> ---
>   drivers/nvme/host/fc.c   | 2 +-
>   drivers/nvme/host/nvme.h | 8 ++++++++
>   2 files changed, 9 insertions(+), 1 deletion(-)
> 

looks good

Reviewed-by: James Smart <jsmart2021 at gmail.com>

-- james




More information about the Linux-nvme mailing list