* Specific question about packet dropping @ 2012-11-28 10:40 Javier Domingo 2012-11-28 11:45 ` Shan Wei 0 siblings, 1 reply; 4+ messages in thread From: Javier Domingo @ 2012-11-28 10:40 UTC (permalink / raw) To: netdev Hi, Where are packets dropped? I reading code I think just found: - In the NIC - In the netif_receive_skb Is there any other place I can have missed? Javier Domingo ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Specific question about packet dropping 2012-11-28 10:40 Specific question about packet dropping Javier Domingo @ 2012-11-28 11:45 ` Shan Wei [not found] ` <CALZVapkZpRRh+ruf-QWbv_pFYtZgdx7US7Zc6x0kgMmmAsnAPg@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Shan Wei @ 2012-11-28 11:45 UTC (permalink / raw) To: Javier Domingo; +Cc: netdev Javier Domingo said, at 2012/11/28 18:40: > Hi, > > Where are packets dropped? > > I reading code I think just found: > - In the NIC > - In the netif_receive_skb > > Is there any other place I can have missed? There is many reasons, following is not whole. For receiver: 1. NIC 2. __netif_receive_skb(unknown packet type) 3. ip_rcv(abnormal packet, route reason...) 4. tcp/udp (unknown port, receive buff limit..) For Sender: 1. tcp/udp(send buffer limit) 2. ip(route reason....) 3. arp(resolved_discards) 4. qdisc(queue limit) Best Regards Shan Wei > > Javier Domingo > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CALZVapkZpRRh+ruf-QWbv_pFYtZgdx7US7Zc6x0kgMmmAsnAPg@mail.gmail.com>]
* Re: Specific question about packet dropping [not found] ` <CALZVapkZpRRh+ruf-QWbv_pFYtZgdx7US7Zc6x0kgMmmAsnAPg@mail.gmail.com> @ 2012-11-28 12:23 ` Shan Wei 2012-11-28 16:52 ` Javier Domingo 0 siblings, 1 reply; 4+ messages in thread From: Shan Wei @ 2012-11-28 12:23 UTC (permalink / raw) To: Javier Domingo; +Cc: netdev Javier Domingo said, at 2012/11/28 19:50: > Thank you very much, I (don't know why) thought the packets were being > smashed in the dma memory. Maybe your kernel/application handles the packets so slower than that NIC receives. >> Best Regards >> Shan Wei >> >>> >>> Javier Domingo >>> -- >>> To unsubscribe from this list: send the line "unsubscribe netdev" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >> >> > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Specific question about packet dropping 2012-11-28 12:23 ` Shan Wei @ 2012-11-28 16:52 ` Javier Domingo 0 siblings, 0 replies; 4+ messages in thread From: Javier Domingo @ 2012-11-28 16:52 UTC (permalink / raw) To: Shan Wei, netdev I have been reviewing and I think I must have confused terms. Then, inside the kernel, there are no packet drops for legitime ones. And I suppose that if an app doesn't read from its socket queue, the kernel will drop them in the socket queue? Javier Domingo 2012/11/28 Shan Wei <shanwei88@gmail.com>: > Javier Domingo said, at 2012/11/28 19:50: >> Thank you very much, I (don't know why) thought the packets were being >> smashed in the dma memory. > > Maybe your kernel/application handles the packets so slower than that > NIC receives. > >>> Best Regards >>> Shan Wei >>> >>>> >>>> Javier Domingo >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe netdev" in >>>> the body of a message to majordomo@vger.kernel.org >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>>> >>> >>> >> > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-11-28 16:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28 10:40 Specific question about packet dropping Javier Domingo
2012-11-28 11:45 ` Shan Wei
[not found] ` <CALZVapkZpRRh+ruf-QWbv_pFYtZgdx7US7Zc6x0kgMmmAsnAPg@mail.gmail.com>
2012-11-28 12:23 ` Shan Wei
2012-11-28 16:52 ` Javier Domingo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).