<div dir="ltr">Well, like I said, beyond Linux 3.14 kernel version, the field is defined if CONFIG_SYSFS is active.<br>I will contact the netmap developers to see if they are available to update the source.<br><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 12 July 2014 15:58, Felix Fietkau <span dir="ltr"><<a href="mailto:nbd@openwrt.org" target="_blank">nbd@openwrt.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 2014-07-12 16:51, Carlos Ferreira wrote:<br>
> Yes I know that, but the thing is, for the 3.10 kernel, CONFIG_RPS<br>
> depends on CONFIG_SMP.<br>
> CONFIG_RPS enables the definition of real_num_rx_queues field for the<br>
> netdev_rx_queue struct (netdevice.h). Netmap requires the existence of<br>
> the real_num_rx_queues field. I cannot compile it CONFIG_RPS is not active.<br>
> Beyond 3.13 (I think), the real_num_rx_queues field is defined if<br>
> CONFIG_SYSFS is defined.<br>
</div>I would suggest that you fix this in netmap instead. Especially for<br>
something as trivial as this, it makes no sense to try to enable SMP on<br>
a non-SMP device.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Felix<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><br></div><div>Carlos Miguel Ferreira</div><div>Researcher at Telecommunications Institute</div><div>Aveiro - Portugal</div><div>
Work E-mail - <a href="mailto:cmf@av.it.pt" target="_blank">cmf@av.it.pt</a></div><div>Skype & GTalk -> <a href="http://carlosmf.pt" target="_blank">carlosmf.pt</a>@<a href="http://gmail.com" target="_blank">gmail.com</a></div>
<div>LinkedIn -> <a href="http://www.linkedin.com/in/carlosmferreira" target="_blank">http://www.linkedin.com/in/carlosmferreira</a></div></div>
</div>