Garrett D'Amore writes:
 > 
 > Yes, but the API lacks the ability to express this distinction in the 
 > capability bits.  So far, I've only run into problems for hardware on 
 > receive... for hme and eri, they have the ability to put a different 
 > start offset on tx.  But for rx, you don't know in advance if the frame 
 > is tagged or not, so we just program in the offset for non-tagged 
 > frames.  If the frame shows up tagged, then we drop the partial checksum 
 > data before we send the packet upstream.

Why don't you just fix the checksum by "subtracting" off the last 4
bytes of the expanded vlan header (bytes 14..17 of the frame).

Drew
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to