I have enable the tx flow control as follow:
1. set mac_control register's TX_FLOW_EN, FULL_DUPLEX
2. set phy antoneg mode,ANAR register's PAUSE and ASYM PAUSE bit
According test, MAC can receive the pause frame kowned by statisic reg .
NOW the problem is I set set mac_control register's RX_FLOW_EN. By statisic reg the send pause frame always zero.
How to enable rx flow control and test the function?