Re: [RFC PATCH 04/12] net: introduce NETIF_F_RXCSUM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michał Mirosław
Date: Tuesday, January 4, 2011 - 11:33 am

On Sun, Dec 19, 2010 at 01:57:15AM +0100, Michał Mirosław wrote:

All drivers that have set_rx_csum() also define matching get_rx_csum().

Anyway, the code this is removing is broken in that it assumes TX csum
capability implying RX csum capability.

As a side note, GRO receive functions (TCPv4 and v6 - no other protocols
use it) are checking skb->ip_summed != CHECKSUM_NONE before allowing the
packet to be passed on, so it's not even necessary to force disabling GRO
when RX csum is off.

Best Regards,
Michał Mirosław
--
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:
[RFC PATCH 05/12] net: ethtool: use ndo_fix_features for e ..., =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
[RFC PATCH 04/12] net: introduce NETIF_F_RXCSUM, =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
[RFC PATCH 06/12] bridge: convert br_features_recompute() ..., =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
[RFC PATCH 03/12] net: ethtool: use ndo_fix_features for o ..., =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
[RFC PATCH 01/12] net: Move check of checksum features to ..., =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
[RFC PATCH 00/12] net: Unified offload configuration, =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
[RFC PATCH 09/12] virtio_net: convert to ndo_fix_features, =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
[RFC PATCH 10/12] Intel net drivers: convert to ndo_fix_fe ..., =?UTF-8?q?Micha=C5=8 ..., (Wed Dec 15, 3:24 pm)
Re: [RFC PATCH 04/12] net: introduce NETIF_F_RXCSUM, Ben Hutchings, (Thu Dec 16, 4:27 pm)
Re: [RFC PATCH 03/12] net: ethtool: use ndo_fix_features f ..., Michał Mirosław, (Sat Dec 18, 5:54 pm)
Re: [RFC PATCH 04/12] net: introduce NETIF_F_RXCSUM, Michał Mirosław, (Sat Dec 18, 5:57 pm)
Re: [RFC PATCH 04/12] net: introduce NETIF_F_RXCSUM, Michał Mirosław, (Tue Jan 4, 11:33 am)