201c9139e5
Add a const u32 *mvals pointer to the ixgbe_hw struct to point to an array of mac-type-dependent values. These can include register offsets, masks, whatever can be in a u32. When the ixgbe_hw struct is initialized, a pointer to the appropriate array must be set. The IXGBE_I2CCTL register references are changed to use it. Use the mvals array to hold differing values used for IXGBE_I2C_* symbols. Use the mvals array to hold differing values used for IXGBE_*_GPI* symbols. Use the mvals array to hold differing values use for CIAA and CIAD symbols. Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com> |
||
---|---|---|
.. | ||
base | ||
ixgbe_82599_bypass.c | ||
ixgbe_bypass_api.h | ||
ixgbe_bypass_defines.h | ||
ixgbe_bypass.c | ||
ixgbe_bypass.h | ||
ixgbe_ethdev.c | ||
ixgbe_ethdev.h | ||
ixgbe_fdir.c | ||
ixgbe_logs.h | ||
ixgbe_pf.c | ||
ixgbe_rxtx_vec.c | ||
ixgbe_rxtx.c | ||
ixgbe_rxtx.h | ||
Makefile | ||
rte_pmd_ixgbe_version.map |