LS1043ARDB Ethernet port cross-connect using FMC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1043ARDB Ethernet port cross-connect using FMC

1,427 次查看
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 项奖励
回复
2 回复数

1,321 次查看
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 项奖励
回复

475 次查看
bhargavjayswal
Contributor III

HI Yingwang,

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

Regards,

Bhargav J

0 项奖励
回复