Home
last modified time | relevance | path

Searched refs:rfs_h (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/cisco/enic/
Denic_clsf.c77 spin_lock_init(&enic->rfs_h.lock); in enic_rfs_flw_tbl_init()
79 INIT_HLIST_HEAD(&enic->rfs_h.ht_head[i]); in enic_rfs_flw_tbl_init()
80 enic->rfs_h.max = enic->config.num_arfs; in enic_rfs_flw_tbl_init()
81 enic->rfs_h.free = enic->rfs_h.max; in enic_rfs_flw_tbl_init()
82 enic->rfs_h.toclean = 0; in enic_rfs_flw_tbl_init()
90 spin_lock_bh(&enic->rfs_h.lock); in enic_rfs_flw_tbl_free()
96 hhead = &enic->rfs_h.ht_head[i]; in enic_rfs_flw_tbl_free()
101 enic->rfs_h.free++; in enic_rfs_flw_tbl_free()
104 spin_unlock_bh(&enic->rfs_h.lock); in enic_rfs_flw_tbl_free()
116 hhead = &enic->rfs_h.ht_head[i]; in htbl_fltr_search()
[all …]
Denic_ethtool.c393 cmd->data = enic->rfs_h.max - enic->rfs_h.free; in enic_grxclsrlall()
399 hhead = &enic->rfs_h.ht_head[j]; in enic_grxclsrlall()
503 spin_lock_bh(&enic->rfs_h.lock); in enic_get_rxnfc()
504 cmd->rule_cnt = enic->rfs_h.max - enic->rfs_h.free; in enic_get_rxnfc()
505 cmd->data = enic->rfs_h.max; in enic_get_rxnfc()
506 spin_unlock_bh(&enic->rfs_h.lock); in enic_get_rxnfc()
509 spin_lock_bh(&enic->rfs_h.lock); in enic_get_rxnfc()
511 spin_unlock_bh(&enic->rfs_h.lock); in enic_get_rxnfc()
514 spin_lock_bh(&enic->rfs_h.lock); in enic_get_rxnfc()
516 spin_unlock_bh(&enic->rfs_h.lock); in enic_get_rxnfc()
Denic_clsf.h23 timer_setup(&enic->rfs_h.rfs_may_expire, enic_flow_may_expire, 0); in enic_rfs_timer_start()
24 mod_timer(&enic->rfs_h.rfs_may_expire, jiffies + HZ/4); in enic_rfs_timer_start()
29 del_timer_sync(&enic->rfs_h.rfs_may_expire); in enic_rfs_timer_stop()
Denic.h185 struct enic_rfs_flw_tbl rfs_h; member