Searched refs:bit_id (Results 1 – 3 of 3) sorted by relevance
408 int bit_id; in qede_alloc_filter() local410 bit_id = find_first_zero_bit(edev->arfs->arfs_fltr_bmap, in qede_alloc_filter()413 if (bit_id >= QEDE_RFS_MAX_FLTR) in qede_alloc_filter()426 n->sw_id = (u16)bit_id; in qede_alloc_filter()427 set_bit(bit_id, edev->arfs->arfs_fltr_bmap); in qede_alloc_filter()
5731 int bit_id; in bnxt_init_l2_filter() local5733 bit_id = bitmap_find_free_region(bp->ntp_fltr_bmap, in bnxt_init_l2_filter()5735 if (bit_id < 0) in bnxt_init_l2_filter()5737 fltr->base.sw_id = (u16)bit_id; in bnxt_init_l2_filter()14610 int bit_id; in bnxt_insert_ntp_filter() local14613 bit_id = bitmap_find_free_region(bp->ntp_fltr_bmap, bp->max_fltr, 0); in bnxt_insert_ntp_filter()14614 if (bit_id < 0) { in bnxt_insert_ntp_filter()14619 fltr->base.sw_id = (u16)bit_id; in bnxt_insert_ntp_filter()
7076 u16 bit_id; in hclge_add_fd_entry_by_arfs() local7100 bit_id = find_first_zero_bit(hdev->fd_bmap, MAX_FD_FILTER_NUM); in hclge_add_fd_entry_by_arfs()7101 if (bit_id >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_add_fd_entry_by_arfs()7112 rule->location = bit_id; in hclge_add_fd_entry_by_arfs()