Home
last modified time | relevance | path

Searched refs:bit_id (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c408 int bit_id; in qede_alloc_filter() local
410 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()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5731 int bit_id; in bnxt_init_l2_filter() local
5733 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() local
14613 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()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7076 u16 bit_id; in hclge_add_fd_entry_by_arfs() local
7100 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()