Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c276 int max_list_size; in mlx5_query_nic_vport_mac_list() local
285 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() local
343 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() local
396 max_list_size = 1 << MLX5_CAP_GEN(dev, log_max_vlan_list); in mlx5_modify_nic_vport_vlans()
[all …]
Den_fs.c113 int max_list_size; in mlx5e_vport_context_update_vlans() local
124 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()
Dfs_cmd.c537 int max_list_size = BIT(MLX5_CAP_FLOWTABLE_TYPE(dev, in mlx5_cmd_set_fte() local
552 if (list_size > max_list_size) { in mlx5_cmd_set_fte()
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic79xx_core.c6025 bus_size_t max_list_size; in ahd_sglist_allocsize() local
6041 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()