<div dir="ltr">Hi, <div><br></div><div>I have a question on netpoll and I think it is a good opportunity to ask my question in this thread,</div><div><br></div><div>I have always wondered what is the use cases of netpoll anyway?</div><div><br></div><div>Some months ago, I was designing a caching mechanism within the network stack. I was just polling in NF_IP_PRE_ROUTING and check some keys in my hash map if it is HIT then I will respond to the incoming request from the kernel via NETPOLL without engaging the real key-value store(Memcached) in the userspace! In miss cases I only let the request go through the kernel network stack and the Memcached application will respond to the request individually. I only update my hash my with respect the outgoing message in NF_IP_POST_ROUTING. I intended to reduce the latency of the key-value stores' requests at the data centers since these key-value stores are widely deployed in the data center at Facebook and Google.</div><div><br></div><div>In my scenario, I only used netpoll as a hack to make my code working though, however, I never figure out, what problem netpoll intended to solve.</div><div><br></div><div>Thank you,</div><div>Alireza</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 17, 2018 at 8:21 PM <<a href="mailto:valdis.kletnieks@vt.edu" target="_blank">valdis.kletnieks@vt.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 17 Jul 2018 18:35:15 +0530, jitendra kumar khasdev said:<br>
<br>
> Can netpoll apis send data over the internet. It worked for me in local<br>
> network but when I try to send data over server which is in cloud not able<br>
> to send it.<br>
><br>
> Can anybody help me out ?<br>
<br>
If it works over the local net, time to do the standard network debugging:<br>
<br>
Does ping work to/from your cloud target?<br>
Does traceroute look sane?<br>
Does ssh/scp work?<br>
Are your routing tables correct at both ends?<br>
Is a firewall blocking it somewhere?<br>
Does 'netstat' show a program listening for your packets at the far end?<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div>