bus/dpaa: enhance link status
authorRohit Raj <rohit.raj@nxp.com>
Thu, 24 Sep 2020 04:02:09 +0000 (09:32 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Oct 2020 12:43:40 +0000 (14:43 +0200)
commit7a2926198f8a3a93ca2452af0146c698e34bf7f7
treeb83e17be597ce6648c1cf5a80ecf815194e38221
parent95d226f0f81a22846d3c00b724daae7c31930a94
bus/dpaa: enhance link status

This patch adds support to get/set link speed, duplex and
autoneg mode status from/to PHY. Enhance device capabilities
to advertise all supported link speeds according to mac type.

Also enables fallback support for get link status API where
kernel support is missing.

Signed-off-by: Sachin Saxena <sachin.saxena@oss.nxp.com>
Signed-off-by: Rohit Raj <rohit.raj@nxp.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
drivers/bus/dpaa/base/qbman/process.c
drivers/bus/dpaa/include/process.h
drivers/bus/dpaa/rte_bus_dpaa_version.map
drivers/net/dpaa/dpaa_ethdev.c