OSDN Git Service

IB/opa_vnic: Properly set vesw port status
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Tue, 26 Sep 2017 13:44:20 +0000 (06:44 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 15:21:57 +0000 (11:21 -0400)
commite82b7c388a26d83bf0037ba8f6f3c964ccad2f5b
tree27647700193ed2396667c508c3ea225362c345c5
parent4bbdfe25600c1909c26747d0b5c39fd0e409bb87
IB/opa_vnic: Properly set vesw port status

Update eth_link_status and operating status information to
represent the overall status of the virtual Ethernet switch port.

Reviewed-by: Sudeep Dutt <sudeep.dutt@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/ulp/opa_vnic/opa_vnic_netdev.c