IB/ipoib: Add ndo operations for configuring VFs
authorEli Cohen <eli@mellanox.com>
Fri, 11 Mar 2016 20:58:39 +0000 (22:58 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 21 Mar 2016 21:13:14 +0000 (17:13 -0400)
commit9c3c5f8e1f3092f43a46b247a95ae526c1b4542e
tree657fb39a722cf1d92776a042f0e8d326f896f72d
parent50174a7f2c24d13cdeec435ee1ba70b1e0b1318f
IB/ipoib: Add ndo operations for configuring VFs

Add ndo operations to the network driver that enables configuring the
following operations:

ipoib_set_vf_link_state - configure the VF link policy
ipoib_get_vf_config - get link state configuration
ipoib_set_vf_guid - set a VF port or node GUID
ipoib_get_vf_stats - get statistics of a VF

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c