Home
last modified time | relevance | path

Searched refs:hca_param (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dmain.c555 struct mlx4_init_hca_param hca_param; in mlx4_dev_cap() local
557 memset(&hca_param, 0, sizeof(hca_param)); in mlx4_dev_cap()
558 err = mlx4_QUERY_HCA(dev, &hca_param); in mlx4_dev_cap()
565 if (err || hca_param.phv_check_en) in mlx4_dev_cap()
839 struct mlx4_init_hca_param *hca_param) in slave_adjust_steering_mode() argument
841 dev->caps.steering_mode = hca_param->steering_mode; in slave_adjust_steering_mode()
848 4 * ((1 << hca_param->log_mc_entry_sz)/16 - 2); in slave_adjust_steering_mode()
908 struct mlx4_init_hca_param *hca_param; in mlx4_slave_cap() local
910 hca_param = kzalloc(sizeof(*hca_param), GFP_KERNEL); in mlx4_slave_cap()
913 if (!hca_param || !func_cap || !dev_cap) { in mlx4_slave_cap()
[all …]