o(skb)->frags[i].size >> NV_TX2_TSO_MAX_SHIFT) +
((skb_shinfo(skb)->frags[i].size &
(NV_TX2_TSO_MAX_SIZE-1)) ? 1 : 0);
}
This looks unnecessary if each frag is guaranteed not to span pages.
Ronghua
On 10/10/06, David Miller <[EMAIL PROTECTED]> wrote:
From: "Ronghua Z
From the code of tcp_sendmsg, it seems to me that each frag is at most
one page. Is it a guaranteed property or the driver should not assume
it? Thanks
Ronghua
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
When a skb reaches a device driver for tx, can the driver assumes that
all protocol headers (up to the tcp layer and including tcp options)
are in the linear part of the skb, thus it can access them via
skb->h.th? Or the answer depends on the linux kernel version? Thanks
Ronghua
-
To unsubscribe