Searched refs:in_sz (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 338 int in_sz; in mlx5_modify_nic_vport_mac_list() local 350 in_sz = MLX5_ST_SZ_BYTES(modify_nic_vport_context_in) + in mlx5_modify_nic_vport_mac_list() 354 in = kzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_mac_list() 378 err = mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in mlx5_modify_nic_vport_mac_list() 391 int in_sz; in mlx5_modify_nic_vport_vlans() local 401 in_sz = MLX5_ST_SZ_BYTES(modify_nic_vport_context_in) + in mlx5_modify_nic_vport_vlans() 405 in = kzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_vlans() 429 err = mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in mlx5_modify_nic_vport_vlans() 534 int in_sz = MLX5_ST_SZ_BYTES(query_hca_vport_gid_in); in mlx5_query_hca_vport_gid() local 559 in = kzalloc(in_sz, GFP_KERNEL); in mlx5_query_hca_vport_gid() [all …]
|
D | main.c | 409 static int set_caps(struct mlx5_core_dev *dev, void *in, int in_sz, int opmod) in set_caps() argument 415 return mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in set_caps()
|