From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 8815D91B7 for ; Mon, 5 Oct 2015 19:50:27 +0200 (CEST) Received: by wicge5 with SMTP id ge5so131857490wic.0 for ; Mon, 05 Oct 2015 10:50:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=JpSU9Zg51jGDLzbms8VSK17KWqayGi/A+pUkIneb9wM=; b=g7gC7wHHG0moieR7Fg7Dn7TlmiKXPsUWGWjqypHJWRp8jwRzl56JOqmWBn24zdZ2mJ Ur47CWTqZ9Mq90cdDA4Pwe0A/3hOZFCAjC3hRHpsaOTY/flCCyXkjKcJG67Et1ytMjlG jFFQdX+WFI/tvWPKoJWyHxtUCtWS7LY/nubjZNNeZ+Xx7NE0ocegtGd0Y09W8JgaaDwd T3GNwtzSbqCTfnIbgIzc44J8zypp2ySvLVc1HPYVj2zq/RdZFxBbhTb0sKhV8ovuuKDj IRjF0A5vd/gZdIgMHru9jWYFslvG8ir3xxgZ+42N/sP5P3sZH1LWEqClL04NsZm4INHC I0rw== X-Gm-Message-State: ALoCoQk4+lnP/C+ChT2kklUcglIu7X9uWqPCVg+SoHbk+HkMWvTl9x2CfolIr3SF/LNut3EkMp7V X-Received: by 10.180.8.3 with SMTP id n3mr12390409wia.41.1444067427301; Mon, 05 Oct 2015 10:50:27 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id gc8sm15821784wib.2.2015.10.05.10.50.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 05 Oct 2015 10:50:26 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Date: Mon, 5 Oct 2015 19:50:06 +0200 Message-Id: <1444067408-29329-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 Subject: [dpdk-dev] [PATCH 1/3] mlx4: fix missing ol_flags in scattered RX function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2015 17:50:27 -0000 They were dropped by mistake in the commit below. Fixes: ab351fe1c95c ("mbuf: remove packet type from offload flags") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 2f49ed5..e1ca577 100644 --- 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; -- 2.1.0