Success! I was able to compile it and generate the kernel module. Now, I
just need to test it and see if it works.


On 13 June 2014 00:46, Carlos Ferreira <carlosmf...@gmail.com> wrote:

> Ok, thanks for the assistance. I will try that!
> Just to explain what are my actions here, I'm trying to compile the netmap
> kernel mod for openwrt.
>
> http://info.iet.unipi.it/~luigi/netmap/
>
> I don't know if anyone already tried to do this. I Googled it and found
> nothing.
>
>
> On 13 June 2014 00:37, Florian Fainelli <flor...@openwrt.org> wrote:
>
>> 2014-06-12 16:22 GMT-07:00 Carlos Ferreira <carlosmf...@gmail.com>:
>> > Hello all!
>> > Can anyone tell me how can activate the CONFIG_RPS flag for the target
>> x86
>> > generic?
>> > I have tried to add a CONFIG_RPS=y to the config-3.3 file in the
>> > target/linux/x86/generic dir and recompile, but i got no luck. In the
>> > kernel_menuconfig, RPS is still disabled.
>>
>> CONFIG_RPS depends on CONFIG_SMP
>>
>> > I need this active because i'm compiling a kernel module that requires a
>> > piece of code in the netdevice.h, that can only be added if RPS is
>> active
>> > (real_num_rx_queues).
>>
>> If you are setting your network device queues, you should use the
>> helper function netif_set_real_num_rx_queues() which makes sure it
>> does the right thing for !CONFIG_RPS and CONFIG_RPS enabled.
>>
>> > This as changed in the more recent kernel versions, but since openwrt is
>> > still using 3.3, I have no choice but to active RPS.
>> >
>> > Can anyone help me with this?
>> > Thank you!
>> >
>> > --
>> >
>> > 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
>> >
>> > _______________________________________________
>> > openwrt-devel mailing list
>> > openwrt-devel@lists.openwrt.org
>> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>> >
>>
>> --
>> Florian
>>
>
>
>
> --
>
> 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
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to