Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp174343ybg; Tue, 22 Oct 2019 18:17:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxz6OYStJpUYm9A66SJmiyQiLgIowBghg8k09RBxiUZ3dcJOr9PY64X2+RNikSb2qUKJU5Y X-Received: by 2002:aa7:cfd4:: with SMTP id r20mr34506715edy.268.1571793459263; Tue, 22 Oct 2019 18:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571793459; cv=none; d=google.com; s=arc-20160816; b=y5fNXKf/iHH8VvKRFW06QRwP4vfYAOSpBhHpAXX7JoBxWUTmw+HPqaloRHLFYDZvQx 1pS51mNLPLFqUDaCJNkLUG6t4BA3QN+GDiRCsLTV9oEub8pLwRYsb7ns8GNfM+oeg2tF +p4Tosz2buirtDBgLzHqSuse/fDF4D4yDK5zPrInKOMRtJ2PFCmoTS3SSVRUyQTw/OSb MeTwdp1xYP8dPumddS/LAv1BcvnxxoC52ervC04TAFxAEi4n1bNaNpDkd1e9aMluT+X4 zE/nu64ByPks/kbSx4Qc2jkKjlIbKd34qPQhT+y3lHQtZf9cyXCZkQ5zhL60xI03LeSD +5sw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=Jepvi8++4KHG9zardrX3M8QtVwArs/duyX7iXwqTssk=; b=gPtodQM7WtNKYE4B1MvpeY/JlcQNz1OCDiswC9n35nGjDz+sb20lzlBntYDkXShMEL t+wy4vyRPPiU+6/neSd16ESURYErmaewzyQ5MC+A2v0qhvTpm9Y4J1IdTNq2joUgY/t/ ZeFjxVYKwHpXLHm01lmGQPWp/HTnzNS7dbz7x0u7oXg4ZqaHvsafVWTE8bxORhkJWL/p WuPrtpBZb2sYfhDujW12fPML2UklRrg7V/be3x/TGUJyLqmUWK6Cl+K75HpZ7aR6dzSO ESrsgapi6Qw+vsG8fEkrQBialLNlyMREQjlQIwf612RvXm7wfY0OEUWw1y5h8FxpsL3t Q7kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=hTrtaAgE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gj9si205180ejb.215.2019.10.22.18.17.04; Tue, 22 Oct 2019 18:17:39 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=hTrtaAgE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388897AbfJVUIE (ORCPT + 99 others); Tue, 22 Oct 2019 16:08:04 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:32893 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387487AbfJVUIE (ORCPT ); Tue, 22 Oct 2019 16:08:04 -0400 Received: by mail-lj1-f196.google.com with SMTP id a22so18557918ljd.0 for ; Tue, 22 Oct 2019 13:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=Jepvi8++4KHG9zardrX3M8QtVwArs/duyX7iXwqTssk=; b=hTrtaAgEvhNL0YSN4U/x7Ca1+Q6F/DEsj55rl49kx51S9+p2NR+6PM81lRfoDLK9lf 837MSmEeURh7Y/sXwPp0y3bYNslB1HEp3ToeLTT/chG/obKoJSZ2HtUZ/95uMt8rfPlO g5nHV5XCj1IWeIaftr1vFN4QXb3uFltJs783fwOHs0A0QJVcWT41VJeZoThHcK7t2iJT f9dWzOIX6OwZbaeBacSubKeCVZyS7/HHK0k9xK87b027TFPMjLffxioec+lQTYQE/8PV qWcFyjAUZk4OiY1Dq2jGS60GfL0ll2hI/SOnQ+u9g7uJDfvuPFk7hvNwJDAWTBjFvi5/ XHCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=Jepvi8++4KHG9zardrX3M8QtVwArs/duyX7iXwqTssk=; b=dT3SjLSkPEEYX20mhd7PBRXPcyxCKlaGZQdLmTPAimmoMm32PRi5fav9OQCiUPGSQ+ Ns2Wd67MawxXUOQ81NULBqAzo5aqzucA/+FkO61Ro6NvDekBNu49PMzrMKQlh/JCoxpa ud0dIZPlVHD3tKQPnfwCh9Q7fCUExQKPGDZnvfS6rxawKuQeS+T3vHRXzzK8rB1iH3x1 TR0OYU1unQQ40Muln9SHu95k6PhyXO7cJ+iOf+t0iXWzUWCbxffuAvWXc5PpMhD3uREx ULn9+CMEJGJ70zHyUQ0A5PNlT5gN8NlS6l2KNT9f+yiGRN36hXbiHFe5nWQjaSPfOPhL J6rw== X-Gm-Message-State: APjAAAVT2FRT9BL6jfR3aoYHtNB6Lwu+h0+7LdgzdPL5DeWL76rYDQgm Y15QVnvXsByzq9Pjjj5KPyLIlQ== X-Received: by 2002:a2e:9a99:: with SMTP id p25mr19086167lji.171.1571774881729; Tue, 22 Oct 2019 13:08:01 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id q16sm7027794lfo.7.2019.10.22.13.07.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 13:08:01 -0700 (PDT) Date: Tue, 22 Oct 2019 13:07:53 -0700 From: Jakub Kicinski To: Shaokun Zhang Cc: , , , , yuqi jin , Eric Dumazet , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Maxime Coquelin Subject: Re: [PATCH v2] net: stmmac: Fix the problem of tso_xmit Message-ID: <20191022130753.70c12b55@cakuba.netronome.com> In-Reply-To: <1571628454-29550-1-git-send-email-zhangshaokun@hisilicon.com> References: <0b6b3394-f9f0-2804-0665-fe914ad2cdea@gmail.com> <1571628454-29550-1-git-send-email-zhangshaokun@hisilicon.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Oct 2019 11:27:34 +0800, 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. > > Fixes: a993db88d17d ("net: stmmac: Enable support for > 32 Bits addressing in XGMAC") > Cc: Eric Dumazet > 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 > --- > Changes in v2: > -- Address Eric's comment: add the Fixes tag Applied and queued for 5.3, thanks!