numam-dpdk/drivers/net/ixgbe
Zyta Szpak 001a1c0f98 ethdev: get registers width
The ethtool app was allocating too little space for 64-bit
registers which resulted in memory corruption.

Removes hard-coded assumption that device registers
are always 32 bits wide. The rte_eth_dev_get_reg_length
and rte_eth_dev_get_reg_info callbacks did not
provide register size to the app in any way while is
needed to allocate correct number of bytes before
retrieving registers using rte_eth_dev_get_reg.

This commit changes rte_eth_dev_get_reg_info so that
it can be used to retrieve both the number of registers
and their width, and removes the now-redundant
rte_eth_dev_get_reg_length.

Signed-off-by: Zyta Szpak <zyta.szpak@semihalf.com>
Acked-by: Remy Horton <remy.horton@intel.com>
2016-07-10 14:55:42 +02:00
..
base net/ixgbe/base: update documentation for base code update 2016-06-27 16:17:53 +02:00
ixgbe_82599_bypass.c ixgbe: clean up code style 2016-05-06 15:51:22 +02:00
ixgbe_bypass_api.h ixgbe: support new devices and MAC types 2016-03-16 17:09:27 +01:00
ixgbe_bypass_defines.h ixgbe: clean up code style 2016-05-06 15:51:22 +02:00
ixgbe_bypass.c ixgbe: clean up code style 2016-05-06 15:51:22 +02:00
ixgbe_bypass.h ixgbe: clean up code style 2016-05-06 15:51:22 +02:00
ixgbe_ethdev.c ethdev: get registers width 2016-07-10 14:55:42 +02:00
ixgbe_ethdev.h ixgbe: fail if too many queues for interrupt 2016-03-30 20:17:58 +02:00
ixgbe_fdir.c ixgbe: clean up code style 2016-05-06 15:51:22 +02:00
ixgbe_logs.h drivers: allow pruning log during build 2015-07-30 20:16:04 +02:00
ixgbe_pf.c net/ixgbe/base: allow bypassing VLAN pool filters 2016-06-27 16:17:53 +02:00
ixgbe_regs.h ixgbe: add access to specific device info 2015-07-17 00:00:48 +02:00
ixgbe_rxtx_vec_common.h net/ixgbe: remove useless assignment 2016-06-27 18:31:57 +02:00
ixgbe_rxtx_vec_neon.c net/ixgbe: use mbuf prefetch function 2016-06-24 18:28:09 +02:00
ixgbe_rxtx_vec_sse.c net/ixgbe: rename x86 vector driver file 2016-06-15 17:13:54 +02:00
ixgbe_rxtx.c net/ixgbe: fix missed packet types on Rx 2016-06-23 15:59:02 +02:00
ixgbe_rxtx.h mbuf: add new Rx flags for stripped VLAN 2016-06-15 17:18:57 +02:00
Makefile net/ixgbe: rename x86 vector driver file 2016-06-15 17:13:54 +02:00
rte_pmd_ixgbe_version.map ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00