summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
diff options
context:
space:
mode:
authorHadar Hen Zion2016-07-01 13:51:07 +0200
committerDavid S. Miller2016-07-02 20:40:41 +0200
commit6bfd390ba5466675f6f02f77a3e957bd4e6075ee (patch)
tree06686461295ee66f6c0dea4e7ce66d257e5a00f5 /drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
parentnet/mlx5e: Mark enabled RQTs instances explicitly (diff)
downloadkernel-qcow2-linux-6bfd390ba5466675f6f02f77a3e957bd4e6075ee.tar.gz
kernel-qcow2-linux-6bfd390ba5466675f6f02f77a3e957bd4e6075ee.tar.xz
kernel-qcow2-linux-6bfd390ba5466675f6f02f77a3e957bd4e6075ee.zip
net/mlx5e: Add support for multiple profiles
To allow support in representor netdevices where we create more than one netdevice per NIC, add profiles to the mlx5e driver. The profiling allows for creation of mlx5e instances with different characteristics. Each profile implements its own behavior using set of function pointers defined in struct mlx5e_profile. This is done to allow for avoiding complex per profix branching in the code. Currently only the profile for the conventional NIC is implemented, which is of use when a netdev is created upon pci probe. This patch doesn't add any new functionality. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.h')
0 files changed, 0 insertions, 0 deletions