From patchwork Wed Jul 8 12:25:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 235102 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp392383ilg; Wed, 8 Jul 2020 05:26:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx91LO3Jxnz2YKSKBDj396PkfJ/AskHe9UMqsm0QYdvngwph6WHwnBRGcgYWGb0hTsQRL2O X-Received: by 2002:a17:906:5006:: with SMTP id s6mr50168010ejj.294.1594211167116; Wed, 08 Jul 2020 05:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594211167; cv=none; d=google.com; s=arc-20160816; b=KlnlvkWEsKyl5jb4EfoTiR6wfxyLLJaUSIo7HYqZQPQU+xMIx2Rq7XW2q2sUiZTqqx H0A0i34C6CMdkR+BBu4hMmYhdIcKg8VOfdZ0G7r/6/C657cWMW9sn+UbdSK+TLYEbS9A /1nWpA9GdCggOQ8C9SxptrJZGwaS6wyPTwbaUfgOcIffuiugR7eviFvRFo7EM5OJ+oUv N83NhCp4xY6Gl+3LXboHdKF9mB/8a+SJNEMsYN8HH1d7wJxYl18S0nCzSxpBuVWes/1W 6TjR4VYNKVS3lM9niRQHiR0fTsVzwIpMPlJJv8MMzbnmP032apDh8BVXJEtDB4WKS3E/ ByGw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=2R+KQCTyrveBpGh4ucun2aE369nQ+wm18EnYKfQqTko=; b=N1dLdm9VkX651lvrxmoBH73GJR322cPJ3Ne034FeTjJMitwKL0MOGrXJcKpvgsLeS5 yKrmdxcGnvBUdrFj+boaoICdEDMcR9zFjiHDdZpw9rtzzQKq2o0KKFQkhoEhOvX6m2oJ S82RmNTLuvm4tQxrpftKFCryIWxqY/5M0rOP1kVR+hBeleMZYE1Byvz1qIuIlrRlMmcN fmssL5FRMIU7jf53rry1JIhHDcRwbiYTyrhtciO/Drr8rxTxeo+Uo5+AalOAwy7Bav5Q 31mtI/l9nwfdl9ew2Un72usepnIT0oL0/IO5qa4hj+wPz+dGEDzqOpfyuD5jfcXNJfYp 0OGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wiLZjnFN; 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 b25si16630252ejg.500.2020.07.08.05.26.06; Wed, 08 Jul 2020 05:26:07 -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=wiLZjnFN; 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 S1729162AbgGHM0G (ORCPT + 9 others); Wed, 8 Jul 2020 08:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729147AbgGHM0E (ORCPT ); Wed, 8 Jul 2020 08:26:04 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 921B9C08C5DC for ; Wed, 8 Jul 2020 05:26:04 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id f5so38151715ljj.10 for ; Wed, 08 Jul 2020 05:26:04 -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:mime-version :content-transfer-encoding; bh=2R+KQCTyrveBpGh4ucun2aE369nQ+wm18EnYKfQqTko=; b=wiLZjnFNLUNPgEMHDdan+Acv/mPyBZOXelUk1IizzMmO00OgiYC7LIZxUihJx/ogjU 5dPGUqdTczWKyrgAvd7ubZEtm6Q+b1QUUvdPx9nafx00xyVOXqsYrmcDgZKrKZt8LQS2 /DNty599kvG7LoH5r+NG6ff3paV3FkDEthoDU5oR5G5eGRgYYm77ccHSDsJdd+Fvonfe G0fbxJD52ydjMOGj8EFJguvTxlIV4lPfOfpnbkojd6j1ZfH3VDWLYexbWhN+CaeC2fCu e5W4BZ4u5NF04G8cbK23TfImdFGV1SH4qGPNXwIlvEgHN5hildQxyjCIw5c4Jd7Dh5a9 /khg== 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:mime-version :content-transfer-encoding; bh=2R+KQCTyrveBpGh4ucun2aE369nQ+wm18EnYKfQqTko=; b=JoBduuDm/I4LqvW2ttRgBEnERb6lmDX/2XFXtcpEi+tZuog3fLs/IUcXVwKXIoDVVm gMkFpuFBk8DhJwTVTnv6IJX/L2zfcfNw/RdnjOhx0W7zvp1Xk+jm/19k+kcAIBAk6LmA NgP8LmObjQev2cnXV9h0qbGgTcGTm2XMFodF27lUoxXkJfDlv3BkUv3N/r/gBjrc1SRP vDBltsEquCGzEmtoTNrb63N5jcIK/YvUUPCwsy6ykc84KJI6tpCwdn0fKcW84fKpvpdY ICD0obqE5dBg/UrifvcWN0nxNLkNR8U6cumaiQei0dV2U6V/AomBvOat7DutvKKDW+7j pXmg== X-Gm-Message-State: AOAM53118ql8ZXPTEHij7LErdJp2dJoMyo1ZxtGcgm58UXl4pli7La2y TDVvif4A5iC7Y5Ckb3YzfVkzSg== X-Received: by 2002:a2e:b8d5:: with SMTP id s21mr31941266ljp.34.1594211163092; Wed, 08 Jul 2020 05:26:03 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-92d7225c.014-348-6c756e10.bbcust.telenor.se. [92.34.215.146]) by smtp.gmail.com with ESMTPSA id q128sm874934ljb.140.2020.07.08.05.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 05:26:02 -0700 (PDT) From: Linus Walleij To: Andrew Lunn , Vivien Didelot , Florian Fainelli , netdev@vger.kernel.org, "David S . Miller" Cc: Linus Walleij Subject: [net-next PATCH 0/2 v6] RTL8366RB tagging support Date: Wed, 8 Jul 2020 14:25:35 +0200 Message-Id: <20200708122537.1341307-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch set adds DSA tagging support to the RTL8366RB DSA driver. There is a minor performance improvement in the tag parser compared to the previous patch set and the review tags have been collected. Linus Walleij (2): net: dsa: tag_rtl4_a: Implement Realtek 4 byte A tag net: dsa: rtl8366rb: Support the CPU DSA tag drivers/net/dsa/Kconfig | 1 + drivers/net/dsa/rtl8366rb.c | 31 +++------ include/net/dsa.h | 2 + net/dsa/Kconfig | 7 ++ net/dsa/Makefile | 1 + net/dsa/tag_rtl4_a.c | 130 ++++++++++++++++++++++++++++++++++++ 6 files changed, 149 insertions(+), 23 deletions(-) create mode 100644 net/dsa/tag_rtl4_a.c -- 2.26.2