Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_tc.c952 struct bnxt_tc_l2_node *l2_node = flow_node->l2_node; in bnxt_tc_put_l2_node() local
965 kfree_rcu(l2_node, rcu); in bnxt_tc_put_l2_node()
979 if (!l2_node) { in bnxt_tc_get_l2_node()
980 l2_node = kzalloc(sizeof(*l2_node), GFP_KERNEL); in bnxt_tc_get_l2_node()
981 if (!l2_node) { in bnxt_tc_get_l2_node()
986 l2_node->key = *l2_key; in bnxt_tc_get_l2_node()
990 kfree_rcu(l2_node, rcu); in bnxt_tc_get_l2_node()
998 return l2_node; in bnxt_tc_get_l2_node()
1016 if (!l2_node) in bnxt_tc_get_ref_flow_handle()
1035 flow_node->l2_node = l2_node; in bnxt_tc_get_ref_flow_handle()
[all …]
A Dbnxt_tc.h201 struct bnxt_tc_l2_node *l2_node; member
/drivers/net/ethernet/mediatek/
A Dmtk_ppe.c23 .head_offset = offsetof(struct mtk_flow_entry, l2_node),
507 rhashtable_remove_fast(&ppe->l2_flows, &entry->l2_node, in __mtk_foe_entry_clear()
667 prev = rhashtable_lookup_get_insert_fast(&ppe->l2_flows, &entry->l2_node, in mtk_foe_entry_commit_l2()
675 return rhashtable_replace_fast(&ppe->l2_flows, &prev->l2_node, in mtk_foe_entry_commit_l2()
676 &entry->l2_node, mtk_flow_l2_ht_params); in mtk_foe_entry_commit_l2()
A Dmtk_ppe.h291 struct rhash_head l2_node; member
/drivers/net/ethernet/airoha/
A Dairoha_ppe.c28 .head_offset = offsetof(struct airoha_flow_table_entry, l2_node),
639 rhashtable_remove_fast(&ppe->l2_flows, &e->l2_node, in airoha_ppe_foe_remove_l2_flow()
768 prev = rhashtable_lookup_get_insert_fast(&ppe->l2_flows, &e->l2_node, in airoha_ppe_foe_l2_flow_commit_entry()
776 return rhashtable_replace_fast(&ppe->l2_flows, &prev->l2_node, in airoha_ppe_foe_l2_flow_commit_entry()
777 &e->l2_node, in airoha_ppe_foe_l2_flow_commit_entry()
A Dairoha_eth.h468 struct rhash_head l2_node; /* L2 flow entry */ member

Completed in 20 milliseconds