summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDean Balandin <dbalandin@marvell.com>2021-06-02 21:42:42 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-03 14:11:21 -0700
commit4b8178ec5794f93c71950fdfb1cb5465f6f2e154 (patch)
tree5135a228b6420cf3f76ff9b7a0268b194d0f2a46 /net/lapb/lapb_subr.c
parentaf527935bd5a3eb88af425a2a973211e06df6423 (diff)
nvme-tcp-offload: Add device scan implementation
As part of create_ctrl(), it scans the registered devices and calls the claim_dev op on each of them, to find the first devices that matches the connection params. Once the correct devices is found (claim_dev returns true), we raise the refcnt of that device and return that device as the device to be used for ctrl currently being created. Acked-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: Dean Balandin <dbalandin@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: Himanshu Madhani <himanshu.madhani@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions