commit | 9a64144d683a4395f57562d90247c61a0bf5105f | [log] [tgz] |
---|---|---|
author | Maor Gottlieb <maorg@mellanox.com> | Mon Jun 17 13:22:28 2019 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Jul 11 11:45:03 2019 -0700 |
tree | b4f1453e03ba9eb8bd4437b6d29385501922a896 | |
parent | e858faf556d4e14c750ba1e8852783c6f9520a0e [diff] |
net/mlx5: E-Switch, Fix default encap mode Encap mode is related to switchdev mode only. Move the init of the encap mode to eswitch_offloads. Before this change, we reported that eswitch supports encap, even tough the device was in non SRIOV mode. Fixes: 7768d1971de67 ('net/mlx5: E-Switch, Add control for encapsulation') Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>