net/i40e/base: add MAC frequency calculation if no link
authorRobin Zhang <robinx.zhang@intel.com>
Sat, 9 Oct 2021 01:39:52 +0000 (01:39 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Sat, 9 Oct 2021 05:37:05 +0000 (07:37 +0200)
commita1efb97105ea904326475bebdd671c7adab7bb8f
treedda442dba9f4a2826ddd837cf878f08f3f229dc0
parente59d949182767cdf8c7ee1b2637034f50a8487fb
net/i40e/base: add MAC frequency calculation if no link

Add macros and structures for MAC frequency calculation in case the link
is not present.

Remove duplicate definition in i40e_ethdev.c

Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Signed-off-by: Robin Zhang <robinx.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_adminq_cmd.h
drivers/net/i40e/base/i40e_register.h
drivers/net/i40e/base/i40e_type.h
drivers/net/i40e/i40e_ethdev.c