The limitation of burst size in vector rx was removed, since it should retrieve as much received packets as possible. And also the scattered receive path should use a wrapper function to achieve the goal of burst maximizing.
This patch set aims to maximize vector rx burst for for ixgbe/i40e/ice/iavf/fm10k PMDs, and also do some code cleaning. v3->v2: 1:move define into header file. 2:delete some useless doc. v2->v1: 1:add fm10k driver case 2:refine some doc Jeff Guo (5): net/iavf: fix vector rx burst for iavf net/ixgbe: fix vector rx burst for ixgbe net/i40e: fix vector rx burst for i40e net/ice: fix vector rx burst for ice net/fm10k: fix vector rx burst for fm10k drivers/net/fm10k/fm10k_rxtx_vec.c | 42 ++++++-- drivers/net/i40e/i40e_rxtx.h | 1 + drivers/net/i40e/i40e_rxtx_vec_altivec.c | 64 +++++++----- drivers/net/i40e/i40e_rxtx_vec_avx2.c | 29 +++--- drivers/net/i40e/i40e_rxtx_vec_neon.c | 58 +++++++---- drivers/net/i40e/i40e_rxtx_vec_sse.c | 58 +++++++---- drivers/net/iavf/iavf_rxtx.h | 1 + drivers/net/iavf/iavf_rxtx_vec_avx2.c | 78 +++++++-------- drivers/net/iavf/iavf_rxtx_vec_sse.c | 119 +++++++++++++++-------- drivers/net/ice/ice_rxtx.h | 1 + drivers/net/ice/ice_rxtx_vec_avx2.c | 23 +++-- drivers/net/ice/ice_rxtx_vec_sse.c | 56 +++++++---- drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 77 ++++++++------- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 61 +++++++----- 14 files changed, 412 insertions(+), 256 deletions(-) -- 2.20.1