netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/5] Ethernet low-level frame debugging support.
@ 2011-06-18  0:09 greearb
  2011-06-18  0:09 ` [RFC 1/5] net: Support ethtool ops for rx of errored frames greearb
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: greearb @ 2011-06-18  0:09 UTC (permalink / raw)
  To: netdev; +Cc: Ben Greear

From: Ben Greear <greearb@candelatech.com>

This builds on the previous patches to allow receiving the
Ethernet FCS.

These patches let one receive errored frames up the stack
and generate frames with customized FCS.  This allows one
to generate and receive frames with bad CRC for testing
and sniffing purposes.

I'll finish send/rcv support for e100,e1000, and e1000e
if these patches are acceptable.

Ben Greear (5):
  net:  Support ethtool ops for rx of errored frames.
  net:  Add pkt-type PACKET_INVALID
  e100:  Support receiving errored frames.
  net:  Support sending frame with specified FCS.
  e1000e:  Support sending frame with custom FCS.

 drivers/net/e100.c           |   42 ++++++++++++++++++++++++++++++++++++++++--
 drivers/net/e1000e/netdev.c  |   11 +++++++++++
 include/asm-generic/socket.h |    7 +++++++
 include/linux/ethtool.h      |    7 +++++++
 include/linux/if_packet.h    |    7 +++++--
 include/linux/skbuff.h       |    5 ++++-
 include/net/sock.h           |    6 ++++++
 net/core/ethtool.c           |    8 ++++++++
 net/core/skbuff.c            |    1 +
 net/core/sock.c              |    7 +++++++
 net/packet/af_packet.c       |   22 ++++++++++++++++++++--
 11 files changed, 116 insertions(+), 7 deletions(-)

-- 
1.7.3.4


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

end of thread, other threads:[~2011-06-18 14:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-18  0:09 [RFC 0/5] Ethernet low-level frame debugging support greearb
2011-06-18  0:09 ` [RFC 1/5] net: Support ethtool ops for rx of errored frames greearb
2011-06-18  0:09 ` [RFC 2/5] net: Add pkt-type PACKET_INVALID greearb
2011-06-18  0:09 ` [RFC 3/5] e100: Support receiving errored frames greearb
2011-06-18  0:09 ` [RFC 4/5] net: Support sending frame with specified FCS greearb
2011-06-18  5:54   ` Eric Dumazet
2011-06-18 14:29     ` Ben Greear
2011-06-18 14:44       ` Eric Dumazet
2011-06-18  0:09 ` [RFC 5/5] e1000e: Support sending frame with custom FCS greearb

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).