Enable ethtool to retrieve the NIC speed, duplex, autoneg values

Ethtool is used to retrieve the NIC link speed, autonegotiation state,
and the duplex state. The NIC driver must support the necessary
ethtool functionality for these values to be returned. The FTGMAC
driver doesn't provide data for the NCSI channel. The driver requires
an update for the values to be retrieved.

Tested:
In combination with a patch to the FTGMAC driver I performed a GET
request for the bmc/EthernetInterfaces/eth(x) node. The LinkStatus and
the SpeedMbps entries populate correctly.

Change-Id: I480676b41a3ebdc518cd31a749ed57277e233a7a
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
1 file changed