Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c261 int max_list_size; in mlx5_query_nic_vport_mac_list() local
270 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()
323 int max_list_size; in mlx5_modify_nic_vport_mac_list() local
329 max_list_size = list_type == MLX5_NVPRT_LIST_TYPE_UC ? in mlx5_modify_nic_vport_mac_list()
333 if (list_size > max_list_size) in mlx5_modify_nic_vport_mac_list()
375 int max_list_size; in mlx5_modify_nic_vport_vlans() local
381 max_list_size = 1 << MLX5_CAP_GEN(dev, log_max_vlan_list); in mlx5_modify_nic_vport_vlans()
[all …]
H A Den_fs.c172 int max_list_size; in mlx5e_vport_context_update_vlans() local
183 max_list_size = 1 << MLX5_CAP_GEN(fs->mdev, log_max_vlan_list); in mlx5e_vport_context_update_vlans()
185 if (list_size > max_list_size) { in mlx5e_vport_context_update_vlans()
187 list_size, max_list_size); in mlx5e_vport_context_update_vlans()
188 list_size = max_list_size; in mlx5e_vport_context_update_vlans()
H A Dfs_cmd.c710 int max_list_size = BIT(MLX5_CAP_FLOWTABLE_TYPE(dev, in mlx5_cmd_set_fte() local
725 if (list_size > max_list_size) { in mlx5_cmd_set_fte()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c942 int max_list_size = BIT(MLX5_CAP_FLOWTABLE_TYPE(dev, in mlx5dr_cmd_set_fte() local
957 if (list_size > max_list_size) { in mlx5dr_cmd_set_fte()
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic79xx_core.c5995 bus_size_t max_list_size; in ahd_sglist_allocsize() local
6011 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()