Displaying 2 results from an estimated 2 matches for "b29dacf".
Did you mean:
2b5dacf
2012 Nov 26
1
[net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent
...device supports hardware address
* change when it's running */
+#define IFF_TX_SKB_FREE_DELAY 0x200000 /* device does free the tx skb
+ * immediately when it is sent */
#define IF_GET_IFACE 0x0001 /* for querying only */
diff --git 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-...
2012 Nov 26
1
[net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent
...device supports hardware address
* change when it's running */
+#define IFF_TX_SKB_FREE_DELAY 0x200000 /* device does free the tx skb
+ * immediately when it is sent */
#define IF_GET_IFACE 0x0001 /* for querying only */
diff --git 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-...