• Home
  • Raw
  • Download

Lines Matching refs:nft_m_entry

1180 	struct nfp_fl_nft_tc_merge *nft_m_entry;  in nfp_ct_do_nft_merge()  local
1217 nft_m_entry = get_hashentry(&zt->nft_merge_tb, in nfp_ct_do_nft_merge()
1220 sizeof(*nft_m_entry)); in nfp_ct_do_nft_merge()
1222 if (IS_ERR(nft_m_entry)) in nfp_ct_do_nft_merge()
1223 return PTR_ERR(nft_m_entry); in nfp_ct_do_nft_merge()
1226 if (!memcmp(&new_cookie, nft_m_entry->cookie, sizeof(new_cookie))) in nfp_ct_do_nft_merge()
1229 memcpy(&nft_m_entry->cookie, &new_cookie, sizeof(new_cookie)); in nfp_ct_do_nft_merge()
1230 nft_m_entry->zt = zt; in nfp_ct_do_nft_merge()
1231 nft_m_entry->tc_m_parent = tc_m_entry; in nfp_ct_do_nft_merge()
1232 nft_m_entry->nft_parent = nft_entry; in nfp_ct_do_nft_merge()
1233 nft_m_entry->tc_flower_cookie = 0; in nfp_ct_do_nft_merge()
1237 nft_m_entry->netdev = pre_ct_entry->netdev; in nfp_ct_do_nft_merge()
1240 list_add(&nft_m_entry->tc_merge_list, &tc_m_entry->children); in nfp_ct_do_nft_merge()
1241 list_add(&nft_m_entry->nft_flow_list, &nft_entry->children); in nfp_ct_do_nft_merge()
1243 err = rhashtable_insert_fast(&zt->nft_merge_tb, &nft_m_entry->hash_node, in nfp_ct_do_nft_merge()
1251 return nfp_fl_create_new_pre_ct(nft_m_entry); in nfp_ct_do_nft_merge()
1254 err = nfp_fl_ct_add_offload(nft_m_entry); in nfp_ct_do_nft_merge()
1261 nfp_fl_ct_del_offload(zt->priv->app, nft_m_entry->tc_flower_cookie, in nfp_ct_do_nft_merge()
1262 nft_m_entry->netdev); in nfp_ct_do_nft_merge()
1264 list_del(&nft_m_entry->tc_merge_list); in nfp_ct_do_nft_merge()
1265 list_del(&nft_m_entry->nft_flow_list); in nfp_ct_do_nft_merge()
1266 kfree(nft_m_entry); in nfp_ct_do_nft_merge()