From: Jason Gunthorpe Date: Fri, 5 Jul 2019 13:16:19 +0000 (-0300) Subject: Merge mlx5-next into rdma for-next X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5600a410ea24cb8467abdd4b8530961ff4f14907;p=openwrt%2Fstaging%2Fblogic.git Merge mlx5-next into rdma for-next From git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux Required for dependencies in the next patches. * mlx5-next: net/mlx5: Add rts2rts_qp_counters_set_id field in hca cap net/mlx5: Properly name the generic WQE control field net/mlx5: Introduce TLS TX offload hardware bits and structures net/mlx5: Refactor mlx5_esw_query_functions for modularity net/mlx5: E-Switch prepare functions change handler to be modular net/mlx5: Introduce and use mlx5_eswitch_get_total_vports() --- 5600a410ea24cb8467abdd4b8530961ff4f14907 diff --cc include/linux/mlx5/eswitch.h index 43fa5594ba61,61db37aa9642..46b5ba029802 --- a/include/linux/mlx5/eswitch.h +++ b/include/linux/mlx5/eswitch.h @@@ -64,8 -64,10 +64,10 @@@ void *mlx5_eswitch_uplink_get_proto_dev u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw); struct mlx5_flow_handle * mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw, - int vport, u32 sqn); + u16 vport_num, u32 sqn); + u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev); + #ifdef CONFIG_MLX5_ESWITCH enum devlink_eswitch_encap_mode mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev);