]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/srpt: Fix handling of SR-IOV and iWARP ports
authorBart Van Assche <bvanassche@acm.org>
Mon, 30 Sep 2019 23:17:01 +0000 (16:17 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 4 Oct 2019 18:35:06 +0000 (15:35 -0300)
commit09f8a1486dcaf69753961a6df6cffdaafc5ccbcb
tree41305e322f5c69417766254558753c4c9c31a1f2
parentfdbcf5c026d17f5babe85d57ac6e053f0605d4b8
RDMA/srpt: Fix handling of SR-IOV and iWARP ports

Management datagrams (MADs) are not supported by SR-IOV VFs nor by iWARP
ports. Support SR-IOV VFs and iWARP ports by only logging an error message
if MAD handler registration fails.

Link: https://lore.kernel.org/r/20190930231707.48259-10-bvanassche@acm.org
Cc: Honggang LI <honli@redhat.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c