Lines Matching refs:predt
1401 struct nfp_predt_entry *predt; in nfp_flower_add_offload() local
1403 predt = kzalloc(sizeof(*predt), GFP_KERNEL); in nfp_flower_add_offload()
1404 if (!predt) { in nfp_flower_add_offload()
1408 predt->flow_pay = flow_pay; in nfp_flower_add_offload()
1409 INIT_LIST_HEAD(&predt->nn_list); in nfp_flower_add_offload()
1411 list_add(&predt->list_head, &priv->predt_list); in nfp_flower_add_offload()
1412 flow_pay->pre_tun_rule.predt = predt; in nfp_flower_add_offload()
1413 nfp_tun_link_and_update_nn_entries(app, predt); in nfp_flower_add_offload()
1596 struct nfp_predt_entry *predt; in nfp_flower_del_offload() local
1598 predt = nfp_flow->pre_tun_rule.predt; in nfp_flower_del_offload()
1599 if (predt) { in nfp_flower_del_offload()
1601 nfp_tun_unlink_and_update_nn_entries(app, predt); in nfp_flower_del_offload()
1602 list_del(&predt->list_head); in nfp_flower_del_offload()
1604 kfree(predt); in nfp_flower_del_offload()