commit | 98fdbea550378e0153092bce21261df86a8ccc57 | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Wed Jun 12 15:20:11 2019 +0300 |
committer | Leon Romanovsky <leonro@mellanox.com> | Sun Jun 16 15:40:03 2019 +0300 |
tree | e9ba26de732702957a6ed96bbf17720fa9928d11 | |
parent | 1f8a7bee27e63d7c5287719049941e285e54d370 [diff] |
net/mlx5: Declare more strictly devlink encap mode Devlink has UAPI declaration for encap mode, so there is no need to be loose on the data get/set by drivers. Update call sites to use enum devlink_eswitch_encap_mode instead of plain u8. Suggested-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Petr Vorel <pvorel@suse.cz>