[EXT] [Zephyr-devel] about Dual Mac application for zephyr


Andrei Gansari
 

Hello Nie,

 

First you have a limitation in the fact the ethernet driver (eth_mcux) for this board is implemented as single instance, you need 2 instances (new feature implementation).

I’m also not sure the OS supports multiple eth stacks.

 

Regards,

Andrei Gansari

 

From: devel@... <devel@...> On Behalf Of nie ninesun via Lists.Zephyrproject.Org
Sent: Monday, November 18, 2019 8:03 AM
To: devel@...
Cc: devel@...
Subject: [EXT] [Zephyr-devel] about Dual Mac application for zephyr

 

Caution: EXT Email

Hi Guys:

        I get an i.mxRT106x development kit board recently. It is developed by third party . This boards have two Ethernet port.The processor is i.mxRT1061, I hope to link several boards as an network. but I don't find any example about two Mac in zephyr application. Can anyone give some suggestions about it? Thank you!

best regards 


Loic Poulain
 



On Mon, 18 Nov 2019 at 10:11, Andrei Gansari <andrei.gansari@...> wrote:

Hello Nie,

 

First you have a limitation in the fact the ethernet driver (eth_mcux) for this board is implemented as single instance, you need 2 instances (new feature implementation).

I’m also not sure the OS supports multiple eth stacks.


Multiple network interfaces can be supported.
It should be relatively easy to add multiple-instance support to eth_mcux driver since it already works with context.

Regards,
Loic


Tomasz Bursztyka
 

Hi,

Indeed the driver requires another instance to be added. Hopefully it's
trivial, basically a copy-paste of the existing one minor tiny
modifications. The annoying part will be modifying Kconfig as ethernet
drivers do not take fully advantage of device-tree yet.

Zephyr supports as many network interface as you can provide. I guess
about MAC you talk about MAC addresses and not MAC stack.
You will have to select the unique mac address option, this one will
pick up the hardware one.

Tomasz

Hello Nie,

First you have a limitation in the fact the ethernet driver
(eth_mcux) for this board is implemented as single instance, you need
2 instances (new feature implementation).
I’m also not sure the OS supports multiple eth stacks.

Regards,
Andrei Gansari

From: devel@... <devel@...>
On Behalf Of nie ninesun via Lists.Zephyrproject.Org
Sent: Monday, November 18, 2019 8:03 AM
To: devel@...
Cc: devel@...
Subject: [EXT] [Zephyr-devel] about Dual Mac application for zephyr

Caution: EXT Email

Hi Guys:
I get an i.mxRT106x development kit board recently. It is
developed by third party . This boards have two Ethernet port.The
processor is i.mxRT1061, I hope to link several boards as an network.
but I don't find any example about two Mac in zephyr application. Can
anyone give some suggestions about it? Thank you!
best regards