From: Leyi Rong Date: Tue, 15 Oct 2019 07:50:33 +0000 (+0800) Subject: net/ice: support RSS in SSE path X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9c9f24e915add431611b0587c1d2b1d154821fe9;p=dpdk.git net/ice: support RSS in SSE path Support 32 bits RSS in FlexMD fields in SSE path. Signed-off-by: Leyi Rong Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/ice/ice_rxtx_vec_sse.c b/drivers/net/ice/ice_rxtx_vec_sse.c index 2ae9370f4c..9d5f1f194f 100644 --- a/drivers/net/ice/ice_rxtx_vec_sse.c +++ b/drivers/net/ice/ice_rxtx_vec_sse.c @@ -230,7 +230,7 @@ _ice_recv_raw_pkts_vec(struct ice_rx_queue *rxq, struct rte_mbuf **rx_pkts, const __m128i zero = _mm_setzero_si128(); /* mask to shuffle from desc. to mbuf */ const __m128i shuf_msk = _mm_set_epi8 - (0xFF, 0xFF, 0xFF, 0xFF, /* rss not supported */ + (15, 14, 13, 12, /* octet 12~15, 32 bits rss */ 11, 10, /* octet 10~11, 16 bits vlan_macip */ 5, 4, /* octet 4~5, 16 bits data_len */ 0xFF, 0xFF, /* skip high 16 bits pkt_len, zero out */