[RFC PATCH] nvmf: allow user to choose cid-genctr feature

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Nov 1 20:02:35 PDT 2021


On 11/1/2021 4:17 PM, Chaitanya Kulkarni wrote:
> From: Chaitanya Kulkarni <kch at nvidia.com>
> 
> Some fabrics controllers use the command id as an index to
> implement specific data structures and will fail if the value is
> out of bounds. The nvme driver's recently introduced command sequence
> number breaks these controllers.
>   
> Allow the user to choose the use of the genctr in calculating the command
> id when connecting to the fabrics controller.
>   
> The driver will not have the ability to detect bad completions when
> this flag is set to false for a ctrl, but we weren't previously
> checking this anyway.
> 
> Signed-off-by: Chaitanya Kulkarni <kch at nvidia.co

Please ignore this sorry for the noise.




More information about the Linux-nvme mailing list