Re: delete NIC from poll list in process_backlog()

2014-12-23 Thread Valdis . Kletnieks
On Tue, 23 Dec 2014 16:59:05 +0800, lx said: I think we should delete the NIC from the poll list by: list_del(napi-poll_list); Why? pgpwyCIMkmywA.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: delete NIC from poll list in process_backlog()

2014-12-23 Thread lx
hi all: I think I got it. The new kernel just remove the NIC from poll list first, If we should repoll it, kernel will add it again. The codes is: 4560 static void net_rx_action(struct softirq_action *h) 4561 { 4562 struct softnet_data *sd = this_cpu_ptr(softnet_data); 4563 unsigned