lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <c8028d330807232337i7c3fb923q68a7e8b258945b78@mail.gmail.com>
Date:	Thu, 24 Jul 2008 12:07:44 +0530
From:	"Amar Mudrankit" <amar.mudrankit@...il.com>
To:	netdev@...r.kernel.org
Subject: NAPI: Poll is not getting invoked.

During the experimentation of NAPI on ethernet driver, the poll
function registered for the driver is not getting invoked, though it
was scheduled successfully.
In the interrupt handler function when packet is received, I have
scheduled a poll using:

netif_rx_schedule();

The control is reaching this function and executing
netif_rx_schedule() which was verified by putting some debug printk
statements in code. But, initial printk statement in the "poll " is
not getting printed, which indicates that poll function is not getting
invoked.

During alloc_netdev, I have registered the poll function for my net_device:

netif_napi_add();

and enabled it using:

napi_enable();

during the call to dev->open().

Am I missing something in the NAPI process? Can somebody please point
out the things that I can try to debug this issue?

Regards,
Amar
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ