Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/rocker/
Drocker_ofdpa.c173 struct ofdpa { struct
194 struct ofdpa *ofdpa; argument
741 ofdpa_flow_tbl_find(const struct ofdpa *ofdpa, in ofdpa_flow_tbl_find() argument
747 hash_for_each_possible(ofdpa->flow_tbl, found, in ofdpa_flow_tbl_find()
759 struct ofdpa *ofdpa = ofdpa_port->ofdpa; in ofdpa_flow_tbl_add() local
766 spin_lock_irqsave(&ofdpa->flow_tbl_lock, lock_flags); in ofdpa_flow_tbl_add()
768 found = ofdpa_flow_tbl_find(ofdpa, match); in ofdpa_flow_tbl_add()
778 found->cookie = ofdpa->flow_tbl_next_cookie++; in ofdpa_flow_tbl_add()
782 hash_add(ofdpa->flow_tbl, &found->entry, found->key_crc32); in ofdpa_flow_tbl_add()
783 spin_unlock_irqrestore(&ofdpa->flow_tbl_lock, lock_flags); in ofdpa_flow_tbl_add()
[all …]