Hello,

I'm developing ndis-usb miniport driver.
If IP packet order was corrupted by any reason, Have to I re-order IP
packet?


I've reviewed the TCP / IP Layer concepts in wikipedia.org.
The doc said that TCP layer re-ordered Packets.


NDIS miniport driver isn't TCP / IP layer, so don't have to re-order
packet. right?


Best regards.

Re: NDIS miniport Driver - packet re-ordering by Gianluca

Gianluca
Thu Mar 13 19:24:31 CDT 2008

The IP protocol driver is responsible for reordering the packets. A miniport
driver is just responsible for delivering packets to the upper layers as
they are received, discarding packets with L2/physical errors (e.g. wrong
FCS).

Hope it helps
GV

--
Gianluca Varenni, Windows DDK MVP

CACE Technologies
http://www.cacetech.com


"James Jin" <dosincerity@gmail.com> wrote in message
news:ff32d982-5cff-4985-acb2-061cb4356e6e@i12g2000prf.googlegroups.com...
> Hello,
>
> I'm developing ndis-usb miniport driver.
> If IP packet order was corrupted by any reason, Have to I re-order IP
> packet?
>
>
> I've reviewed the TCP / IP Layer concepts in wikipedia.org.
> The doc said that TCP layer re-ordered Packets.
>
>
> NDIS miniport driver isn't TCP / IP layer, so don't have to re-order
> packet. right?
>
>
> Best regards.



Re: NDIS miniport Driver - packet re-ordering by James

James
Thu Mar 13 21:07:35 CDT 2008

Thanks.

It would be helpful.

Best regards.

Re: NDIS miniport Driver - packet re-ordering by Paul_Simon

Paul_Simon
Thu Mar 13 22:49:25 CDT 2008

I agree with GV that you don't need to reorder the packet.
But the question is why your packets not ordering? Is sender issue or
receiver issue?
You might fail on WDK NDIS testing if your packets are not ordering.

"Gianluca Varenni" <gianluca.varenni@community.nospam>
> The IP protocol driver is responsible for reordering the packets. A
> miniport driver is just responsible for delivering packets to the upper
> layers as they are received, discarding packets with L2/physical errors
> (e.g. wrong FCS).
>
> Hope it helps
> GV
>
> --
> Gianluca Varenni, Windows DDK MVP
>
> CACE Technologies
> http://www.cacetech.com
>
>
> "James Jin" <dosincerity@gmail.com> wrote in message
> news:ff32d982-5cff-4985-acb2-061cb4356e6e@i12g2000prf.googlegroups.com...
>> Hello,
>>
>> I'm developing ndis-usb miniport driver.
>> If IP packet order was corrupted by any reason, Have to I re-order IP
>> packet?
>>
>>
>> I've reviewed the TCP / IP Layer concepts in wikipedia.org.
>> The doc said that TCP layer re-ordered Packets.
>>
>>
>> NDIS miniport driver isn't TCP / IP layer, so don't have to re-order
>> packet. right?
>>
>>
>> Best regards.
>
>



Re: NDIS miniport Driver - packet re-ordering by Maxim

Maxim
Fri Mar 14 04:18:15 CDT 2008

> I'm developing ndis-usb miniport driver.
> If IP packet order was corrupted by any reason, Have to I re-order IP
> packet?

Better to maintain the packet order, since otherwise you will introduce extra
slow start conditions to TCP, which will drop performance.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com