IB/hfi1: Do not allocate PIO send contexts for VNIC
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Mon, 6 Nov 2017 14:38:52 +0000 (06:38 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 20:53:57 +0000 (15:53 -0500)
commitcc9a97ea2c74e8270f3d77d1fd4711c6fc866d7f
tree8fdee66ed62f843f73ca12018f3fb48ed5298d45
parente4c397eed9c93fc1cb34f7d8df96afeb320d535d
IB/hfi1: Do not allocate PIO send contexts for VNIC

OPA VNIC does not use PIO contexts and instead only uses SDMA
engines. Do not allocate PIO contexts for VNIC ports.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/driver.c
drivers/infiniband/hw/hfi1/init.c
drivers/infiniband/hw/hfi1/pio.c
drivers/infiniband/hw/hfi1/pio.h
drivers/infiniband/hw/hfi1/vnic_main.c