Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1749228ybg; Sat, 19 Oct 2019 01:40:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwEQhP0cl9QNlSxBZf+1DQMMtoBnwIx32SYsdNAfjkBDjuGbJKBP19/ENsM9uTYFAad+to X-Received: by 2002:aa7:df0d:: with SMTP id c13mr13773223edy.61.1571474423954; Sat, 19 Oct 2019 01:40:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571474423; cv=none; d=google.com; s=arc-20160816; b=Dw0fKrNd70EFjevVKDe+5qLGwFdN+7LbPKatV0aQh/QmVcoFxZcyltwOUr1Vsbaitc /uCylO7rHyR9YO58+VfL2WVk+jk2MEgzW0TvWIPRgQyvvdUFnG/dlwLyTCxE6JtZ643o J1ViZN7YF125gM1AWIrVfdc4ia1F1Wfz7rkTXaalnmqEffSaoiZorf0o6ys0/VjEr/mW 9DfatL3DKc0pL3EPFwfk2njUhnRXGuy0cGBnKN/4xXX+OBnWzDYQ5+jRtqDR0cNOx4Fy EcTD/jLuG5j99r7cxQMRJJJnhZu/m14UQadoSH4T4AL5/0IlbcJLZci+arPBHUWcqq4m LB4g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gThyljWtDBKOhSiy6iEb52Z+/qQRS5Kp4hVB8LMGJq4=; b=0Tbp2ezgvEB6TCeAa/lJf79IA6AwAX1q/3V6tsAYTbeMBuspNhbpIPlb2h+QAQh08k JqNo4Kieny2N77adYfMQy6OLTW4TISI/bh8ajPEnQbWkpRN/Jr5GoI2O7iYnMNSLTA5F D4zaA18E/wQNfRn9F21mG71/LCRUTYjVF9zed2RsG9kOMrdcxLl3mFSflFxfAeWGDndU XqYpycAmjEiZVx8f42hcJXYbYHFOM+8zx13Q08qdiKnLJsZZi1RCb+bk2crLRghKBYTN RWQVJdzyrcEFbqFVCqDs9/oEdc/xWvVRNJJXYx1xkECsKPmKpgjl6Jv3fvtRybXlDsRp 3WUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="A7/Tv/gO"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si5437686edc.404.2019.10.19.01.40.00; Sat, 19 Oct 2019 01:40:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="A7/Tv/gO"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406411AbfJRQBb (ORCPT + 99 others); Fri, 18 Oct 2019 12:01:31 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:37439 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502040AbfJRQBa (ORCPT ); Fri, 18 Oct 2019 12:01:30 -0400 Received: by mail-pg1-f196.google.com with SMTP id p1so3619178pgi.4; Fri, 18 Oct 2019 09:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gThyljWtDBKOhSiy6iEb52Z+/qQRS5Kp4hVB8LMGJq4=; b=A7/Tv/gOM+6HhintRWJJOEvZ/AdKsn7I2l/DAJ7OUeCkHrTr3E9HDo7LAZGy5a9vh7 4WwtE1fCXfmc8BQ0axVIpFBHOC+31NPSn6fNdcXBuskW0pwH0z8qEHttIaNCsD9a/WT9 CSWwteONKad90EyYOWLAZsMTcCSEs49m/y1SMk+tx74WXQrgJhCNZ3HfmXk/OtduEm5a qQ3itoPk54BDfX0j6mcM0EBih+R0ZJ3jfvuPOEs1X0w1p/oQbWS5sycEcXEEJZ0NVqCw KIW4YlYVRMoRzxXn6IQGQ6fKpjLslhSDGqrPTmsd2Npm9i4tTIfCLf1MpL79wCKrTDuf fISw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gThyljWtDBKOhSiy6iEb52Z+/qQRS5Kp4hVB8LMGJq4=; b=NacGupnvayD8iKu6C+KuqOCkEt57A5ZFZbdQgOTv3NldD8bD0d7meF+PrXsltJqSlG UJU96Nla2/cNyAmj4kBeYywrGyT6wTwxsCjpCUmRU+qXwHITI/QDk0maBB2MxYv1hc1s 2OX96Gr0hc0ZzhPxWcfyAz3mbBv959VW6TEeTOUU14zC+ABsX3Id60Pka/3bSZkB3+7/ Fz0vav/QYBuw+YmUrdBeeo8XyOK7GBKfLaIRgcfM9+DTtizNLmJaJqAdUTL0QKyS/ZCn ipcm/pLlC+OsZjffZHX5yRhc4Kon9385vyyjhNeLhn6/FuITK4yqMDXT1Y0FQLrrkhhP S6cw== X-Gm-Message-State: APjAAAV0oW4JYIpYX2xr59iAFIv5XNrCmS7o82PMYsokytd17zvZfssj QEXrSE30XKOOKKSLxccAtxE= X-Received: by 2002:a17:90a:e98d:: with SMTP id v13mr12063806pjy.64.1571414489913; Fri, 18 Oct 2019 09:01:29 -0700 (PDT) Received: from [192.168.86.235] (c-73-241-150-70.hsd1.ca.comcast.net. [73.241.150.70]) by smtp.gmail.com with ESMTPSA id x12sm6458744pfm.130.2019.10.18.09.01.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2019 09:01:28 -0700 (PDT) Subject: Re: [PATCH] net: stmmac: Fix the problem of tso_xmit To: Shaokun Zhang , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: yuqi jin , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Maxime Coquelin References: <1571309950-43543-1-git-send-email-zhangshaokun@hisilicon.com> From: Eric Dumazet Message-ID: <0b6b3394-f9f0-2804-0665-fe914ad2cdea@gmail.com> Date: Fri, 18 Oct 2019 09:01:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <1571309950-43543-1-git-send-email-zhangshaokun@hisilicon.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/19 3:59 AM, Shaokun Zhang wrote: > From: yuqi jin > > When the address width of DMA is greater than 32, the packet header occupies > a BD descriptor. The starting address of the data should be added to the > header length. > > Cc: Giuseppe Cavallaro > Cc: Alexandre Torgue > Cc: Jose Abreu > Cc: "David S. Miller" > Cc: Maxime Coquelin > Signed-off-by: yuqi jin > Signed-off-by: Shaokun Zhang > --- Please add a Fixes: tag, thanks.