Re: [PATCH 2/2] pktgen: receive packets and process incoming rate

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Turull
Date: Wednesday, June 2, 2010 - 6:28 am

Eric Dumazet wrote:

Yes, it allows to receive a feedback of pktgen of the traffic received which comes from pktgen. It is an addition for pktgen. By default is disabled.

Yes, I used the same type as the number of packets send of the transmission size
struct pktgen_dev
	__u64 sofar;


It is not IPV6 compatible yet. 
I only tried with pktgen traffic
The PKTGEN_MAGIC is checked in order to validate that is a pktgen packet



Ok, thanks for the advice. I will redo this part in order to make it compatabile with IPV6 and make it more optimal.

This was added, in order to add the ethernet header in the bytes in order to have the same number in tx an rx, but yes I should use ETH_HLEN


This handler as a new packet type, but the packets are also delivered to the IP stack.  It is possible to control the session with ssh.


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] pktgen: receive packets and process incomi ..., Daniel Turull, (Wed Jun 2, 6:28 am)