From: Daniel on
I added the VLAN tag to the raw Ethernet packet and the NDIS driver is able
to send the packets. WireShark shows that sent packets with the proper 802.1q
(VLAN) header. On the receiver side however, the driver the HeaderBufferSize
variable passed (from the miniport) to the NDIS IM driver ReceiveHandler is
12 bytes which is different from the new header size 16 bytes.

if (HeaderBufferSize != sizeof(CAEETHPROT_ETH_HEADER))
{
Status = NDIS_STATUS_NOT_ACCEPTED;
break;
}

I enabled the QoS in the adapter.

How should I correct the received packet header size?


Thanks,

Daniel


"eagersh" wrote:

>
> > Actually, I already developed an NDIS IM driver “NDIS connection-less
> > protocol driver” for XP. I also made work for Windows 7.
> >
> > Can this driver be used to prioritize the Ethernet packets by adding the
> > 802.1q tag between the source MAC address and the EtherType/Length fields of
> > the Ethernet II frames?
>
> If you are already done some work by developing NDIS IM driver you
> should have enough experience to do this work. In the the driver's
> MiniportSendPackets you could modify a packet.
> What is your real concern?
>
> Igor Sharovar
>
>
>
> .
>
From: Daniel on
I would like to add that on the receiver side Wireshark shows that the VLAN
tag was removed.
--
Thanks,

Daniel


"Daniel" wrote:

> I added the VLAN tag to the raw Ethernet packet and the NDIS driver is able
> to send the packets. WireShark shows that sent packets with the proper 802.1q
> (VLAN) header. On the receiver side however, the driver the HeaderBufferSize
> variable passed (from the miniport) to the NDIS IM driver ReceiveHandler is
> 12 bytes which is different from the new header size 16 bytes.
>
> if (HeaderBufferSize != sizeof(CAEETHPROT_ETH_HEADER))
> {
> Status = NDIS_STATUS_NOT_ACCEPTED;
> break;
> }
>
> I enabled the QoS in the adapter.
>
> How should I correct the received packet header size?
>
>
> Thanks,
>
> Daniel
>
>
> "eagersh" wrote:
>
> >
> > > Actually, I already developed an NDIS IM driver “NDIS connection-less
> > > protocol driver” for XP. I also made work for Windows 7.
> > >
> > > Can this driver be used to prioritize the Ethernet packets by adding the
> > > 802.1q tag between the source MAC address and the EtherType/Length fields of
> > > the Ethernet II frames?
> >
> > If you are already done some work by developing NDIS IM driver you
> > should have enough experience to do this work. In the the driver's
> > MiniportSendPackets you could modify a packet.
> > What is your real concern?
> >
> > Igor Sharovar
> >
> >
> >
> > .
> >
From: Daniel on
Hi,

For incoming packets, the miniport driver removes packet marking if the
802.1Q is enabled. The miniport driver reorders the packets according to
their priority. Is this a priority reordering significant when sending and
receiving even if the NDIS protocol higher driver does not reorder packets?
In other words, Should I enable the 802.1Q to prioritize the traffic in case
of high load?


Thanks,

Daniel


"Daniel" wrote:

> I would like to add that on the receiver side Wireshark shows that the VLAN
> tag was removed.
> --
> Thanks,
>
> Daniel
>
>
> "Daniel" wrote:
>
> > I added the VLAN tag to the raw Ethernet packet and the NDIS driver is able
> > to send the packets. WireShark shows that sent packets with the proper 802.1q
> > (VLAN) header. On the receiver side however, the driver the HeaderBufferSize
> > variable passed (from the miniport) to the NDIS IM driver ReceiveHandler is
> > 12 bytes which is different from the new header size 16 bytes.
> >
> > if (HeaderBufferSize != sizeof(CAEETHPROT_ETH_HEADER))
> > {
> > Status = NDIS_STATUS_NOT_ACCEPTED;
> > break;
> > }
> >
> > I enabled the QoS in the adapter.
> >
> > How should I correct the received packet header size?
> >
> >
> > Thanks,
> >
> > Daniel
> >
> >
> > "eagersh" wrote:
> >
> > >
> > > > Actually, I already developed an NDIS IM driver “NDIS connection-less
> > > > protocol driver” for XP. I also made work for Windows 7.
> > > >
> > > > Can this driver be used to prioritize the Ethernet packets by adding the
> > > > 802.1q tag between the source MAC address and the EtherType/Length fields of
> > > > the Ethernet II frames?
> > >
> > > If you are already done some work by developing NDIS IM driver you
> > > should have enough experience to do this work. In the the driver's
> > > MiniportSendPackets you could modify a packet.
> > > What is your real concern?
> > >
> > > Igor Sharovar
> > >
> > >
> > >
> > > .
> > >