i40e/base: fix wake on lan for X722
authorHelin Zhang <helin.zhang@intel.com>
Tue, 8 Mar 2016 08:14:18 +0000 (16:14 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:25:59 +0000 (17:25 +0100)
commit542526b7a192e3919abac568337002dcad6d86b3
tree2cd4c8d741f900849e785ec4bddf772901632453
parenta0454b5d2e08d9487f7cb73ec4ee758f8da79b28
i40e/base: fix wake on lan for X722

The recently added Wakeup On Line (WOL) opcodes should be
available only with X722_SUPPORT, so move them into the #ifdef,
and reorder these to be in numerical order with the rest of the
opcodes. Several structs that were added are unnecessary, so
they are removed here.

Fixes: 3c89193a36fd ("i40e/base: support WOL config for X722")

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
drivers/net/i40e/base/i40e_adminq_cmd.h