Searched refs:max_list_size (Results 1 – 4 of 4) sorted by relevance
276 int max_list_size; in mlx5_query_nic_vport_mac_list() local285 max_list_size = list_type == MLX5_NVPRT_LIST_TYPE_UC ? in mlx5_query_nic_vport_mac_list()289 if (req_list_size > max_list_size) { in mlx5_query_nic_vport_mac_list()291 req_list_size, max_list_size); in mlx5_query_nic_vport_mac_list()292 req_list_size = max_list_size; in mlx5_query_nic_vport_mac_list()337 int max_list_size; in mlx5_modify_nic_vport_mac_list() local343 max_list_size = list_type == MLX5_NVPRT_LIST_TYPE_UC ? in mlx5_modify_nic_vport_mac_list()347 if (list_size > max_list_size) in mlx5_modify_nic_vport_mac_list()390 int max_list_size; in mlx5_modify_nic_vport_vlans() local396 max_list_size = 1 << MLX5_CAP_GEN(dev, log_max_vlan_list); in mlx5_modify_nic_vport_vlans()[all …]
113 int max_list_size; in mlx5e_vport_context_update_vlans() local124 max_list_size = 1 << MLX5_CAP_GEN(priv->mdev, log_max_vlan_list); in mlx5e_vport_context_update_vlans()126 if (list_size > max_list_size) { in mlx5e_vport_context_update_vlans()129 list_size, max_list_size); in mlx5e_vport_context_update_vlans()130 list_size = max_list_size; in mlx5e_vport_context_update_vlans()
537 int max_list_size = BIT(MLX5_CAP_FLOWTABLE_TYPE(dev, in mlx5_cmd_set_fte() local552 if (list_size > max_list_size) { in mlx5_cmd_set_fte()
6025 bus_size_t max_list_size; in ahd_sglist_allocsize() local6041 max_list_size = roundup(sg_list_increment, PAGE_SIZE); in ahd_sglist_allocsize()6042 if (max_list_size < 4 * PAGE_SIZE) in ahd_sglist_allocsize()6043 max_list_size = 4 * PAGE_SIZE; in ahd_sglist_allocsize()6044 if (max_list_size > (AHD_SCB_MAX_ALLOC * sg_list_increment)) in ahd_sglist_allocsize()6045 max_list_size = (AHD_SCB_MAX_ALLOC * sg_list_increment); in ahd_sglist_allocsize()6046 while ((sg_list_size + sg_list_increment) <= max_list_size in ahd_sglist_allocsize()