i40e/base: add WOL/proxy capability parsing
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:54 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:23 +0000 (01:35 +0200)
commit2e7e5097c37bd6f7a70a77c2808b3445972257a2
treebad005a2caf44e319b1cf773471692528dcfd83f
parent3c89193a36fd2e936f8ff5f1ea793c64fa398285
i40e/base: add WOL/proxy capability parsing

Adds support to retrieve and parse WoL/Proxy capabilities from the
device/function list.
Also saves WR_CSR_PROT field from DEV/FUNC capabilities.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_type.h