net/qede/base: add EEE support
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:29:55 +0000 (18:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commit3c6a3cf607caab05df19bcfbb051c9210859cebd
tree45e4bd9c5e27cc416820849b9359b53ecfde47ca
parenta064d7d28bda668a3fa7a67122ff0293b4644723
net/qede/base: add EEE support

- Base driver EEE (Energy efficient ethernet) support.
 - Provide supported-speed mask to driver though shared memory.
 - Read/use eee-supported capabilities value from the shared memory.
 - Update qed_fill_link() to advertise the EEE capabilities.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_mcp.c
drivers/net/qede/base/ecore_mcp_api.h
drivers/net/qede/base/mcp_public.h
drivers/net/qede/qede_if.h
drivers/net/qede/qede_main.c