net/i40e: fix incorrect packet index reference
Fixes: ae0eb310f253 ("net/i40e: implement vector PMD for ARM") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Signed-off-by: Sunil Kulkarni <sunil.kulkarni@caviumnetworks.com> Acked-by: Jianbo Liu <jianbo.liu@linaro.org>
This commit is contained in:
parent
e8acb3298d
commit
45290ddae8
@ -205,7 +205,7 @@ desc_to_ptype_v(uint64x2_t descs[4], struct rte_mbuf **rx_pkts)
|
||||
for (i = 0; i < 4; i++) {
|
||||
tmp = vreinterpretq_u8_u64(vshrq_n_u64(descs[i], 30));
|
||||
ptype = vgetq_lane_u8(tmp, 8);
|
||||
rx_pkts[0]->packet_type = i40e_rxd_pkt_type_mapping(ptype);
|
||||
rx_pkts[i]->packet_type = i40e_rxd_pkt_type_mapping(ptype);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user