I'm sorry, I made a mistake. The real_num_rx_queues field, with the 3.10 kernel which is currently being used with the OpenWRT trunk branch, is only defined when CONFIG_RPS flag is active. CONFIG_RPS is only active when CONFIG_SMP is active.
This as changed (beyond 3.13 version) and the real_num_rx_queues field depends now on CONFIG_SYSFS field. On 12 July 2014 15:36, Carlos Ferreira <carlosmf...@gmail.com> wrote: > Ok it seems that Symmetric MultiProcessing is broken for the IXP4xx arch > when compiling the OpenWRT linux kernel. Since netmap requires SMP to be > active. Netmap uses the real_num_rx_queues field from the netdev_rx_queue > which requires CONFIG_SYSFS, which is active when CONFIG_SMP is active. > > I just posted at the OpenWRT development mailing list, requesting info and > also, contacted Ryan Erbstoesser at Gateworks to also request info. > > > On 12 July 2014 11:52, Carlos Ferreira <carlosmf...@gmail.com> wrote: > >> Ok,I solved that problem that I was having but now I have another one. >> For what I was able to determine, SMP is not supported for IXP4xx >> processors on OpenWRT. >> I'm able to compile it for x86, but not for IXP4xx, the CPU's that the >> SBC Cambria from Gateworks use. >> I'm still investigating if this is really the problem and if it is, if it >> is possible to overcome. >> >> I will try to keep regular updates on this situation. >> Carlos >> >> >> On 11 July 2014 22:54, Carlos Ferreira <carlosmf...@gmail.com> wrote: >> >>> OK, ignore what I said in the last e-mail. My Makefile is nor working >>> properly and I'm trying to figure out why. OpenWRT documentation for module >>> Makefiles creation is scarce and confuse... >>> >>> >>> On 11 July 2014 18:27, Carlos Ferreira <carlosmf...@gmail.com> wrote: >>> >>>> I'm building for OpenWRT (trunk) for the IXP4xx target. >>>> >>>> Attached goes the output for the compile attempt. Maybe I'm missing >>>> something very basic... >>>> >>>> >>>> On 11 July 2014 17:13, Luigi Rizzo <ri...@iet.unipi.it> wrote: >>>> >>>>> >>>>> >>>>> >>>>> On Fri, Jul 11, 2014 at 6:07 PM, Carlos Ferreira < >>>>> carlosmf...@gmail.com> wrote: >>>>> >>>>>> Luigi one question. Does netmap requires a processor with 64 bits? >>>>>> I'm having some trouble in compiling netmap, using the same Makefile I >>>>>> used >>>>>> previously, but for an Intel IXP435 CPU (Gateworks Cambria). >>>>>> >>>>> >>>>> it used to build and work on 32 bit archs but we have not tried that >>>>> there i a while. >>>>> Hopefully it is just a matter of casts in printfs. >>>>> >>>>> which OS and netmap versions are you using ? >>>>> can you send me an error log ? >>>>> >>>>> cheers >>>>> luigi >>>>> >>>>> >>>>>> >>>>>> >>>> >>>> >>>> -- >>>> >>>> Carlos Miguel Ferreira >>>> Researcher at Telecommunications Institute >>>> Aveiro - Portugal >>>> Work E-mail - c...@av.it.pt >>>> Skype & GTalk -> carlosmf...@gmail.com >>>> LinkedIn -> http://www.linkedin.com/in/carlosmferreira >>>> >>> >>> >>> >>> -- >>> >>> Carlos Miguel Ferreira >>> Researcher at Telecommunications Institute >>> Aveiro - Portugal >>> Work E-mail - c...@av.it.pt >>> Skype & GTalk -> carlosmf...@gmail.com >>> LinkedIn -> http://www.linkedin.com/in/carlosmferreira >>> >> >> >> >> -- >> >> Carlos Miguel Ferreira >> Researcher at Telecommunications Institute >> Aveiro - Portugal >> Work E-mail - c...@av.it.pt >> Skype & GTalk -> carlosmf...@gmail.com >> LinkedIn -> http://www.linkedin.com/in/carlosmferreira >> > > > > -- > > Carlos Miguel Ferreira > Researcher at Telecommunications Institute > Aveiro - Portugal > Work E-mail - c...@av.it.pt > Skype & GTalk -> carlosmf...@gmail.com > LinkedIn -> http://www.linkedin.com/in/carlosmferreira > -- Carlos Miguel Ferreira Researcher at Telecommunications Institute Aveiro - Portugal Work E-mail - c...@av.it.pt Skype & GTalk -> carlosmf...@gmail.com LinkedIn -> http://www.linkedin.com/in/carlosmferreira _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"