Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c6378 u16 bit_id; in hclge_add_fd_entry_by_arfs() local
6402 bit_id = find_first_zero_bit(hdev->fd_bmap, MAX_FD_FILTER_NUM); in hclge_add_fd_entry_by_arfs()
6403 if (bit_id >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) { in hclge_add_fd_entry_by_arfs()
6414 set_bit(bit_id, hdev->fd_bmap); in hclge_add_fd_entry_by_arfs()
6415 rule->location = bit_id; in hclge_add_fd_entry_by_arfs()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c11822 int rc = 0, idx, bit_id, l2_idx = 0; in bnxt_rx_flow_steer() local
11887 bit_id = bitmap_find_free_region(bp->ntp_fltr_bmap, in bnxt_rx_flow_steer()
11889 if (bit_id < 0) { in bnxt_rx_flow_steer()
11895 new_fltr->sw_id = (u16)bit_id; in bnxt_rx_flow_steer()