From patchwork Tue Jun 30 12:44:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 192066 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp3781949ilg; Tue, 30 Jun 2020 05:44:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw71B6rk/DLZs8AiWzFPA8AzsAPkFoKXjqsYiVc68lLwbBzESsg/VTA5SYtaFlTBhKncbSY X-Received: by 2002:a50:e387:: with SMTP id b7mr22245627edm.190.1593521096897; Tue, 30 Jun 2020 05:44:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593521096; cv=none; d=google.com; s=arc-20160816; b=frALwY3C21ApoV/aF8rYNFgEr713icwQoMArROWp5wY4/O7eniX6Dtrf+jALJom9IS 2/JZaCc38fyeNUNQXYGZ3Dwpf2yzhJcBWLDRXXuRKlpDBy3J+N8RlRB3jTrY/rkdDpr6 3Hmb4zHECWCjn9r8FXobf1wPaViqDLYAH/7WVzvsGO7MiA/YfZy3OvvwcogCymZXVlor dMx29tEz/f2Ql9heVWd9nj331RqUHGufMdAIaBMRGl/geT3/3QRCT7kwMMtkpiIkSFWw I8qE3O42o+ui2fwpzDchnJmpuSK3GwNxDGKISFoEH26ObwO29RjSBage4icIS5ZYcSLe ehaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0fzm9ivbOZhTMkiMv3HS0noPXFaLM5j356lho+0tq40=; b=CDaQ0VI0YQtFaLRQGWXeRpYVvt/YWLBkhwmzGoYyCNOVqUEoICfx6h7tMX1VXWysYt h/WLxxC7zZceHzQ3yD+YlwGs8+aO6unYF29YkB9VCm4LCfihhOKOjixI9XWene0CMMXj 8k4GS/2B4oOOmIiMa9sq7vDiFkgICB4Kz5ghZZQjys4af87JY3mP66gAGR1+khKT8rk6 iG6fIW5r4vkMJf+OFsFEhYgAv6dmYnDol0FBWK1zZkjdhgCBAzCLYtZ+OClzbBwBH6u0 x5EPwfjXFEnHLzvLw9rDnoZNJJxe6Iohn0kEtJOUZi85RXj7q0bl5Vd78UVq5RjPKU+i 7Vlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=afhODrly; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si1647101eje.201.2020.06.30.05.44.56; Tue, 30 Jun 2020 05:44:56 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=afhODrly; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387865AbgF3Moy (ORCPT + 9 others); Tue, 30 Jun 2020 08:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387836AbgF3Mou (ORCPT ); Tue, 30 Jun 2020 08:44:50 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC1D2C03E979 for ; Tue, 30 Jun 2020 05:44:50 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id i4so20771424iov.11 for ; Tue, 30 Jun 2020 05:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0fzm9ivbOZhTMkiMv3HS0noPXFaLM5j356lho+0tq40=; b=afhODrlyuRuSgJChUpQG2XY3nveWqjldkpWmGxxjIP0xJfH/0BJkI+Jh3eGsxnB+OR zutMm5QTTporiO9wAqYMbWs0bD5SB4tuBfpn+yDG2UL3a5LtawbTw0TZkt9J9ZmJO5BL t5Xbl1+kb72T6t5ovYqhZ1/H528+/djnLm+JWr/D6/Jl4ryQ8ekHTVssYXrVdlFovycI 0iZiQc4jS222M1OpzWLp30LY5Sf4SdC7YMxra1Fak0RGs/fDOSrceJDBRvCHBFvpxlZV vY6xDrgDR45SvZ0N9UgWqZsriKpkx/UnmA23ktp2IYVlQ8l208uKpl8JVE8KhVV5U6Hm TGVQ== 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:mime-version:content-transfer-encoding; bh=0fzm9ivbOZhTMkiMv3HS0noPXFaLM5j356lho+0tq40=; b=sucbjdqUWgI2zAeIkSSPh5moZuegI1lSjMnD1sMoT73fO9nLpgcCZuAIwxwox3sW08 /oUpQ+7dlh74+PsJuSJKj2fOTET0IpZu3xEIKAQKP5omvl20SQ6Fo8IQCmVqOD+8z/TR SL+zQmCATGcRqy8nKKwhOXvj5q2pTm3HimAMqBqI+D6ZUsNs4CeIlF1pzRBXfNTSvGVy bzK8W5bbM1k2K22qq7q9fJXKTlznBOjTHOHM74UErWaywWMuMSxlA+dVeKsA2TLwVt1U x5vRgliN1M1H5d0hdmMV3w0nHdCx8t6jYKzsQStfgTAmPliWGYbqZphZ5M2/5DXBdHUA RI/A== X-Gm-Message-State: AOAM530zIJKulYteuTIPRpV5PPmy0Gl3rukeemOO409nPyHp4JyDld+2 o1PbXJJuz2RkADLUyzyhe2DTDg== X-Received: by 2002:a02:694c:: with SMTP id e73mr23210222jac.17.1593521090058; Tue, 30 Jun 2020 05:44:50 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id t83sm1697536ilb.47.2020.06.30.05.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 05:44:49 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, subashab@codeaurora.org, cpratapa@codeaurora.org, bjorn.andersson@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net v2 2/3] net: ipa: no checksum offload for SDM845 LAN RX Date: Tue, 30 Jun 2020 07:44:43 -0500 Message-Id: <20200630124444.1240107-3-elder@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200630124444.1240107-1-elder@linaro.org> References: <20200630124444.1240107-1-elder@linaro.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The AP LAN RX endpoint should not have download checksum offload enabled. The receive handler does properly accommodate the trailer that's added by the hardware, but we ignore it. Fixes: 1ed7d0c0fdba ("soc: qcom: ipa: configuration data") Signed-off-by: Alex Elder --- v2: Fixed typo in description, and added "Fixes" tag. drivers/net/ipa/ipa_data-sdm845.c | 1 - 1 file changed, 1 deletion(-) -- 2.25.1 diff --git a/drivers/net/ipa/ipa_data-sdm845.c b/drivers/net/ipa/ipa_data-sdm845.c index 52d4b84e0dac..de2768d71ab5 100644 --- a/drivers/net/ipa/ipa_data-sdm845.c +++ b/drivers/net/ipa/ipa_data-sdm845.c @@ -44,7 +44,6 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = { .endpoint = { .seq_type = IPA_SEQ_INVALID, .config = { - .checksum = true, .aggregation = true, .status_enable = true, .rx = {