OSDN Git Service

nvme-fabrics: Expose nvmf_check_required_opts() globally
authorPrabhakar Kushwaha <pkushwaha@marvell.com>
Wed, 2 Jun 2021 18:42:41 +0000 (21:42 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2021 21:11:21 +0000 (14:11 -0700)
commitaf527935bd5a3eb88af425a2a973211e06df6423
tree99ec5344ac2fa04512e63bd05be54d461cac1a93
parent98a5097d1e08f473e2af13bd94e5b4533d51cfd5
nvme-fabrics: Expose nvmf_check_required_opts() globally

nvmf_check_required_opts() is used to check if user provided opts has
the required_opts or not. if not, it will log which options are not
provided.

It can be leveraged by nvme-tcp-offload to check if provided opts are
supported by this specific vendor driver or not.

So expose nvmf_check_required_opts() globally.

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: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nvme/host/fabrics.c
drivers/nvme/host/fabrics.h