netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Packet Corruption Support
@ 2006-08-16 22:50 Ritesh Taank
  2006-08-16 22:54 ` Rick Jones
  2006-08-16 22:59 ` Stephen Hemminger
  0 siblings, 2 replies; 3+ messages in thread
From: Ritesh Taank @ 2006-08-16 22:50 UTC (permalink / raw)
  To: netdev@vger.kernel.org

Hi there,

I am currently using netem that has been packaged with my linux kernel 
2.6.17 (as part of the Knoppix 5.0.1 Boot CD), and the 'corrupt' 
parameter is not being recognised as a valid argument.

Having read many posts online, it appears that the Packet Corruption 
feature should be supported from kernel versions 2.6.16 onwards.

So I was wondering why my version does not support the corrupt feature?

Are there any kernel versions out there that do support it?

I was wondering if there was a way to patch my existing kernel do enable 
the corruption feature?

Any help/guidance is much appreciate.

Thanks in advance too.

Ritesh

-- 
PhD Researcher
Adaptive Communication Networks Research Group
Electronic Engineering Dept.
Aston University
Birmingham, B4 7ET

t: +44 (0)7732 069 667
e: taankr@aston.ac.uk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Packet Corruption Support
  2006-08-16 22:50 Packet Corruption Support Ritesh Taank
@ 2006-08-16 22:54 ` Rick Jones
  2006-08-16 22:59 ` Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Rick Jones @ 2006-08-16 22:54 UTC (permalink / raw)
  To: Ritesh Taank; +Cc: netdev@vger.kernel.org

Ritesh Taank wrote:
> Hi there,
> 
> I am currently using netem that has been packaged with my linux kernel 
> 2.6.17 (as part of the Knoppix 5.0.1 Boot CD), and the 'corrupt' 
> parameter is not being recognised as a valid argument.
> 
> Having read many posts online, it appears that the Packet Corruption 
> feature should be supported from kernel versions 2.6.16 onwards.

I would think that if run on an end system at least, trying to corrupt 
packets with CKO enabled on a NIC might be, well, difficult.  Or does 
netem disable CKO?

rick jones

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Packet Corruption Support
  2006-08-16 22:50 Packet Corruption Support Ritesh Taank
  2006-08-16 22:54 ` Rick Jones
@ 2006-08-16 22:59 ` Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2006-08-16 22:59 UTC (permalink / raw)
  To: Ritesh Taank; +Cc: netdev@vger.kernel.org

On Wed, 16 Aug 2006 23:50:26 +0100
Ritesh Taank <taankr@aston.ac.uk> wrote:

> Hi there,
> 
> I am currently using netem that has been packaged with my linux kernel 
> 2.6.17 (as part of the Knoppix 5.0.1 Boot CD), and the 'corrupt' 
> parameter is not being recognised as a valid argument.
> 
> Having read many posts online, it appears that the Packet Corruption 
> feature should be supported from kernel versions 2.6.16 onwards.
> 
> So I was wondering why my version does not support the corrupt feature?
> 
> Are there any kernel versions out there that do support it?
> 
> I was wondering if there was a way to patch my existing kernel do enable 
> the corruption feature?
> 
> Any help/guidance is much appreciate.
> 
> Thanks in advance too.
> 
> Ritesh

It was introduced with this change set.

Author: Stephen Hemminger <shemminger@osdl.org>  2005-12-21 19:03:44
Committer: David S. Miller <davem@sunset.davemloft.net>  2006-01-03 13:11:05
Parent: aa8751667dcd757dd9a711b51140adf181501c44 ([PKT_SCHED]: sch_netem: correctly order packets to be sent simultaneously)
Child:  6d037a26f08711a222ed0d3d12b09e93eed7d3e8 ([PKT_SCHED]: Qdisc drop operation is optional)

    [PKT_SCHED] netem: packet corruption option
    
    Here is a new feature for netem in 2.6.16. It adds the ability to
    randomly corrupt packets with netem. A version was done by
    Hagen Paul Pfeifer, but I redid it to handle the cases of backwards
    compatibility with netlink interface and presence of hardware checksum
    offload. It is useful for testing hardware offload in devices.
    
    Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>


More likely the version if iproute2 utilities included with Knoppix is not
up to date and doesn't understand the command line option.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-16 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-16 22:50 Packet Corruption Support Ritesh Taank
2006-08-16 22:54 ` Rick Jones
2006-08-16 22:59 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).