Home
last modified time | relevance | path

Searched refs:num_of_rules (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc.c309 atomic_set(&size->num_of_rules, 0); in hws_bwc_matcher_init_size_rxtx()
389 u32 rx_rules = atomic_read(&bwc_matcher->rx_size.num_of_rules); in mlx5hws_bwc_matcher_destroy()
390 u32 tx_rules = atomic_read(&bwc_matcher->tx_size.num_of_rules); in mlx5hws_bwc_matcher_destroy()
560 atomic_dec(&bwc_matcher->rx_size.num_of_rules); in hws_bwc_rule_cnt_dec()
562 atomic_dec(&bwc_matcher->tx_size.num_of_rules); in hws_bwc_rule_cnt_dec()
574 if (atomic_read(&rx_size->num_of_rules) || in hws_bwc_matcher_rehash_shrink()
575 atomic_read(&tx_size->num_of_rules)) in hws_bwc_matcher_rehash_shrink()
606 if (atomic_read(&bwc_matcher->rx_size.num_of_rules) || in hws_bwc_rule_cnt_dec_with_shrink()
607 atomic_read(&bwc_matcher->tx_size.num_of_rules)) in hws_bwc_rule_cnt_dec_with_shrink()
747 u32 num_of_rules) in hws_bwc_matcher_rehash_size_needed() argument
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dioctl.h465 u16 num_of_rules; member
H A Dsta_cmd.c1739 coalesce_cfg->num_of_rules = cpu_to_le16(cfg->num_of_rules); in mwifiex_cmd_coalesce_cfg()
1742 for (cnt = 0; cnt < cfg->num_of_rules; cnt++) { in mwifiex_cmd_coalesce_cfg()
H A Dfw.h2303 __le16 num_of_rules; member
H A Dcfg80211.c3766 coalesce_cfg.num_of_rules = coalesce->n_rules; in mwifiex_cfg80211_set_coalesce()