Well, like I said, beyond Linux 3.14 kernel version, the field is defined if CONFIG_SYSFS is active. I will contact the netmap developers to see if they are available to update the source.
On 12 July 2014 15:58, Felix Fietkau <[email protected]> wrote: > On 2014-07-12 16:51, Carlos Ferreira wrote: > > Yes I know that, but the thing is, for the 3.10 kernel, CONFIG_RPS > > depends on CONFIG_SMP. > > CONFIG_RPS enables the definition of real_num_rx_queues field for the > > netdev_rx_queue struct (netdevice.h). Netmap requires the existence of > > the real_num_rx_queues field. I cannot compile it CONFIG_RPS is not > active. > > Beyond 3.13 (I think), the real_num_rx_queues field is defined if > > CONFIG_SYSFS is defined. > I would suggest that you fix this in netmap instead. Especially for > something as trivial as this, it makes no sense to try to enable SMP on > a non-SMP device. > > - Felix > -- Carlos Miguel Ferreira Researcher at Telecommunications Institute Aveiro - Portugal Work E-mail - [email protected] Skype & GTalk -> [email protected] LinkedIn -> http://www.linkedin.com/in/carlosmferreira
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
