From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 017AF1B884 for ; Tue, 15 May 2018 15:49:21 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id o4-v6so242285wrm.0 for ; Tue, 15 May 2018 06:49:21 -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=rcCoAV1Z8udBWGkMxj/5EGyUsACIZOT6jn6siKuR8tE=; b=GZmiRgnZoyO4NZmxnDVxl94io9EtRg2+3gERvJEwpGmA8gt+vckJc7eEpZ++XEoPoe SZRRnyEKd50MCVOgI5sSfBmEbZnsxOAUDk8VjD8bmjXWBXu9f5C5MzyFUU/amM4A/Vry jdVgwAha1oBns3ybl5itj1jTfQKCwFk3VgFxjNjLPqdBrJI+JpsCrt5TAi3uWYhC0XYd CYL993HQJ1Fz6Il8PVyW+oAqnHwk9D/1PXBMVPQKu3kzHxIzgyENxgya6RciGEwYW/2M yGYw57fILGW0bIUSvoWOhhIizK8OGwShXEu6FaTjPepPEx11shRpoGI/Kzi+bkSMxmEo wTUg== 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=rcCoAV1Z8udBWGkMxj/5EGyUsACIZOT6jn6siKuR8tE=; b=tlWuT+7/msLagFN6+nYkOmIMgI1sHy1wbcpS91Ev1RPvuYwHjbSbkFJTn3CqLmhX+2 uJ2aYdfQBsS4xLn+VglZkRILM4ZBwT7SJz9Q7A+S7NVrSRX/uz0/hjtXbQcfEZpVbX6S V3u26/Q3HS9ArE/qr9dWSxBUKEON4pCFzm9GEhg/PD1aTT33//ONPaeL4N8ORXSiWtTt B4LnlobLUEG+dfGmIuzVpzYluJKYehgPTzBiN6w7NroZ1E780uWsbk59N83d63SVT+tE ZVHWouGaPBob4bLAoUoAPOMaWcrAomGpzrg8QbQckrnoQZwY6oJmNbTfIu/bHLxNQVw3 LoUw== X-Gm-Message-State: ALKqPweLJMl06dxz6XMISSyvhI2MtUJ3ivRIdsueb8bgy+r/E2DchuH4 reP5Yj4BwyFzBP5AM9vBskYk2SU5nAY= X-Google-Smtp-Source: AB8JxZr3j9MTfLKAggarmwC2dT40lEzpPglI/rl43iaer2bQUnvnvqc5qZGTFdIdfzFhoO999J4xfg== X-Received: by 2002:adf:9986:: with SMTP id y6-v6mr11055799wrb.40.1526392161711; Tue, 15 May 2018 06:49:21 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id x16-v6sm8500003wmc.2.2018.05.15.06.49.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:49:20 -0700 (PDT) From: luca.boccassi@gmail.com To: Andrew Rybchenko Cc: dpdk stable Date: Tue, 15 May 2018 14:47:11 +0100 Message-Id: <20180515134731.9337-60-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/sfc: fix inner TCP/UDP checksum offload control' 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: Tue, 15 May 2018 13:49:22 -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/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From eac9b1ddb3545d3a9009a7cba42569d83bdd1bb0 Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Thu, 10 May 2018 12:59:42 +0100 Subject: [PATCH] net/sfc: fix inner TCP/UDP checksum offload control [ upstream commit 4436cf988bfd046a49666a34cf55587997ba263c ] If application uses Tx offload API and sets ETH_TXQ_FLAGS_IGNORE flag, it still should have inner TCP/UDP checksum offload enabled if it is supported and TCP/UDP checksum offload is requested. Fixes: c78d280e88ef ("net/sfc: convert to new Tx offload API") Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_tx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/sfc/sfc_tx.c b/drivers/net/sfc/sfc_tx.c index 757b03ba8..5b004fda5 100644 --- a/drivers/net/sfc/sfc_tx.c +++ b/drivers/net/sfc/sfc_tx.c @@ -495,8 +495,7 @@ sfc_tx_qstart(struct sfc_adapter *sa, unsigned int sw_index) (txq->offloads & DEV_TX_OFFLOAD_UDP_CKSUM)) { flags |= EFX_TXQ_CKSUM_TCPUDP; - if ((~txq->flags & ETH_TXQ_FLAGS_IGNORE) && - (offloads_supported & DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM)) + if (offloads_supported & DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM) flags |= EFX_TXQ_CKSUM_INNER_TCPUDP; } -- 2.14.2