From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7E53C433E1 for ; Tue, 4 Aug 2020 09:41:32 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 622F32086A for ; Tue, 4 Aug 2020 09:41:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="T4Lfr0Re"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ol9MHiTD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 622F32086A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 579691C020; Tue, 4 Aug 2020 11:41:31 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by dpdk.org (Postfix) with ESMTP id 04E3A2BE2 for ; Tue, 4 Aug 2020 11:41:29 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 899D216E0; Tue, 4 Aug 2020 05:41:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 04 Aug 2020 05:41:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=lwjaaF0kuLtKhci/KWeg2g3xaw JY6LuF0eIYsgluyc4=; b=T4Lfr0RebgGeoCf1HXjl+lCRZbfxFsVUpTyaOh+Mqx 7+s6FBNaspFciH7WNJWRf2MqV2l48VkoEMLYE7b6kHEK/+LMaKeQp7J1S+HSZyVw lSEm+1lBexzwuwc3JPvW7O9fYCUXeGw0zWnASevcNqd4ugJT8YggrK0efLPOhZ30 1AexhdJk/FsipAnUJj4hfUEcHcqex/tOpB3vaLTwSsAG/GVwrSJ89Gp5HRxX3oW1 7PrdwLToQcFaU2vcYgj9sKPbAdAKSD3cB+73+UsNy7Lz2VjR8UZosgy6g5Dvqpld 58oPKoz34xiLCn6txjoCA37XPZ1oJ//ks5yL91SmINsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=lwjaaF0kuLtKhci/K Weg2g3xawJY6LuF0eIYsgluyc4=; b=ol9MHiTDpPMD/Hg4wuwV4jRqY6vnxLSkA 1FaCOiBFzNZw6apgcdtSIKPfysD+aKunm9iA6wWZftD8m/ZdK96P6Gv68AdRLvLH 8Hw0gfBR/BNdm8IP5kt4GfrC8QnIwjx6MggnrJ4oLnrYoyqNDRluNXDh1zNnu5qe mu7hvwDWlmLN0kPnpNRPkg+hPcEs6aApiXTtfenqgQtJudp1wBWMopeFn5wABuMY 035dErV6vmYpajfFJ+3H2/zYPTEhZrlXkFuqeypwdFatLggicVJL2b0pp4sstEUJ gGg6cLHBsJta9iBg08AflMoHTgC3IqcnbGOoNfHnQ6T96dJwLe9Yg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrjeeigddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghsucfo ohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrg htthgvrhhnpedvledvudehvdduudevuedvveehgeduleegiefgjeehudehtddtgeduffej iefhgfenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdr nhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3FF4630600B1; Tue, 4 Aug 2020 05:41:27 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Ferruh Yigit , Andrew Rybchenko Date: Tue, 4 Aug 2020 11:41:19 +0200 Message-Id: <20200804094120.3338635-1-thomas@monjalon.net> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] ethdev: remove device-specific comments from VLAN API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some confusing comments were still present from old days, when most drivers were from Intel. Signed-off-by: Thomas Monjalon --- lib/librte_ethdev/rte_ethdev.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 57e4a6ca58..2df4d34d0d 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -2846,7 +2846,6 @@ int rte_eth_dev_vlan_filter(uint16_t port_id, uint16_t vlan_id, int on); /** * Enable/Disable hardware VLAN Strip by a rx queue of an Ethernet device. - * 82599/X540/X550 can support VLAN stripping at the rx queue level * * @param port_id * The port identifier of the Ethernet device. @@ -2868,8 +2867,7 @@ int rte_eth_dev_set_vlan_strip_on_queue(uint16_t port_id, uint16_t rx_queue_id, /** * Set the Outer VLAN Ether Type by an Ethernet device, it can be inserted to - * the VLAN Header. This is a register setup available on some Intel NIC, not - * but all, please check the data sheet for availability. + * the VLAN header. * * @param port_id * The port identifier of the Ethernet device. @@ -2888,12 +2886,7 @@ int rte_eth_dev_set_vlan_ether_type(uint16_t port_id, uint16_t tag_type); /** - * Set VLAN offload configuration on an Ethernet device - * Enable/Disable Extended VLAN by an Ethernet device, This is a register setup - * available on some Intel NIC, not but all, please check the data sheet for - * availability. - * Enable/Disable VLAN Strip can be done on rx queue for certain NIC, but here - * the configuration is applied on the port level. + * Set VLAN offload configuration on an Ethernet device. * * @param port_id * The port identifier of the Ethernet device. -- 2.27.0