numam-dpdk/drivers/net
Wenzhuo Lu 201c9139e5 ixgbe/base: rework mac-type-dependent constants
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>
2015-06-26 12:59:05 +02:00
..
af_packet af_packet: move to drivers/net/ 2015-05-22 15:51:38 +02:00
bonding eal: add and use unaligned integer types 2015-06-24 12:00:41 +02:00
e1000 e1000: add multicast MAC address filtering 2015-06-12 15:55:38 +02:00
enic drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
fm10k fm10k: fix mac/vlan filtering 2015-06-22 17:27:59 +02:00
i40e drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
ixgbe ixgbe/base: rework mac-type-dependent constants 2015-06-26 12:59:05 +02:00
mlx4 mbuf: use offset macro 2015-06-24 12:01:14 +02:00
null null: remove useless memset 2015-06-04 10:46:45 +02:00
pcap drivers: fix whitespace 2015-06-12 11:10:10 +02:00
ring ring: fix return of new port id on creation 2015-06-22 17:33:23 +02:00
virtio virtio: fix crash if CQ is not negotiated 2015-06-12 14:50:06 +02:00
vmxnet3 drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
xenvirt xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
Makefile xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00