sge.c (d5c3a62d0bb9b763e9378fe8f4cd79502e16cce8) sge.c (b54c9d5bd6e38edac9ce3a3f95f14a1292b5268d)
1/*
2 * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 2168 unchanged lines hidden (view full) ---

2177 skb->ip_summed = CHECKSUM_NONE;
2178 } else
2179 cpl = qs->lro_va;
2180
2181 len -= offset;
2182
2183 rx_frag += nr_frags;
2184 __skb_frag_set_page(rx_frag, sd->pg_chunk.page);
1/*
2 * Copyright (c) 2005-2008 Chelsio, Inc. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 2168 unchanged lines hidden (view full) ---

2177 skb->ip_summed = CHECKSUM_NONE;
2178 } else
2179 cpl = qs->lro_va;
2180
2181 len -= offset;
2182
2183 rx_frag += nr_frags;
2184 __skb_frag_set_page(rx_frag, sd->pg_chunk.page);
2185 rx_frag->page_offset = sd->pg_chunk.offset + offset;
2185 skb_frag_off_set(rx_frag, sd->pg_chunk.offset + offset);
2186 skb_frag_size_set(rx_frag, len);
2187
2188 skb->len += len;
2189 skb->data_len += len;
2190 skb->truesize += len;
2191 skb_shinfo(skb)->nr_frags++;
2192
2193 if (!complete)

--- 1179 unchanged lines hidden ---
2186 skb_frag_size_set(rx_frag, len);
2187
2188 skb->len += len;
2189 skb->data_len += len;
2190 skb->truesize += len;
2191 skb_shinfo(skb)->nr_frags++;
2192
2193 if (!complete)

--- 1179 unchanged lines hidden ---