Thread (18 messages) flat view 18 messages, 4 authors, 2011-07-04

Re: [PATCH 1/2] netpoll: Remove unused EXPORT_SYMBOLs of netpoll_poll and netpoll_poll_dev

From: Harry Wei <hidden>
Date: 2011-07-04 09:27:57
Also in: lkml

On Mon, Jul 04, 2011 at 12:46:29AM -0700, Joe Perches wrote:
[...]
quoted
You have removed the function declaration in include/linux/netpoll.h.
Because it's unused by anything in the tree
but netpoll.c
Hmmmm..., so sorry. I misunderstood your 'unused', which i thought
there was also no use in netpoll.c :-/
quoted
And you changed the function like 
static void netpoll_poll_dev(...)
{
	...
}
But i don't know its usage.
It's now a local function to netpoll.c
Yeah, it's true.
quoted
The 'static' before this function just says the active area of 'netpoll_poll_dev'
is in the file net/core/netpoll.c. What is the purpose? Could you please tell me?
It prods the device to perform network work.

	/* Process pending work on NIC */
	ops->ndo_poll_controller(dev);

	poll_napi(dev);
Yeah, i will read the codes.


Thanks so much
Harry Wei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help