Searched refs:fd_bmap (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 819 spinlock_t fd_rule_lock; /* protect fd_rule_list and fd_bmap */ 823 unsigned long fd_bmap[BITS_TO_LONGS(MAX_FD_FILTER_NUM)]; member
|
H A D | hclge_main.c | 5659 clear_bit(location, hdev->fd_bmap); in hclge_fd_update_rule_list() 5677 set_bit(location, hdev->fd_bmap); in hclge_fd_update_rule_list() 6004 for_each_set_bit(location, hdev->fd_bmap, in hclge_del_all_fd_entries() 6017 bitmap_zero(hdev->fd_bmap, in hclge_del_all_fd_entries() 6051 clear_bit(rule->location, hdev->fd_bmap); in hclge_restore_fd_entries() 6428 bit_id = find_first_zero_bit(hdev->fd_bmap, MAX_FD_FILTER_NUM); in hclge_add_fd_entry_by_arfs() 6440 set_bit(bit_id, hdev->fd_bmap); in hclge_add_fd_entry_by_arfs() 6490 clear_bit(rule->location, hdev->fd_bmap); in hclge_rfs_filter_expire()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 941 spinlock_t fd_rule_lock; /* protect fd_rule_list and fd_bmap */ 947 unsigned long fd_bmap[BITS_TO_LONGS(MAX_FD_FILTER_NUM)]; member
|
H A D | hclge_main.c | 5097 if (!test_bit(location, hdev->fd_bmap)) { in hclge_fd_inc_rule_cnt() 5098 set_bit(location, hdev->fd_bmap); in hclge_fd_inc_rule_cnt() 5105 if (test_bit(location, hdev->fd_bmap)) { in hclge_fd_dec_rule_cnt() 5106 clear_bit(location, hdev->fd_bmap); in hclge_fd_dec_rule_cnt() 5134 * unnecessary to update the rule number and fd_bmap. in hclge_update_fd_rule_node() 6528 !test_bit(fs->location, hdev->fd_bmap)) { in hclge_del_fd_entry() 6556 for_each_set_bit(location, hdev->fd_bmap, in hclge_clear_fd_rules_in_list() 6569 bitmap_zero(hdev->fd_bmap, in hclge_clear_fd_rules_in_list() 7023 bit_id = find_first_zero_bit(hdev->fd_bmap, MAX_FD_FILTER_NUM); in hclge_add_fd_entry_by_arfs() 7274 if (test_bit(prio - 1, hdev->fd_bmap)) { in hclge_check_cls_flower() [all...] |
Completed in 31 milliseconds