Messages in this thread | | | Date | Tue, 08 Jul 2014 22:16:52 +0200 | From | Richard Weinberger <> | Subject | Re: [PATCH] hyperv: Add netpoll support |
| |
Am 08.07.2014 22:03, schrieb KY Srinivasan: > The VCPU the channel is bound to is available in the channel state. You could use the following code > Fragment to ensure that the call is made on the "right" cpu: > > smp_call_function_single(dev->channel->target_cpu, > netvsc_channel_cb, dev->channel, true);
This won't work as netpoll runs with IRQs disabled. ->ndo_poll_controller() has to make sure that SKBs can be received and transmitted while IRQs are off. I thought calling the channel callback by hand would be enough to receive SKBs.
Thanks, //richard
| |