3043ce5011
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> |
||
---|---|---|
.. | ||
i40e | ||
i40e_ethdev_vf.c | ||
i40e_ethdev.c | ||
i40e_ethdev.h | ||
i40e_logs.h | ||
i40e_pf.c | ||
i40e_pf.h | ||
i40e_rxtx.c | ||
i40e_rxtx.h | ||
Makefile |