Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Unable to get priority test result on test adapter error

vinay_kpvinay_kp Member Posts: 182
When i doing 2c_priority test in HCK

This script tests miniport functionality to send 802.1p priority packets by following
variations:
1. Send mechanism with DIRECTED packets
2. SendPacket mechanism with DIRECTED packets
3. SendPacket mechanism with BROADCAST packets
4. SendPacket mechanism with MULTICAST packets (802.3)

i got error like :

Variation #6 Check for 802.1p support

WARNED: Unable to determine driver NDIS version. Test will assume NDIS Version 6.0. This might cause false negatives
NdisRequest
- OpenId = 0x01010001
- OID = OID_GEN_MAC_OPTIONS
General MAC Options = 728
NDIS_MAC_OPTION_NO_LOOPBACK
NDIS_MAC_OPTION_8021P_PRIORITY
NDIS_MAC_OPTION_SUPPORTS_MAC_ADDRESS_OVERWRITE
NDIS_MAC_OPTION_8021Q_VLAN
Test adapter supports 802.1p.
NdisRequest
- OpenId = 0x02010001
- OID = OID_GEN_MAC_OPTIONS
General MAC Options = 728
NDIS_MAC_OPTION_NO_LOOPBACK
NDIS_MAC_OPTION_8021P_PRIORITY
NDIS_MAC_OPTION_SUPPORTS_MAC_ADDRESS_OVERWRITE
NDIS_MAC_OPTION_8021Q_VLAN
Support adapter supports 802.1p.

and another interesting error such as :

Variation #8 Directed Packets - NdisSendPackets

SetPacketFilter is setting the packet filter to DIRECTED

NdisRequest
- OpenId = 0x01010001
- OID = OID_GEN_CURRENT_PACKET_FILTER
StartPriority
- OpenId = 0x01010001
- PriorityServer OpenId = 0x02010001
- DestinationAddress = 00-13-ec-08-68-7d
- PacketCount = 100
- PacketSize = 64
- Delay = 4
- Mode = 2
WaitPriority
- OpenId = 0x01010001
GetPriorityResults
- OpenId = 0x01010001

Server transmission statistics:

Total Packets Sent = 100
Packets Sent with Non-Zero priority Set = 100


Client reception statistics:

Total Packets Received = 100
Packets Received with Non-Zero priority Set = 0
Packets Received with Correct Priority = 0

FAIL! No packets were received with correct Priority!!

Packets Received with Wrong Priority = 100

Packets received with Non-Zero prirority set is lower than the acceptable minimum of 95

Note: Packets with high priority DIDN'T arrive early!!
FAILED: [21596] Unable to get priority test results on Test adapter

why this test failed ? any hardware problems or driver code problems ?

Comments

  • David_R._CattleyDavid_R._Cattley Member - All Emails Posts: 2,115
    > why this test failed ? any hardware problems or driver code problems ?

    Is this a real physical NIC with true MAC layer? If so, do you have a network analyzer that can tell you what went on the wire? If not, then get one. And please, I don’t mean Wireshark running on the same PC as your driver.

    The real first question and you should already know the answer to this is: Did the packets go on the wire with 802.1p tagging set?

    If there is no wire / fibre / taught-wet-string / radio channel / smoke-signal-emitter-detector onto which to modulate and signal an 802.3-ish MAC frame then 802.1p support is hard to rationalize.

    Good Luck,
    Dave Cattley
  • vinay_kpvinay_kp Member Posts: 182
    This is a virtual network adapter . how to find my hardware is supporting 802.1p tagging set ?
  • Pavel_APavel_A Member Posts: 2,726
    On 28-Oct-2015 16:21, [email protected] wrote:
    > This is a virtual network adapter . how to find my hardware is supporting 802.1p tagging set ?

    It is not. Because, virtual adapters have no hardware.
    -- pa
  • vinay_kpvinay_kp Member Posts: 182
    Then how can i pass this test ?
  • SangeethaSangeetha Member Posts: 10

    I am now running into this one too. Any help on how you have rectified this?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA