summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2016-07-01 14:51:03 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-02 21:40:40 +0300
commitc930a3ad7453615b6707509e23afa5969095b5b7 (patch)
treec0e79e2aabf601cdc576a454ee4069d7af5b14b1 /include/linux/mlx5
parentfeae908744d7f78b9dd06afda9de47f997f2d81a (diff)
downloadlinux-c930a3ad7453615b6707509e23afa5969095b5b7.tar.xz
net/mlx5e: Add devlink based SRIOV mode changes
Implement handlers for the devlink commands to get and set the SRIOV E-Switch mode. When turning to the switchdev/offloads mode, we disable the e-switch and enable it again in the new mode, create the NIC offloads table and create VF reps. When turning to legacy mode, we remove the VF reps and the offloads table, and re-initiate the e-switch in it's legacy mode. The actual creation/removal of the VF reps is done in downstream patches. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions