From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1FEA2A053A; Tue, 4 Aug 2020 11:41:32 +0200 (CEST) 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