I have been using Jetson Mate, which has a KSZ9896 chip configured by the i2c driver.
I recently updated the driver for Linux kernel 5.10 but had problems with link drops.
According to the errata page 3, Energy Efficient Ethernet (EEE) feature select must be manually disabled. However, the driver does not disable EEE if the sw->features does not have the PTP_HW = BIT(31) flag.
I have been using Jetson Mate, which has a KSZ9896 chip configured by the i2c driver. I recently updated the driver for Linux kernel 5.10 but had problems with link drops.
According to the errata page 3, Energy Efficient Ethernet (EEE) feature select must be manually disabled. However, the driver does not disable EEE if the
sw->features
does not have thePTP_HW = BIT(31)
flag.https://github.com/Microchip-Ethernet/EVB-KSZ9477/blob/42b24539e4289ccfa9ad16c2be171e893f75b750/KSZ/linux-drivers/ksz9897/linux-5.10/drivers/net/ethernet/micrel/ksz_sw_9897.c#L8855-L8856
I don't have problems with link drops if I remove these lines.