git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922a546
)
mlx4: fix missing offload flags in scattered Rx
author
Adrien Mazarguil
<adrien.mazarguil@6wind.com>
Mon, 5 Oct 2015 17:50:06 +0000
(19:50 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 20 Oct 2015 19:49:24 +0000
(21:49 +0200)
They were dropped by mistake in the commit below.
Fixes:
ab351fe1c95c
("mbuf: remove packet type from offload flags")
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx4/mlx4.c
b/drivers/net/mlx4/mlx4.c
index
2f49ed5
..
e1ca577
100644
(file)
--- a/
drivers/net/mlx4/mlx4.c
+++ b/
drivers/net/mlx4/mlx4.c
@@
-2735,6
+2735,7
@@
mlx4_rx_burst_sp(void *dpdk_rxq, struct rte_mbuf **pkts, uint16_t pkts_n)
PORT(pkt_buf) = rxq->port_id;
PKT_LEN(pkt_buf) = pkt_buf_len;
pkt_buf->packet_type = rxq_cq_to_pkt_type(flags);
+ pkt_buf->ol_flags = rxq_cq_to_ol_flags(rxq, flags);
/* Return packet. */
*(pkts++) = pkt_buf;