Thanks Maxim, it is very helpful for me.
regs
sisi
----- Original Message -----
From: Maxim S. Shatskih
To: Windows System Software Devs Interest List
Sent: Thursday, March 04, 2004 6:11 AM
Subject: Re: [ntdev] TCP/IP Offloading and NDIS
Once more - this has nothing to do with NDIS.
NDIS (BTW, by far more feature-rich than its Linux counterpart who mandates the packets to be in-memory contiguous) suggests that you use the OS-supplied software IP stack. If this is not so - then sorry, you’re writing your own piece of code to manage your own hardware, which is not considered to be a network device by the rest of OS.
It will just handle the WinSock calls for one of the local IP addresses, and yes, “route print” will not display this address, and IP Helper APIs (which are wrappers around some IOCTLs leading to OS-supplied IP stack) will not work with it too.
IIRC this architecture is called WinSock Direct.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Sisimon
To: Windows System Software Devs Interest List
Sent: Wednesday, March 03, 2004 12:43 PM
Subject: Re: [ntdev] TCP/IP Offloading and NDIS
The idea is very popular in Linux world and it is hard to implement in Windows, bcos NDIS provide some limited interfaces to do these type stuffs. And I am writing according to the TOE implementation in Linux. The TOEs has almost full functionalities of TCP/IP. But usually it has limited memory capacity to reduce cost. So some kind of caching should implement in driver level. And one thing is sure, I have to break the normal TCP/IP stack. And my problem is, exactly where I can break the traditional tcp/ip stack.
And with my limited knowledge, Microsoft chimney provide interfaces to offload data flow(not connection establishment/termination/error handling). The connection establishment/termination stuffs will be in host OS protocol stack itself. So for connection establishment/closing it will goes through the traditional protocol stack and while send/receive packets the ASIC will do the actual work. But I have to offload all tasks including connection establishment/termination.
regs
sisi
----- Original Message -----
From: yatindra vaishnav
To: Windows System Software Devs Interest List
Sent: Wednesday, March 03, 2004 2:02 PM
Subject: Re: [ntdev] TCP/IP Offloading and NDIS
>Yeah, you have to pick what to break. I’d say that, in general, the
>more traditional high-level functionality you offload to the card, the
>more broken things will get. I’d really need to know a lot more about
>the card to recommend anything, but as a general principle, try very
>hard to not upset the standard TDI/NDIS model. The more closely you can
>fit your solution to that model, the more compatible you’ll be. And the
>more signable, if that matters.
>
Hey! It is quite possible to implement such a solution and that is too that can withstand with the normal TCPIP stack of the Windows, and i believe there will not be anything which is goin to be broken.
And believe me Steve the implementation of the TOE is totally implementoation dependent and every vendor is having their own implementation if u get idea of one it cant be fitted in the case of others.
Good Luck,
--------------------------------------------------------------------------
INDIA TODAY @ Rs. 5 + a free gift ! Subcribe Now … —
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@calsoftinc.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@calsoftinc.com
To unsubscribe send a blank email to xxxxx@lists.osr.com