numam-dpdk/lib/librte_pmd_i40e
Helin Zhang 3043ce5011 i40e/base: fix arq_event_info struct
Overloading the 'msg_size' field in the 'arq_event_info' struct
is a bad idea. It leads to bugs when the structure is used in a
loop, since the input value (buffer size) is overwritten by the
output value (actual message length). The fix introduces one
more field of 'buf_len' for the buffer size, and renames the
field of 'msg_size' to 'msg_len' for the real message size.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Reviewed-by: Chen Jing <jing.d.chen@intel.com>
Tested-by: HuilongX Xu <huilongx.xu@intel.com>
2014-10-07 18:02:11 +02:00
..
i40e i40e/base: fix arq_event_info struct 2014-10-07 18:02:11 +02:00
i40e_ethdev_vf.c i40e/base: fix arq_event_info struct 2014-10-07 18:02:11 +02:00
i40e_ethdev.c i40e/base: fix arq_event_info struct 2014-10-07 18:02:11 +02:00
i40e_ethdev.h i40e: rework vlan stripping and insertion 2014-06-20 15:47:59 +02:00
i40e_logs.h i40e: always log init messages 2014-09-18 20:52:42 +02:00
i40e_pf.c i40e: clean log messages 2014-09-18 20:52:41 +02:00
i40e_pf.h i40e: add vlan stripping and insertion to PF messaging 2014-06-20 15:48:19 +02:00
i40e_rxtx.c ethdev: rename flag for queue start and stop 2014-09-29 19:30:12 +02:00
i40e_rxtx.h ethdev: rename flag for queue start and stop 2014-09-29 19:30:12 +02:00
Makefile i40e/base: disable some clang warnings 2014-07-19 01:54:12 +02:00