Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4664456ybi; Mon, 3 Jun 2019 15:06:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/U1xH7oxzV3tKX8NfnMHx0Nnzs1h6B1YHZJHKmUOaTUGcuuu78Kcb+oXDhWJR21ymC01m X-Received: by 2002:a63:1a5e:: with SMTP id a30mr28136829pgm.433.1559599566922; Mon, 03 Jun 2019 15:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559599566; cv=none; d=google.com; s=arc-20160816; b=dEgDbs0mEjYVflf+Yl5g5OfiVaBky0HMVyCVXSLbO+C+J6LfegghumNyneIcPyqEaS lK2ezHJ4+Gv52Y0eoiiHdJs1ZbY0/WKQwtx2i3DkNd2a327DeE/xjSJtLbHau/HENd7X AC4sEmiNB16kFOSEPsE66xL8bKK2hZ39A3R5ssUhF0NqprEbjzClYafpNnfaaCX//yxI dltEA5DQkoX3xXemcHYL+Wmpgrc1kCHmF22ZlvNaJ9WkR4s+rZq/Fsct3QMRUgFEQ60c 1ztxod6q81mCnMPhdTgKN4Hk3Lca15cQ4y/ul36V8tz6P2j/d74RSWd+SVo0TkTQmN1a sp2Q== 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:from:subject:cc:to:message-id:date; bh=aYmiFBqbX4ZJtgWbgtdaVBinwDp55RacyyA+flnILn4=; b=b0NZWobl5oVVWVQUIH+AjG/IzDkHPAHfWF0nU6HxHKHpj6nDy9gRlVRJDq/o5O/caK TyDGacc5lVQnVXNuLtG8m6PLaHrJb9GEQFSlPBIiFQBK8hY6ImLcpVr1geXb7hOgVCZn F+GOhPbQghOy7bldPtGznqGg6USenTU5Qw4SlCgAOlExTo7fVJfvErQtLaqyn5Z6sqya gOEoicH1gYUiiDHGzzyQ/aGE34Y9b6+Jiee4Rku3B88sW+z/fOHbTfSFkpKvdXKeb8dW V4b5E98+xVa7LszYsFXz9eZPSWT0SsmJ3/dM9WPKNIOVxArEphWglp4tyQ8MgOEEkJpZ CNaQ== ARC-Authentication-Results: i=1; mx.google.com; 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 l6si18037873pgp.382.2019.06.03.15.05.51; Mon, 03 Jun 2019 15:06:06 -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; 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 S1726851AbfFCWEi (ORCPT + 99 others); Mon, 3 Jun 2019 18:04:38 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:36052 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726216AbfFCWEg (ORCPT ); Mon, 3 Jun 2019 18:04:36 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 43CE3136E16AB; Mon, 3 Jun 2019 15:04:36 -0700 (PDT) Date: Mon, 03 Jun 2019 15:04:35 -0700 (PDT) Message-Id: <20190603.150435.519222045740513627.davem@davemloft.net> To: sean.wang@mediatek.com Cc: john@phrozen.org, nbd@openwrt.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, mark-mc.lee@mediatek.com Subject: Re: [PATCH net v1 2/2] net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled From: David Miller In-Reply-To: <1559348187-14941-2-git-send-email-sean.wang@mediatek.com> References: <1559348187-14941-1-git-send-email-sean.wang@mediatek.com> <1559348187-14941-2-git-send-email-sean.wang@mediatek.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 03 Jun 2019 15:04:36 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Date: Sat, 1 Jun 2019 08:16:27 +0800 > From: Sean Wang > > Should only enable HW RX_2BYTE_OFFSET function in the case NET_IP_ALIGN > equals to 2. > > Signed-off-by: Mark Lee > Signed-off-by: Sean Wang Applied.