Hi,
I am working on T1040 reference board and i noticed that all the 8 ports of internal L2 swicth are landing on the same MAC. Is it possible to assign different Mac to different internal L2 switch ports.If yes Please suggest. Thanks in advance.
Sorry, not clear what do you mean.
Hi,
The T1040rdb board which i am currently working has an internal L2 switch which is connected to 2 QSGMII PHY's and gives out a total of 8 1G ports. All the 8 1G ports which comes from the internal switch are accessed via Fm1-gb0 interface only and hence all the 8 ports are having the same mac addresses.
Can we assing different mac addresses to each of the 8 individual ports?
Refer to the QorIQ SDK V2.0-1703 Documentation, 9.4.2 Build and Installation Summary:
NOTE: Some L2 protocols require a MAC address for each switch port for proper functioning. An address can be specified in u-boot, that will serve as a seed for generating MAC addresses for each port:
setenv l2switchaddr 00:11:22:33:44:55
saveenv
This address will be available as a sysfs entry:
root@t1040d4rdb:~# cat /sys/bus/platform/devices/ffe800000.l2switch/mac_address
00:11:22:33:44:55