Are you sure the lower level will not indicate you 2 packets concurrently?
No it will not indicate concurrently, but it may indicate packets
consecutively, ie, it may indicate me a second packet b4 i indicate the
first packet to Ndis & Ndis calls my MiniportReturnPacket function.
regards
An
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, September 12, 2001 4:23 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Doubt in handling receive for Miniport driver with
WDM loweredge.
- Will NdisFreeBuffer also free the memory that was mapped in the buffer
descriptor by NdisAllocateBuffer ? If not which NdisXXX macro should be
used
to do this ?
No. NdisFreeBuffer is defined as IoFreeMdl on NT.
- In my case i’ll be using the same EthernetHeader for all received IP
packets irrespective of the source, so i want to avoid allocating &
freeing
memory for EthernetHeader for each received packet, instead use a
pre-allocated memory for EthernetHeader. This memory should be released
only
when my driver unloads.
Are you sure the lower level will not indicate you 2 packets concurrently?
Max
You are currently subscribed to ntdev as: xxxxx@ctd.hcltech.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com