Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp337369pxb; Thu, 26 Aug 2021 04:29:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9yIYyU4vDYE40TiEm9MhiNvs/yFodaMHWqsRekxj1ywbteEotgUTd4PMik9qyQTWPSQw2 X-Received: by 2002:a02:1083:: with SMTP id 125mr3080945jay.34.1629977364900; Thu, 26 Aug 2021 04:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629977364; cv=none; d=google.com; s=arc-20160816; b=AKRKU+Y7a7U0/TyWodsC4njFg07hbISk4DUupCuYP8ChgxK1ONfKzO8YBZa+MLcdZx 8EXVnFI6a+8EftW8aqYLPY5+lwe/Au3f/2bwaXb1LdmwKEH1hbj5PEUNMefcRQ/gOe2Y bVoO1otXajtXfQj2LK97vZGlqR8m2DGmDDmfWM76htdkWo1dWsmupSo0Kqu3tOUlhGHe q52TJV7cYQhHa5NQDuoFfdrcPgBrGolLSaZ6ljFNSvYYuON0IXvAgHa8Ak+40/oEVA+o YEEMbHLIP3nrGOVNRCJvyBEnLydIvaA3pmnleflaK2bDqcm/STK09q/+FELu2N7eUueA rhgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=L5cag9XJVl6CGutNwpSZlwmS3o3RmhThsalx1g1IrhE=; b=H+5m8lYqZqwlmnGI6eABNKCnk++uYVSuKG2OeyDvFaMSZI4bi71vrw/wgYvtThUH+V WR2GKUyAmPua0ORD+Yq7H+paZ8lF2+1s8eLXnZyFGLN/oJUXI1VkIaOnX6evU86CYSxF ncy3mwnX6V/AHahcLrOvWHa089UDBimzu5UP3v2o8+/yBQupF7L+CJC/uWhIjWsGsW5R rpd9aGwE4LWnMFjx2+MRxQH+MgH4tW11vVX2xj8YUqbwaIupFIt2JX5auAO/bzF1Ie/D nGNXAggQ9o3knL10qh7y4SAjm4llkmXj+viUVdluIrPETP8O4HXSfmZI6XMJNjZlIMV0 znhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kATmy8zw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i13si2461912jaj.35.2021.08.26.04.29.13; Thu, 26 Aug 2021 04:29:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20161025 header.b=kATmy8zw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S242147AbhHZL3V (ORCPT + 99 others); Thu, 26 Aug 2021 07:29:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241879AbhHZL3T (ORCPT ); Thu, 26 Aug 2021 07:29:19 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9845C061757; Thu, 26 Aug 2021 04:28:31 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id x12so4450508wrr.11; Thu, 26 Aug 2021 04:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=L5cag9XJVl6CGutNwpSZlwmS3o3RmhThsalx1g1IrhE=; b=kATmy8zwa/wv9K4EFdVfOg6mUVsMmKNLSmp32Dly7sguCSunX2BgRQ+rlo5ngrzt7O R/APzCryqfQIwjrBS5jYZTlWpt4bGRcocN4kuk7XORZF/xTY525YHwntwzd7PsGeiZht 1DUOOpYUAOU1BlgbDhZ1SN43crhC5ZYn/WTgPbKkhCOKbLbl3jJon137cak0gh5WidFy SQpb4snHqz+RBX3fTDiLwRoyCNTXe9yeaUIn0QB0DQiufVqwn+co7UjKCoFeRnJUHRWe LUJqKze7Ev2VZ4KcNhJ7Z8Q8kViGin0080Zgc1ixx1ffH98PyFCppfJa43SZ6ocUrop0 dW+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=L5cag9XJVl6CGutNwpSZlwmS3o3RmhThsalx1g1IrhE=; b=bcF2kE8YYNPxYQ7S+DjoIXOCWB0km6yNvvqASuFTg8bO1v37pNvwo2tOtEnX+oFZzz Qpn9XHbRCOadZlzYs099gwAEZVDswminqk3WlXP5FSIvh/zasMxc4SMO3cuEBYIeAFZS 47AwT6LVLez7lb0rzF5hP240WpZ6iAYqD4yXg1i9XiZEfHHOypnHwYG5TJiGwSy3ntLQ sy+f6OmrWDAALcC2i3pVWbIHrC+1+qGyZDNKDWE/tPwOz/PLUJFanLV3/gX6qr9Z7Y5V O+FL9vismhMSiwrxMqNvT88gjNXAyFf5F3ieK5sHo26yY2XKweV9ncNFFbLembGMGrec mw1g== X-Gm-Message-State: AOAM531fTFpqFrSa5WaxgbgceXMNXOXOvb1WpSIJ/VROPlDsmuDnM6Gc u4f3m/HrggeNty+xBi/78ew= X-Received: by 2002:adf:c381:: with SMTP id p1mr3319892wrf.163.1629977310446; Thu, 26 Aug 2021 04:28:30 -0700 (PDT) Received: from ?IPV6:2a01:cb05:8192:e700:d55b:a197:684c:2cfe? (2a01cb058192e700d55ba197684c2cfe.ipv6.abo.wanadoo.fr. [2a01:cb05:8192:e700:d55b:a197:684c:2cfe]) by smtp.gmail.com with UTF8SMTPSA id 17sm2352534wmj.20.2021.08.26.04.28.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Aug 2021 04:28:30 -0700 (PDT) Message-ID: <4b61ce72-87ec-cf8b-9f71-67eb329a9ce6@gmail.com> Date: Thu, 26 Aug 2021 13:28:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.0.2 Subject: Re: [RFC net-next 1/2] net: dsa: allow taggers to customise netdev features Content-Language: en-US To: DENG Qingfang , Andrew Lunn , Vivien Didelot , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Sean Wang , Landen Chao , Matthias Brugger , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20210825083832.2425886-1-dqfext@gmail.com> <20210825083832.2425886-2-dqfext@gmail.com> From: Florian Fainelli In-Reply-To: <20210825083832.2425886-2-dqfext@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/25/2021 10:38 AM, DENG Qingfang wrote: > Allow taggers to add netdev features, such as VLAN offload, to slave > devices, which will make it possible for taggers to handle VLAN tags > themselves. > > Signed-off-by: DENG Qingfang Besides transmit VLAN tag offload, do you think there are other netdev feature bits that would warrant something like this as opposed to a more structured approach with adding a specific boolean/flag that is specific to the netdev feature you want to propagate towards the DSA slave_dev? Still: Reviewed-by: Florian Fainelli -- Florian