Accelerated TCP/IP support from kernel

Bharath Madhavan (bharath_madhavan@ivivity.com)
Thu, 24 May 2001 18:16:17 -0400


Hello all,
I am looking into a scenario where we have a NIC which performs
all the TCP/IP processing and basically the core CPU offloads all data from
the socket level interface onwards to this NIC.
Can Linux do this as of now. I saw some limited support like TCP/IP
checksumming
being done in HW (ex: 3c905c) and linux supports it. I also saw the
ZERO_COPY
feature in linux code.
My question is can there be support for entire (almost) TCP/IP to be
offloaded
to a NIC card. I noticed some NIC cards by Alacritec and Applicom who have
such NICs but it looks like the support from Linux would be quite a bit of
work.
Basically Linux needs to support all socket calls as it will usually but
the socket interface must be intelligent enough to call different drivers(!)
for those NIC cards and thus bypassing the whole of TCP/IP stack of Linux.
Is this possible at all and if so, is anyone doing this???
I talked to a vendor who does this NIC and he said that they provide a
library
for linux which means that they have proprietery functions for using their
NIC
and thus this cannot be used in the standard socket interface way. That is a
big
limitation and not of much use. Basically, I am looking into a case where
the kernel code needs to be changed to handle this
Looking eagerly for some help/advice from you folks
Thanks a lot
Bharath
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/