Part Number: 66AK2G12
Tool/software:
Hello,
I intend to enable flow control on 66AK2G12 device to address a packet loss issue. There is an external PHY DP83848MPTBEP connected via MII interface with the K2G device.
According to reference manual, the flow control is supported by the device and it's disabled after reset (chapter 11.13.4.4.6.7.2 - Ethernet Port Flow Control). Bits TX_FLOW_EN and RX_FLOW_EN in register CPSW_P1_MAC_CONTROL must be explicitly set. NetCP driver is enabled in the Linux Kernel. However it looks like the driver does not configure the flow control at all when loaded nor it does not support ethtool operation to configure it afterwards.
There is also a Kernel module cpsw_sl (drivers/net/ethernet/ti/) for CPGMAC_SL block. This module accesses the register mentioned above. Even though this block is present on the K2G chip (RM chapter 11.13.4.4.6 CPSW_2U), the module is compiled only when Kernel config CONFIG_TI_AM65_CPSW_NUSS is enabled, however which is K3 AM65x device. It's surprising that this module is not selectable for Keystone architecture.
Can you please guide me how to enable the flow control on 66AK2G12 device?
I am using Linux Processor SDK for K2Gx platform release 06.03.00.106.