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
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
HI Yingwang,
could you provide path of debugfs files to get TX FQ for each MAC.
Regards,
Bhargav J