Home
last modified time | relevance | path

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

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_tun.c57 if (tun_entry) { in ulp_app_tun_entry_delete()
58 if (tun_entry->ref_cnt) { in ulp_app_tun_entry_delete()
59 tun_entry->ref_cnt--; in ulp_app_tun_entry_delete()
60 if (!tun_entry->ref_cnt) in ulp_app_tun_entry_delete()
61 memset(tun_entry, 0, in ulp_app_tun_entry_delete()
70 if (!tun_entry) in ulp_app_tun_entry_set_decap_action()
73 tun_entry->action.type = (typeof(tun_entry->action.type)) in ulp_app_tun_entry_set_decap_action()
75 tun_entry->action.conf = tun_entry; in ulp_app_tun_entry_set_decap_action()
82 if (!tun_entry) in ulp_app_tun_entry_set_decap_item()
85 tun_entry->item.type = (typeof(tun_entry->item.type)) in ulp_app_tun_entry_set_decap_item()
[all …]
H A Dulp_tun.h39 struct bnxt_flow_app_tun_ent **tun_entry);
42 ulp_app_tun_entry_delete(struct bnxt_flow_app_tun_ent *tun_entry);
45 ulp_app_tun_entry_set_decap_action(struct bnxt_flow_app_tun_ent *tun_entry);
48 ulp_app_tun_entry_set_decap_item(struct bnxt_flow_app_tun_ent *tun_entry);
H A Dbnxt_ulp_flow.c508 struct bnxt_flow_app_tun_ent *tun_entry; in bnxt_ulp_tunnel_decap_set() local
544 rc = ulp_app_tun_entry_set_decap_action(tun_entry); in bnxt_ulp_tunnel_decap_set()
552 *pmd_actions = &tun_entry->action; in bnxt_ulp_tunnel_decap_set()
565 struct bnxt_flow_app_tun_ent *tun_entry; in bnxt_ulp_tunnel_match() local
601 rc = ulp_app_tun_entry_set_decap_item(tun_entry); in bnxt_ulp_tunnel_match()
609 *pmd_items = &tun_entry->item; in bnxt_ulp_tunnel_match()
621 struct bnxt_flow_app_tun_ent *tun_entry; in bnxt_ulp_tunnel_decap_release() local
642 tun_entry = ulp_app_tun_match_entry(ulp_ctx, in bnxt_ulp_tunnel_decap_release()
644 ulp_app_tun_entry_delete(tun_entry); in bnxt_ulp_tunnel_decap_release()
658 struct bnxt_flow_app_tun_ent *tun_entry; in bnxt_ulp_tunnel_item_release() local
[all …]