Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dmain.c560 struct mlx4_init_hca_param hca_param; in mlx4_dev_cap() local
562 memset(&hca_param, 0, sizeof(hca_param)); in mlx4_dev_cap()
563 err = mlx4_QUERY_HCA(dev, &hca_param); in mlx4_dev_cap()
570 if (err || hca_param.phv_check_en) in mlx4_dev_cap()
844 struct mlx4_init_hca_param *hca_param) in slave_adjust_steering_mode() argument
846 dev->caps.steering_mode = hca_param->steering_mode; in slave_adjust_steering_mode()
853 4 * ((1 << hca_param->log_mc_entry_sz)/16 - 2); in slave_adjust_steering_mode()
913 struct mlx4_init_hca_param *hca_param = NULL; in mlx4_slave_cap() local
915 hca_param = kzalloc(sizeof(*hca_param), GFP_KERNEL); in mlx4_slave_cap()
918 if (!hca_param || !func_cap || !dev_cap) { in mlx4_slave_cap()
[all …]