Network-driven Problems

Source: Internet
Author: User
Network-driven problems-general Linux technology-Linux programming and kernel information. The following is a detailed description. [I = s] This post was last edited by hahaha0424

I have recently finished writing a NIC driver, but I have not yet called it. This is a strange problem. Could you please kindly advise?

After the module driver is loaded, no data packet is sent. packet loss occurs only when the ifconfig wimax statement (the NIC name is wimax) is used:

/Mnt/nfs # ifconfig wimax
Wimax Link encap: UNSPEC HWaddr 00-00-00-00-00-00-00-bf-96-00-00-00-00-00-00-00-00-00
Up broadcast running multicast mtu: 2042 Metric: 1
RX packets: 0 errors: 0 dropped: 2 overruns: 0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 FIG: 1000
RX bytes: 0 (0.0 B) TX bytes: 0 (0.0 B)
Interrupt: 18

Input ifconfig wimax again, and dropped becomes 3...

I found that the status in the privite structure in the driver can change the value of the above package, but my program does not have any statistics on the status structure in the privite structure.

So I would like to ask you where the statistics of dropped: 2 come from, is it the kernel?

Thank you !!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.