summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorSaeed Mahameed2017-04-13 05:36:54 +0200
committerDavid S. Miller2017-04-17 17:08:29 +0200
commit2c3b5beec46ab0d77c94828eb15170b333ae769a (patch)
treee06534e171ca36fea00d2f0a57b85669fe5b094b /block
parentnet/mlx5: Enable flow-steering for IB link (diff)
downloadkernel-qcow2-linux-2c3b5beec46ab0d77c94828eb15170b333ae769a.tar.gz
kernel-qcow2-linux-2c3b5beec46ab0d77c94828eb15170b333ae769a.tar.xz
kernel-qcow2-linux-2c3b5beec46ab0d77c94828eb15170b333ae769a.zip
net/mlx5e: More generic netdev management API
In preparation for mlx5e RDMA net_device support, here we generalize mlx5e_attach/detach in a way that those functions will be agnostic to link type. For that we move ethernet specific NIC net device logic out of those functions into {nic,rep}_{enable/disable} mlx5e NIC and representor profiles callbacks. Also some of the logic was moved only to NIC profile since it is not right to have this logic for representor net device (e.g. set port MTU). Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Erez Shitrit <erezsh@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions