Searched refs:max_list_size (Results 1 – 5 of 5) sorted by relevance
261 int max_list_size; in mlx5_query_nic_vport_mac_list() local270 max_list_size = list_type == MLX5_NVPRT_LIST_TYPE_UC ? in mlx5_query_nic_vport_mac_list()274 if (req_list_size > max_list_size) { in mlx5_query_nic_vport_mac_list()276 req_list_size, max_list_size); in mlx5_query_nic_vport_mac_list()277 req_list_size = max_list_size; in mlx5_query_nic_vport_mac_list()322 int max_list_size; in mlx5_modify_nic_vport_mac_list() local328 max_list_size = list_type == MLX5_NVPRT_LIST_TYPE_UC ? in mlx5_modify_nic_vport_mac_list()332 if (list_size > max_list_size) in mlx5_modify_nic_vport_mac_list()374 int max_list_size; in mlx5_modify_nic_vport_vlans() local380 max_list_size = 1 << MLX5_CAP_GEN(dev, log_max_vlan_list); in mlx5_modify_nic_vport_vlans()[all …]
138 int max_list_size; in mlx5e_vport_context_update_vlans() local149 max_list_size = 1 << MLX5_CAP_GEN(priv->mdev, log_max_vlan_list); in mlx5e_vport_context_update_vlans()151 if (list_size > max_list_size) { in mlx5e_vport_context_update_vlans()154 list_size, max_list_size); in mlx5e_vport_context_update_vlans()155 list_size = max_list_size; in mlx5e_vport_context_update_vlans()
605 int max_list_size = BIT(MLX5_CAP_FLOWTABLE_TYPE(dev, in mlx5_cmd_set_fte() local620 if (list_size > max_list_size) { in mlx5_cmd_set_fte()
767 int max_list_size = BIT(MLX5_CAP_FLOWTABLE_TYPE(dev, in mlx5dr_cmd_set_fte() local782 if (list_size > max_list_size) { in mlx5dr_cmd_set_fte()
5995 bus_size_t max_list_size; in ahd_sglist_allocsize() local6011 max_list_size = roundup(sg_list_increment, PAGE_SIZE); in ahd_sglist_allocsize()6012 if (max_list_size < 4 * PAGE_SIZE) in ahd_sglist_allocsize()6013 max_list_size = 4 * PAGE_SIZE; in ahd_sglist_allocsize()6014 if (max_list_size > (AHD_SCB_MAX_ALLOC * sg_list_increment)) in ahd_sglist_allocsize()6015 max_list_size = (AHD_SCB_MAX_ALLOC * sg_list_increment); in ahd_sglist_allocsize()6016 while ((sg_list_size + sg_list_increment) <= max_list_size in ahd_sglist_allocsize()