Skip to content

Ethernet low-level frame debugging support.

[email protected] netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review
  2. v1 RFC5 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: Support ethtool ops for rx of errored frames.include/linux/ethtool.h net/core/ethtool.c+15 -05 replies
2/5net: Add pkt-type PACKET_INVALIDinclude/linux/if_packet.h+5 -20 replies
3/5e100: Support receiving errored frames.drivers/net/e100.c+40 -22 replies
4/5net: Support sending frame with specified FCS.arch/alpha/include/asm/socket.h arch/arm/include/asm/socket.h arch/avr32/include/asm/socket.h +19 more+57 -30 replies
5/5e1000e: Support sending frame with custom FCS.drivers/net/e1000e/netdev.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Ethernet low-level frame debugging support.

From: Ben Greear <[email protected]>

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.

v2: Change 'kludge' to fcs_len in af_packet.c
Add SO_NOFCS to the rest of the various arch socket.h files.

*** BLURB HERE ***

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.

 arch/alpha/include/asm/socket.h   |    1 +
 arch/arm/include/asm/socket.h     |    1 +
 arch/avr32/include/asm/socket.h   |    1 +
 arch/cris/include/asm/socket.h    |    1 +
 arch/frv/include/asm/socket.h     |    1 +
 arch/h8300/include/asm/socket.h   |    1 +
 arch/ia64/include/asm/socket.h    |    1 +
 arch/m32r/include/asm/socket.h    |    1 +
 arch/m68k/include/asm/socket.h    |    1 +
 arch/mips/include/asm/socket.h    |    1 +
 arch/mn10300/include/asm/socket.h |    1 +
 arch/parisc/include/asm/socket.h  |    1 +
 arch/powerpc/include/asm/socket.h |    1 +
 arch/s390/include/asm/socket.h    |    1 +
 arch/sparc/include/asm/socket.h   |    1 +
 arch/xtensa/include/asm/socket.h  |    1 +
 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            |   18 ++++++++++++++-
 27 files changed, 128 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.3.4