Home
last modified time | relevance | path

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

/dpdk/examples/ipv4_multicast/
H A Dmain.c240 mcast_out_pkt(struct rte_mbuf *pkt, int use_clone) in mcast_out_pkt() argument
249 if (use_clone != 0 && in mcast_out_pkt()
306 uint32_t dest_addr, port_mask, port_num, use_clone; in mcast_forward() local
340 use_clone = (port_num <= MCAST_CLONE_PORTS && in mcast_forward()
345 if (use_clone == 0) in mcast_forward()
353 for (port = 0; use_clone != port_mask; port_mask >>= 1, port++) { in mcast_forward()
357 if (likely ((mc = mcast_out_pkt(m, use_clone)) != NULL)) in mcast_forward()
360 else if (use_clone == 0) in mcast_forward()
370 if (use_clone != 0) in mcast_forward()