search for: pktgen_wait_for_skb

Displaying 2 results from an estimated 2 matches for "pktgen_wait_for_skb".

2012 Nov 26
1
[net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent
...it a/net/core/pktgen.c b/net/core/pktgen.c index b29dacf..85d4e53 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -3269,7 +3269,8 @@ unlock: /* If pkt_dev->count is zero, then run forever */ if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) { - pktgen_wait_for_skb(pkt_dev); + if (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_FREE_DELAY)) + pktgen_wait_for_skb(pkt_dev); /* Done with this */ pktgen_stop_device(pkt_dev); -- 1.7.1
2012 Nov 26
1
[net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent
...it a/net/core/pktgen.c b/net/core/pktgen.c index b29dacf..85d4e53 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -3269,7 +3269,8 @@ unlock: /* If pkt_dev->count is zero, then run forever */ if ((pkt_dev->count != 0) && (pkt_dev->sofar >= pkt_dev->count)) { - pktgen_wait_for_skb(pkt_dev); + if (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_FREE_DELAY)) + pktgen_wait_for_skb(pkt_dev); /* Done with this */ pktgen_stop_device(pkt_dev); -- 1.7.1