From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 02B20F64 for ; Mon, 30 Apr 2018 16:54:13 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id x12so11698790wmc.0 for ; Mon, 30 Apr 2018 07:54:13 -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=PoAFUMgPRicE21CCB2fyu2epWAMnAgm+TCwH6+SvABg=; b=T8zVrse0QsmEVD71rkSLhzE6gPepxCWNNBV+MWn0Fw8Ge9oln3ZODPp5PTZ7ysV7Lg 0E2QMqG8mMA1qgLgFiXsEWa2K6BcUcDbOa5ou8v2swsEbY+SgkP6O0Ye24SwlH2KGkeq tTcJDoLRu2OQJQePoAxEhYKNcQAEaSfl6uVNUJ1+ikgbNO8oHdnWjzJmVS5thdT3dQED CJkxb1yUzVnQ36kfXKTLJQFWJyQbHQ8Y9GBsx38FfqbpKogHOJDCq6veRwcj4fbdSDfR EcQD9OYw7syyYb+9qfDr7G1rQ/cXH9vTXjpQhVy6XrMT5n+CyLv/hr62u0TueH7g7dgT O2LA== 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=PoAFUMgPRicE21CCB2fyu2epWAMnAgm+TCwH6+SvABg=; b=jo4SCe30mS+eLOTIvZ97XVIyCbHMCiw/wAQlqrs0HyQoBf/1p/vTe3KzWmBxLv9wvF xGTGCtvwkHj20/CDhI+kZm8cMFrIdFc3AnD7qg/jKyOZkoYmR3V2Tz6L3/cVYAP/OlQa Fr3s6bLLJDnsRQXtkP8cnVWiDislU5pTzzOs6h9RzP/fGkPTIRajDv9DKoUpZIPfQDWN A6KmNaYf2+ASqM+3xgyBpXVq9BdCLx3cSrasmqJ3wNQN0tyoM5uX5Ou9qtdNQrwrj7PT 48aGHD9IvICcOItIZ7XzmJDtXQp7AE365BwWJiiROuKxRppdsA2OtERZmibYbdtljWf4 HA+g== X-Gm-Message-State: ALQs6tARCu24Eyv6BMeA5BmfrJPKojigC0Yi8QqA8MMffQm1Fdqk2xk/ lVy7E0zi1cjC2XN1o/BxJyE= X-Google-Smtp-Source: AB8JxZpjzH72x5hgvjB/4GvOt6FNWMDwJnk0+0gZ2Hjf4H7BOjM3aqaYm14hHqRIN0anKz/joL9FHA== X-Received: by 10.28.183.138 with SMTP id h132mr7088474wmf.21.1525100052617; Mon, 30 Apr 2018 07:54:12 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id p17sm6740852wmc.17.2018.04.30.07.54.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:54:11 -0700 (PDT) From: luca.boccassi@gmail.com To: Ajit Khaparde Cc: dpdk stable Date: Mon, 30 Apr 2018 15:53:24 +0100 Message-Id: <20180430145402.23057-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430145402.23057-1-luca.boccassi@gmail.com> References: <20180430144223.18657-85-luca.boccassi@gmail.com> <20180430145402.23057-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/bnxt: fix endianness of flag' 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:54:14 -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 6a1801fd1c196f9ab52c4d85b66e1cbde9e8fd71 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Mon, 16 Apr 2018 18:11:15 -0700 Subject: [PATCH] net/bnxt: fix endianness of flag [ upstream commit 8e92b4f1553dc45b6093ba1cb9162b98b4cf95ce ] In bnxt_hwrm_vnic_alloc, use rte_cpu_to_le_32 while setting the flags. Fixes: 2691827e82c0 ("net/bnxt: add HWRM VNIC alloc") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index 05663fedd..f52146780 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -1193,7 +1193,8 @@ int bnxt_hwrm_vnic_alloc(struct bnxt *bp, struct bnxt_vnic_info *vnic) HWRM_PREP(req, VNIC_ALLOC); if (vnic->func_default) - req.flags = HWRM_VNIC_ALLOC_INPUT_FLAGS_DEFAULT; + req.flags = + rte_cpu_to_le_32(HWRM_VNIC_ALLOC_INPUT_FLAGS_DEFAULT); rc = bnxt_hwrm_send_message(bp, &req, sizeof(req)); HWRM_CHECK_RESULT(); -- 2.14.2