diff options
author | 2017-06-05 15:17:12 +0300 | |
---|---|---|
committer | 2017-08-07 10:47:06 +0300 | |
commit | e80541ecabd57b69726232b89242e28d8123cccc (patch) | |
tree | 29307e37c0f6fc052b18ca7ebc6bfcae63bb6b20 /include | |
parent | net/mlx5: Separate between E-Switch and MPFS (diff) | |
download | linux-dev-e80541ecabd57b69726232b89242e28d8123cccc.tar.xz linux-dev-e80541ecabd57b69726232b89242e28d8123cccc.zip |
net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig
Allow to selectively build the driver with or without sriov eswitch, VF
representors and TC offloads.
Also remove the need of two ndo ops structures (sriov & basic)
and keep only one unified ndo ops, compile out VF SRIOV ndos when not
needed (MLX5_ESWITCH=n), and for VF netdev calling those ndos will result
in returning -EPERM.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Jes Sorensen <jsorensen@fb.com>
Cc: kernel-team@fb.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions