[dpdk-dev] [PATCH 0/3 v2] disable vector PMD for i686

Qi Zhang qi.z.zhang at intel.com
Thu Apr 27 09:01:04 CEST 2017


Vector PMD is not designed for i686 orginally, but it still can be active
with i686 compile option.
Below are observed failure when vPMD is invovled on i686
(but may not limited to)

1) memory overwrite when assign 2 mbuf points to rx return points.
_mm_storeu_si128((__m128i *)&rx_pkts[pos+2], mbp2)

2) rearm_data is not 16 bytes aligned that cause general-protection exception
_mm_store_si128((__m128i *)&rx_pkts[0]->rearm_data, rearm0);

So the patch set will exclude Vector PMD from compile with i686 configure.

Qi Zhang (3):
  net/i40e: disable vector PMD for i686
  net/ixgbe: disable vector PMD for i686
  net/fm10k: disable vector PMD for i686

 drivers/net/fm10k/Makefile | 2 ++
 drivers/net/i40e/Makefile  | 2 +-
 drivers/net/ixgbe/Makefile | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

-- 
2.9.3



More information about the dev mailing list