Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c1100 if (--tunnel_node->refcount == 0) { in bnxt_tc_put_tunnel_node()
1107 kfree_rcu(tunnel_node, rcu); in bnxt_tc_put_tunnel_node()
1110 return tunnel_node->refcount; in bnxt_tc_put_tunnel_node()
1122 struct bnxt_tc_tunnel_node *tunnel_node; in bnxt_tc_get_tunnel_node() local
1126 if (!tunnel_node) { in bnxt_tc_get_tunnel_node()
1127 tunnel_node = kzalloc(sizeof(*tunnel_node), GFP_KERNEL); in bnxt_tc_get_tunnel_node()
1128 if (!tunnel_node) { in bnxt_tc_get_tunnel_node()
1133 tunnel_node->key = *tun_key; in bnxt_tc_get_tunnel_node()
1138 kfree_rcu(tunnel_node, rcu); in bnxt_tc_get_tunnel_node()
1142 tunnel_node->refcount++; in bnxt_tc_get_tunnel_node()
[all …]