From 133d66da06e979b099f831b63f28ab0670992547 Mon Sep 17 00:00:00 2001 From: luka Date: Sun, 11 Nov 2012 20:03:56 +0000 Subject: cns3xxx: convert ethernet patches to files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34161 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../420-ethernet_optimize_rx_offload.patch | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch (limited to 'target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch') diff --git a/target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch b/target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch deleted file mode 100644 index 67929ef89..000000000 --- a/target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/drivers/net/ethernet/cavium/cns3xxx_eth.c -+++ b/drivers/net/ethernet/cavium/cns3xxx_eth.c -@@ -653,17 +653,17 @@ static int eth_poll(struct napi_struct * - case 6: - case 13: - case 14: -- if (desc->l4f) -+ if (!desc->l4f) { -+ skb->ip_summed = CHECKSUM_UNNECESSARY; -+ napi_gro_receive(napi, skb); - break; -- -- skb->ip_summed = CHECKSUM_UNNECESSARY; -- break; -+ } -+ /* fall through */ - default: -- break; -+ netif_receive_skb(skb); -+ break; - } - -- napi_gro_receive(napi, skb); -- - sw->frag_first = NULL; - sw->frag_last = NULL; - } -- cgit v1.2.3