Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1048921ybm; Wed, 27 May 2020 14:54:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5saeVJ5undDH/VeHYLdJ7Ra7x/UeZG3M7HF2uadRtWb587e2CcUk6CJfIgxVlZJmH4SKx X-Received: by 2002:a50:9b0f:: with SMTP id o15mr164549edi.325.1590616443120; Wed, 27 May 2020 14:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590616443; cv=none; d=google.com; s=arc-20160816; b=LYThrLLRpfw/FkBqtbhJZijZvnjFMHqCxPMtEXy9A28DZ8QN97Gk8NGwNhOTDarGBp raI13t9q91pAfIOB25UqP0/WoRvUxvvErlfFxnz9hXnTCq1RXfAutMS0LRZLj35+3iEq W7L299QD1UISCFZOI5q8ntqw+gRXCDJlInhg5mUn8GHE4ZnB608BXrdl/MYNI3GgqgTa DvHkafjGSGfy+7W2RtJAXnSiLjuA1WlQseRPjrzW6+JxNV1MSJ0grVOAPcGYWbcfRUtj xP/CeR3xGJbwDGwjvX36KCwgsZbLFr1kQt76KNM3bTk7fIzLr8UFHoPN8GbjeA7Qcuy0 0YIQ== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=FTdYnWuUIVSW4RwlIuPxYQZaaY0eaCruDTANS5KBF9E=; b=BVk9YeCCQly3F+rwb3cI/QHY0+Jnr9LQqQhp6QdAtEfI9ch8P4CMY6JgumgVJUR5Pm zrtXws0QUN8YCHGABHrzFjf3w2ZXZGGcnbdkx4V4onLrcmSs1kGdBXibwZ6OvJqtuztt 5ZwUMP5WrxvnWSJJzHmOiuH1XvopzLEBUcnhC7ihGhX/nFqtx6RY2HJpXu4OeiMdJ2v2 0bmjOwj7OXlFG24BwTsIY5e0Gp3iHaMD9BFdElN9Mxxh/UYqlTSdgyKqSJbKItxODCzS djqDFxuu+ir41E+K2pwF+pXqJcJ64MT8nUuYDAsC9fiU4Nx8ZF18hHYibOLAJGZ7NC80 8Mxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RPokBkyI; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j27si2611408eja.471.2020.05.27.14.53.40; Wed, 27 May 2020 14:54:03 -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=@kernel.org header.s=default header.b=RPokBkyI; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726487AbgE0Tae (ORCPT + 99 others); Wed, 27 May 2020 15:30:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:53652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725320AbgE0Tad (ORCPT ); Wed, 27 May 2020 15:30:33 -0400 Received: from kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4CAE320723; Wed, 27 May 2020 19:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590607833; bh=yB3E8aqzW3OvKuaG42APyedRVwI1AwVLwI54ZqxWZvw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RPokBkyI2Dkc0L+na1ltgQA27uvepDoIrOcyYJirgyJJRP8hwlu+ZG7XPrD9/LoK8 /wzB75ReeiPnHEXoLy8hiQu+DtlGR5U+HR4858RwVEBfHHmlv/gwjYhyI/vCoa1kjz 1FDnFPXbCtvjHZ8CvcCfVyqJT3TNUTYnsyEI6yQI= Date: Wed, 27 May 2020 12:30:31 -0700 From: Jakub Kicinski To: tanhuazhong Cc: David Miller , , , , , Subject: Re: [PATCH V2 net-next 0/2] net: hns3: adds two VLAN feature Message-ID: <20200527123031.7fd4834d@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <356be994-7cf9-e7b2-8992-46a70bc6a54b@huawei.com> References: <1590061105-36478-1-git-send-email-tanhuazhong@huawei.com> <20200521121707.6499ca6b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20200521.143726.481524442371246082.davem@davemloft.net> <356be994-7cf9-e7b2-8992-46a70bc6a54b@huawei.com> 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 Wed, 27 May 2020 10:31:59 +0800 tanhuazhong wrote: > Hi, Jakub & David. > > For patch#1, is it acceptable adding "ethtool --get-priv-flags" > to query the VLAN. If yes, I will send a RFC for it. The recommended way of implementing vfs with advanced vlan configurations is via "switchdev mode" & representors.