summaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2012-11-11 20:03:56 +0000
committerLuka Perkov <luka@openwrt.org>2012-11-11 20:03:56 +0000
commite38adfc912d8232651c06202cc4f170359482169 (patch)
tree4213b27971de2cdd758b007d806be1552f29b67a /target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch
parent306894b88fde3858773b8fd430eb6a88ed3c6c43 (diff)
downloadmaster-31e0f0ae-e38adfc912d8232651c06202cc4f170359482169.tar.gz
master-31e0f0ae-e38adfc912d8232651c06202cc4f170359482169.tar.bz2
master-31e0f0ae-e38adfc912d8232651c06202cc4f170359482169.zip
cns3xxx: convert ethernet patches to files
SVN-Revision: 34161
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch')
-rw-r--r--target/linux/cns3xxx/patches-3.3/420-ethernet_optimize_rx_offload.patch27
1 files changed, 0 insertions, 27 deletions
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 67929ef895..0000000000
--- 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;
- }