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..