Re: Doubt on sk_buff

David Miller (davem@twiddle.net)
Thu, 18 Mar 1999 22:03:04 -0800


Date: Fri, 19 Mar 1999 11:09:19 +0530 (IST)
From: Prasad Hebbar <prasad@teil.soft.net>

Thanks in advance

Have the device driver directly DMA into an sk_buff, if your card can
compute TCP/IP checksums then set skb->ip_summed to
CHECKSUM_UNNECESSARY, and you can just pass that into the networking.

Look at drivers/net/sunhme.c which does exactly this.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/