Le vendredi 10 février 2012 à 17:04 -0800, greearb@candelatech.com a
écrit :
From: Ben Greear <redacted>
This allows e100 to be configured to append the
Ethernet FCS to the skb.
Useful for sniffing networks.
Signed-off-by: Ben Greear <redacted>
---
Did you try this patch with 8021Q frames ?
You must change
#define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN)
to :
#define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)
And also on various spots where VLAN_ETH_FRAME_LEN is used in this
driver...
nic->blank_rfd.size = cpu_to_le16(VLAN_ETH_FRAME_LEN);