Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Splitting packets in NDIS IM driver (without using Large Segment Offload)

Reply
Thread Tools Display Modes

Splitting packets in NDIS IM driver (without using Large Segment Offload)

 
 
Junior Member
Join Date: Nov 2011
Posts: 1

 
      11-28-2011
Hi all.

I'm trying to find a better way to split large (larger than MTU size) outgoing packets within my NDIS 5 driver; LSO is nice, but it is not supported on most available cards.

Back to passthru:
Code:
VOID
MPSendPackets(
              IN NDIS_HANDLE             MiniportAdapterContext,
              IN PPNDIS_PACKET           PacketArray,
              IN UINT                    NumberOfPackets
)
...
    for (i = 0; i < NumberOfPackets; i++)             // Go through packets.
    {
...
    // here I change payload
        if (Status != NDIS_STATUS_PENDING)
        {
            NdisMSendComplete(ADAPT_MINIPORT_HANDLE(pAdapt),
                              pPacket,
                              Status);
        }
    }
...
Can anyone share a good idea, how to start sending multiple packets from single MPSendPacket call, or how to get the same thing from protocol driver?

I've tried few approaches, but no visible progress thus some bugs made me to post here (and at some other forum) to get more clues..
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NDIS IM driver and USB net modem. Anand Choubey Windows Vista Drivers 7 07-25-2011 09:09 AM
Game Compatibility BCurrey Windows Vista Games 6 11-29-2007 08:11 PM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM
americas army stuttering under vista premium ernie Windows Vista Games 0 02-27-2007 10:20 PM
problem in dxdiag Peewee64 Windows Vista Games 0 02-14-2007 09:49 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59