Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2014 15:43:22 +0100
From:      Carlos Ferreira <carlosmf.pt@gmail.com>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Prashant Upadhyaya <praupadhyaya@gmail.com>
Subject:   Re: netmap
Message-ID:  <CAJpYY6WP_KMF4-0HYTYWxQddHNF%2BZShaPb7875pAq7H6iHdqCQ@mail.gmail.com>
In-Reply-To: <CAJpYY6WP4OCbt0TtVzvi69PSTUTFZMHff7S9%2BcDAHR22A4PE0A@mail.gmail.com>
References:  <CAJpYY6Wj6NkYVdPzitswLQ2oVoX9JAv5tCnzbP6icsgJTdfm8Q@mail.gmail.com> <CA%2BhQ2%2BhHz2FKUkCRnHiGAVxZqxY5WHPPo87mVgSnSmPzovNLWw@mail.gmail.com> <CAJpYY6V6Ewc%2BXQYBi3BQbFtWgLiFKN_qmBLjAx1HyWhB9Q0vcg@mail.gmail.com> <CAJpYY6VJ9ih1ON1s1mnzrc-P7Xa_vsVS3UC49gnii0cLX%2B=TNA@mail.gmail.com> <20140614101523.GD22187@onelab2.iet.unipi.it> <CAJpYY6Usfv98OEsgXedP5MCqdJsd_rz7N4EhgRmP2NcxZ9eQ9g@mail.gmail.com> <CA%2BhQ2%2Bj4RrCxjSu79Zt9BVnKUTcRxO615msGH5_uoLrEinbcPQ@mail.gmail.com> <CAJpYY6XBg8=g7sjVbu%2B6%2BEG1-vW1dymsvD8pL-EB08B=_z=usA@mail.gmail.com> <CAPBAu3U9_VTUCPk_61maSAyxM_VHgSui8kbT65=b-jsXNzqJcA@mail.gmail.com> <CA%2BhQ2%2Bgi9SiZuM4Nvw4CjJG9sX3cNZ4KNfXSkDcFfcPvW4A22Q@mail.gmail.com> <CAJpYY6VBtynBeSQkVprz%2B6BY=TF9RcGEV9hWWKnVQzUvfpKh%2BQ@mail.gmail.com> <CAJpYY6V4ejOtJWjq0TikT%2B2ScOo=Nm=0cwezWgba_i0070_-SQ@mail.gmail.com> <CA%2BhQ2%2BhFm7k7ccmbu92CyTyQF7ef%2Be0DQSfxieWK=1CUMmCFWA@mail.gmail.com> <CAJpYY6VBYaH52rVSPeH939htE8-ZD%2BcFi_WtHYJGvD1fZz79Cg@mail.gmail.com> <CAJpYY6Vn8FtJ9zyY%2BdoKYaz4BDFrjgxb5ZA461r8c0jV1sV5GQ@mail.gmail.com> <CAJpYY6X5WwjLa3Ys1HNfAZcp1Hhw4k4%2BoxRN3gHXSmYyrKe7aw@mail.gmail.com> <CAJpYY6WP4OCbt0TtVzvi69PSTUTFZMHff7S9%2BcDAHR22A4PE0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.pt@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 an=
d
> also, contacted Ryan Erbstoesser at Gateworks to also request info.
>
>
> On 12 July 2014 11:52, Carlos Ferreira <carlosmf.pt@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 i=
t
>> is possible to overcome.
>>
>> I will try to keep regular updates on this situation.
>> Carlos
>>
>>
>> On 11 July 2014 22:54, Carlos Ferreira <carlosmf.pt@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 mo=
dule
>>> Makefiles creation is scarce and confuse...
>>>
>>>
>>> On 11 July 2014 18:27, Carlos Ferreira <carlosmf.pt@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 <rizzo@iet.unipi.it> wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jul 11, 2014 at 6:07 PM, Carlos Ferreira <
>>>>> carlosmf.pt@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).
>>>>>>
>>>>>
>>>>> =E2=80=8Bit used to build and work on 32 bit archs but we have not tr=
ied 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
>>>>> =E2=80=8B
>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Carlos Miguel Ferreira
>>>> Researcher at Telecommunications Institute
>>>> Aveiro - Portugal
>>>> Work E-mail - cmf@av.it.pt
>>>> Skype & GTalk -> carlosmf.pt@gmail.com
>>>> LinkedIn -> http://www.linkedin.com/in/carlosmferreira
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Carlos Miguel Ferreira
>>> Researcher at Telecommunications Institute
>>> Aveiro - Portugal
>>> Work E-mail - cmf@av.it.pt
>>> Skype & GTalk -> carlosmf.pt@gmail.com
>>> LinkedIn -> http://www.linkedin.com/in/carlosmferreira
>>>
>>
>>
>>
>> --
>>
>> Carlos Miguel Ferreira
>> Researcher at Telecommunications Institute
>> Aveiro - Portugal
>> Work E-mail - cmf@av.it.pt
>> Skype & GTalk -> carlosmf.pt@gmail.com
>> LinkedIn -> http://www.linkedin.com/in/carlosmferreira
>>
>
>
>
> --
>
> Carlos Miguel Ferreira
> Researcher at Telecommunications Institute
> Aveiro - Portugal
> Work E-mail - cmf@av.it.pt
> Skype & GTalk -> carlosmf.pt@gmail.com
> LinkedIn -> http://www.linkedin.com/in/carlosmferreira
>



--=20

Carlos Miguel Ferreira
Researcher at Telecommunications Institute
Aveiro - Portugal
Work E-mail - cmf@av.it.pt
Skype & GTalk -> carlosmf.pt@gmail.com
LinkedIn -> http://www.linkedin.com/in/carlosmferreira



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJpYY6WP_KMF4-0HYTYWxQddHNF%2BZShaPb7875pAq7H6iHdqCQ>