Re: NDIS Vs Protocol Who will drop the packets?

From: Thomas F. Divine [DDK MVP] (tdivine_at_NOpcausaSPAM.com)
Date: 01/07/05


Date: Fri, 7 Jan 2005 09:11:15 -0500

I have added a summary if this chat to the NDIS FAQ at:

   http://www.ndis.com/faq/QA01060501.htm

I'll also add a summary of the "Ndis miniport syncronisation question" chat,
but will probably pass it to Alireza for a quick review before publishing
it.

Thomas F. Divine, Windows DDK MVP
http://www.rawether.net

"Alireza Dabagh [MS]" <alid@online.microsoft.com> wrote in message
news:OmOX25J9EHA.3416@TK2MSFTNGP09.phx.gbl...
> NICs "can" allow every packet. Talking about what a NIC "generally" do, is
> not the right way to describe the expected behavior.In Windows
> environment, as long as no packet filter has been set, they are not
> allowed to indicate -any- packets. I.e. by default and unless they have
> explicitly been asked to allow certain types of packets, they should not
> indicate -any- packets to NDIS so one can say, they "generally" do not
> allow any packets. The mechanism by which NICs achieve this is hardware
> dependent. For example a NIC might decide to disable the receive engine
> while the packet filter is "none" (zero). Or do some of the filtering in
> driver (although that would affect the performance negatively.)
>
> Again to be accurate and using the right terminology, these two OIDs do
> not filter the packets themselves. They rather set the filtering
> parameters on the NIC (and NDIS).
>
> I hope this is clear.
>
> -ali
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Monica" <monica_dsz@yahoo.com> wrote in message
> news:1105082517.362353.143500@z14g2000cwz.googlegroups.com...
>> Please confirm if my understanding is correct.
>>
>> NIC will generally allow all the packets.
>>
>> It is the responsibility of OID_GEN_PACKET_FILTER and
>> OID_802_3_MULTICAST_LIST to filter the packets.
>>
>> Thanks alot for your detailed description.
>> Thanking you,
>> Monica DSouza,
>> FZI-Karlsruhe
>>
>
>



Relevant Pages

  • Re: Ethernet card receiving influenced by CPU speed?
    ... it usually shows up in nics and video cards. ... Frames are the "packets" used to send ethernet signals/data on the ...
    (comp.os.linux.networking)
  • Re: [RFC v1] hand off skb list to other cpu to submit to upper layer
    ... I am investigating an ip_forward performance issue with 10G IXGBE NIC. ... The 2nd receives the packets from one NIC and forwards them out ... As NICs supports multi-queue, I bind the queues to different logical ... cpu of different physical cpu while considering cache sharing carefully. ...
    (Linux-Kernel)
  • Re: [RFC v1] hand off skb list to other cpu to submit to upper layer
    ... multiple receiving NICs scenario as I couldn't get enough hardware. ... The assumption is it's best to send out packets from the TX of the ... Or more direct speaking is we need send packets on the same cpu on ... The start point is that could reduce skb and data cache miss. ...
    (Linux-Kernel)
  • Re: What is a default route??
    ... lines run to two different ISPs. ... By "bonding" the NICs the OP could have automatic failover (another ... two route paths. ... route related packets out one interface and other related packets out ...
    (comp.os.linux.networking)
  • RE: Help!! Out of the Pot and into the Driver Fire
    ... We are for now doing all this on pre-Vista OS. ... However, if you are just desperate to do things at NDIS level, you can write ... NDIS IM filter is not always easy to write - the same driver may work well ... the effect of lag and dropped packets and I got tagged as the lucky developer ...
    (microsoft.public.development.device.drivers)

Loading