Re: [net-next PATCH 1/2] net: pktgen: support injecting packets for qdisc testing

2016-07-02 Thread John Fastabend
On 16-07-01 05:56 AM, Jamal Hadi Salim wrote: > On 16-06-30 12:53 PM, John Fastabend wrote: >> On 16-06-30 03:21 AM, Jamal Hadi Salim wrote: >>> On 16-06-29 03:47 PM, John Fastabend wrote: > >> >> Taking a look at the link couple differences exist. First the patch >> linked does a 'netif_xmit_froz

Re: [net-next PATCH 1/2] net: pktgen: support injecting packets for qdisc testing

2016-07-01 Thread Jamal Hadi Salim
On 16-06-30 12:53 PM, John Fastabend wrote: On 16-06-30 03:21 AM, Jamal Hadi Salim wrote: On 16-06-29 03:47 PM, John Fastabend wrote: Taking a look at the link couple differences exist. First the patch linked does a 'netif_xmit_frozen_or_drv_stopped(txq)' check but this really shouldn't be n

Re: [net-next PATCH 1/2] net: pktgen: support injecting packets for qdisc testing

2016-06-30 Thread John Fastabend
On 16-06-30 03:21 AM, Jamal Hadi Salim wrote: > On 16-06-29 03:47 PM, John Fastabend wrote: >> Add another xmit_mode to pktgen to allow testing xmit functionality >> of qdiscs. The new mode "queue_xmit" injects packets at >> __dev_queue_xmit() so that qdisc is called. >> >> Signed-off-by: John Fast

Re: [net-next PATCH 1/2] net: pktgen: support injecting packets for qdisc testing

2016-06-30 Thread Jamal Hadi Salim
On 16-06-29 03:47 PM, John Fastabend wrote: Add another xmit_mode to pktgen to allow testing xmit functionality of qdiscs. The new mode "queue_xmit" injects packets at __dev_queue_xmit() so that qdisc is called. Signed-off-by: John Fastabend --- net/core/pktgen.c | 42 ++

[net-next PATCH 1/2] net: pktgen: support injecting packets for qdisc testing

2016-06-29 Thread John Fastabend
Add another xmit_mode to pktgen to allow testing xmit functionality of qdiscs. The new mode "queue_xmit" injects packets at __dev_queue_xmit() so that qdisc is called. Signed-off-by: John Fastabend --- net/core/pktgen.c | 42 -- 1 file changed, 40 insert