Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: OID_GEN_TRANSMIT_QUEUE_LENGTH #11478
    mikebromwich
    Participant

    Thanks you for the advice – I’ll have a look into ZwQuerySystemInformation.

    In the mean time, I have taken your advice and queried the speed of the interface (using OID_GEN_LINK_STATE Oid) – and created a rate limiter. This has solved the problem and allowed me to progress.

    Thanks,

    in reply to: OID_GEN_TRANSMIT_QUEUE_LENGTH #11475
    mikebromwich
    Participant

    Thanks for your reply Vadim.

    The issue is that the Pool Nonpaged Bytes reduces as traffic increases – and when it reaches zero, the program fails.

    If I stop sending, then the Pool Nonpaged Bytes slowly reduces to normal levels as the packets I have sent to the driver are sent to the network.

    I was wondering whether there was any way to read the length of this queue, in a similar way as GetAdapterPacketQueueSize for reading the queue for packets queued in the other direction.

    Generally, the driver is working very well – great work.

    Mike

Viewing 2 posts - 1 through 2 (of 2 total)