Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7091 u16 bit_id; in hclge_add_fd_entry_by_arfs() local
7115 bit_id = find_first_zero_bit(hdev->fd_bmap, MAX_FD_FILTER_NUM); in hclge_add_fd_entry_by_arfs()
7116 if (bit_id >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_add_fd_entry_by_arfs()
7127 rule->location = bit_id; in hclge_add_fd_entry_by_arfs()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c12851 int rc = 0, idx, bit_id, l2_idx = 0; in bnxt_rx_flow_steer() local
12916 bit_id = bitmap_find_free_region(bp->ntp_fltr_bmap, in bnxt_rx_flow_steer()
12918 if (bit_id < 0) { in bnxt_rx_flow_steer()
12924 new_fltr->sw_id = (u16)bit_id; in bnxt_rx_flow_steer()