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 30C35DED for ; Mon, 30 Apr 2018 16:08:07 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id g21-v6so8172232wrb.8 for ; Mon, 30 Apr 2018 07:08:07 -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=uPoYEt85sMnh6LXsSFChCgBao5NKLRr67SqnaNPUdrM=; b=TpJUeZfyHJ06ibpPEPLkrIEbK/W2Dvc8yU9AAW09/4DFgHBSqp0u2N0QuAE+Svsj1/ XZO1tkBb4DmleVmtGd3srHZYfkb4ynCLNWpwxKj6U8/4crgo8Hz9DkFOeNgw90rQFPQy FtPeLUCALG03BOL5/+YwTPyR9ezTwmf+1TUFJYwOTzntqFMJ0ni+0nTLyKLxZ4OQ1Z9A EkZ6n4J45/FxoeizqSAHRyIKNIKT3AEyF+ulZdTxyU41QRtybq5zR4mVqW8tcG4aoAMG JMdxqLnzalBPTEsmseupjRjZrFWJ08BUc5YgUtPZj+zPtNpV1/CFtWAcmIxy/fAs6571 1N7w== 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=uPoYEt85sMnh6LXsSFChCgBao5NKLRr67SqnaNPUdrM=; b=Q37ZwniWTGQS0SX07i4tIAz0m9E200cqBFw8yaU1z0HqLQowEYFaVBN4fmsGgNFh3L K5QMB8vrCK1fqXoVa4qYEPF2Dhgd8Tn0q4KJaHudN7EmeBYfJXMaUqwpskf7+5D0TrqU 717/lYUNEEbHtSFXPJcZXN59IdllwA/KdtolNsaRMGl8o5wlkAaEs9P19+IEInTcI9hf xoitLwOHU3+NwS4M5vVr5eaxAOCQaoJUe9ghg99pjDfL6xZChPhD+IK3Fc9VtHfQD26i UNakmvQ2oAroaBQdFbKzPUaAKdwiV2kVoJNfRZQkeWJ9yu5GRrsyUicGBD6I0SqvKHI+ bDAw== X-Gm-Message-State: ALQs6tDwy4Kvp6fE75/V1vDv6GTU5GCCCCSwfa1sMByC/C86qoL7LE8t AZnXGRHN7PbaKcsHcW9LFBY= X-Google-Smtp-Source: AB8JxZqi3YFNIygEimHHQc9NYXGh68HqzOHBedYYEWBv/QdBlYztFJgC+K+42s6Rh49B6OqOGFmNpw== X-Received: by 2002:adf:988c:: with SMTP id w12-v6mr8648021wrb.215.1525097286951; Mon, 30 Apr 2018 07:08:06 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id 123sm6322602wmt.19.2018.04.30.07.08.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:08:06 -0700 (PDT) From: luca.boccassi@gmail.com To: Ajit Khaparde Cc: dpdk stable Date: Mon, 30 Apr 2018 15:03:43 +0100 Message-Id: <20180430140606.4615-65-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/bnxt: fix LRO disable' 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:08:07 -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 f03d0f7da2edbf43d5a192154fbfa34568a20ca9 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Wed, 28 Feb 2018 14:12:36 -0800 Subject: [PATCH] net/bnxt: fix LRO disable [ upstream commit e331b9626f42c7b2bcfd7d51db4d98f80090ae96 ] When the vnic_tpa_cfg HWRM command is sent to the FW, we are not passing the VNIC ID in case of disable. This can cause the FW to return an error. Correct VNIC ID needs to be passed for both enable and disable. Fixes: 0958d8b6435d ("net/bnxt: support LRO") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index b7843afe6..05663fedd 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -1517,12 +1517,12 @@ int bnxt_hwrm_vnic_tpa_cfg(struct bnxt *bp, HWRM_VNIC_TPA_CFG_INPUT_FLAGS_GRO | HWRM_VNIC_TPA_CFG_INPUT_FLAGS_AGG_WITH_ECN | HWRM_VNIC_TPA_CFG_INPUT_FLAGS_AGG_WITH_SAME_GRE_SEQ); - req.vnic_id = rte_cpu_to_le_32(vnic->fw_vnic_id); req.max_agg_segs = rte_cpu_to_le_16(5); req.max_aggs = rte_cpu_to_le_16(HWRM_VNIC_TPA_CFG_INPUT_MAX_AGGS_MAX); req.min_agg_len = rte_cpu_to_le_32(512); } + req.vnic_id = rte_cpu_to_le_32(vnic->fw_vnic_id); rc = bnxt_hwrm_send_message(bp, &req, sizeof(req)); -- 2.14.2