[PATCH 0/2][RFC] mv643xx_eth: hw tx checksumming support for vlan-tagged packets

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lennert Buytenhek
Date: Monday, July 7, 2008 - 1:56 pm

These two patches let mv643xx_eth use hardware TX checksumming in the
presence of extra data between the ethernet header and the IP header
(e.g. vlan tags, or DSA switch tags (for which I'll hopefully submit
some code soon)).

The main thing I'd like feedback on is that I had to switch
vlan_check_reorder_header() from using skb_copy() to using pskb_copy()
to have fragmented skbs survive the trip through the stack to the
driver's ->hard_start_xmit() function at all.  The patch to the driver
itself (2/2) should be pretty straightforward.

(These patches depend on Patrick McHardy's patch "vlan: fix
network_header/mac_header adjustments".)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2][RFC] mv643xx_eth: hw tx checksumming support f ..., Lennert Buytenhek, (Mon Jul 7, 1:56 pm)