LS1043ARDB Ethernet port cross-connect using FMC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043ARDB Ethernet port cross-connect using FMC

1,206 Views
matevzlangus
Contributor III

Hi,

does anybody know if it is possible using only fmc tool on LSDK to configure cross-connect from one FMAN MAC to another without CPU intervention where FMAN would bridge all received ethernet packets from one MAC to another MAC and vice versa. Any example config file would be very welcome.

Matevz

0 Kudos
2 Replies

1,100 Views
yipingwang
NXP TechSupport
NXP TechSupport

You need to modify the FMC policy to modify the accepted queue as the Tx FQ of another Ethernet port.

For example,

<distribution name="hash_ipv4_src_dst_dist0">
<!-- frame match rule -->
<key>
<fieldref name="ipv4.src"/>
<fieldref name="ipv4.dst"/>
</key>
<!-- frame handling rule -->
<queue count="1" base="Tx FQID"/>
</distribution>

Each MAC has its own TX FQ, you could get this information from debugfs

0 Kudos

254 Views
bhargavjayswal
Contributor III

HI Yingwang,

could you provide path of debugfs files to get TX FQ for each MAC.

Regards,

Bhargav J

0 Kudos