From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 48450DED for ; Mon, 30 Apr 2018 16:07:39 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id p5-v6so8160182wre.12 for ; Mon, 30 Apr 2018 07:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4WgMK3XqZKQfh9A3irFbEEHojNhKI0qRPCC1vK2RKo0=; b=YJQiILSJMHb44Mv7Tr/ByM7OqwXeujKeAdwPNrTeTnD+LRskD+fdHklqmqNnIjjWQM 6nQqlBcLxnRCJBxrq9J4mwSPZreXKDJnR54FtZNqWE7DvT1vV0YlT+G3I5z5XbNduZGX jve9u91T/kT9v4zLIHFhDXPNTZtG0c3ZShDQnaTImp1WIZDF7jpoW9Bc6EvzhUq+80Q4 F2cTU8IeMpKlizpH/Lis8hqNx5emFcYVn3xYLFZLg963toXzdHjN+wiueu85OiTgb6JJ GRv4DnR5hekK1JjcF8IjyjNztDfUBwktHHsZi37MckCNrh+33lg4uj18v40Q1iabgRuM 9CNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4WgMK3XqZKQfh9A3irFbEEHojNhKI0qRPCC1vK2RKo0=; b=bYqVUYrLnms7pIUPxG8wV4glw5gxCba8eEygk27GDp1XyavC2b9D6AbQUI4zLFWJ8U QLUpvkKT5Y1fCckiBDHyU2rhg5XCANCJpuLb+I+11tLOrAaGApN+t3LTj4uzNqH15aCr YuRdk+rOR3R45omTzVWViwUprOnRSvzBoxzuua7TA7aM2/cvYj7MwIy0s6FqT35hGoYs UCsElbyx261nal8u6kRINhwMQMl6sPvL6CogidIIruV6s1l3ttuy/PcHSI8YeGizrOwi TOq7OV0fgQMsyFOTtEZYW8+fluN12a8A1jE+M+d5ujFex2olEcg5YrxcN4n6X51sK1cz 0FYA== X-Gm-Message-State: ALQs6tA8WuCXvBS5QbVdceGTBeVZNcJfoaW0u7kB/+gaoWw7WWUgaU95 9RqErGwUxy3SOurMw9g8a4v/rRFT0R0= X-Google-Smtp-Source: AB8JxZpOWh75riizNVI73ULVm3xjbLILTMxRUgdh0/0TsqV2Mq4CO5sv9I9Ezh0gVTzkdpF3/C0gkA== X-Received: by 2002:adf:90cd:: with SMTP id i71-v6mr4260273wri.136.1525097259039; Mon, 30 Apr 2018 07:07:39 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id y129sm6871979wmg.44.2018.04.30.07.07.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:07:38 -0700 (PDT) From: luca.boccassi@gmail.com To: Alejandro Lucero Cc: dpdk stable Date: Mon, 30 Apr 2018 15:03:25 +0100 Message-Id: <20180430140606.4615-47-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/nfp: fix assigning port id in mbuf' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:07:39 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 65e6e46854e10d1a473b829ba12af51715e17c19 Mon Sep 17 00:00:00 2001 From: Alejandro Lucero Date: Thu, 22 Feb 2018 11:13:48 +0000 Subject: [PATCH] net/nfp: fix assigning port id in mbuf [ upstream commit ca7d716b3ad74529fa331f2cfb45716241124b27 ] Although this can be done by the app, because other PMDs are doing it, apps expect this behaviour from the PMD. Fixes: b812daadad0d ("nfp: add Rx and Tx") Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index e5bfde627..5180a3189 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -2089,6 +2089,8 @@ nfp_net_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts) mb->nb_segs = 1; mb->next = NULL; + mb->port = rxq->port_id; + /* Checking the RSS flag */ nfp_net_set_hash(rxq, rxds, mb); -- 2.14.2