]> git.droids-corp.org - dpdk.git/commit
ixgbe/base: restrict EEE to X550em KR backplane
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 5 Jun 2015 05:21:58 +0000 (13:21 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 15 Jun 2015 20:44:54 +0000 (22:44 +0200)
commit669bc48bd9338195d142509b7aa6e05b5b99ed3c
treecf908981d2a1fe4e569c22271b6ab72216bcb5e2
parent39592ace2f98c1e4b503be9edfef328443abe5fe
ixgbe/base: restrict EEE to X550em KR backplane

This patch sets the setup_EEE function pointer to NULL for the
interfaces which do not support EEE (Energy Efficient Ethernet).
Currently only the KR backplane interface (0x15AB) supports EEE.
Setting this pointer to NULL prevents EEE registers from being
incorrectly modified and gives base drivers a flag to check for
EEE support.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c