summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaolong Ye <xiaolong.ye@intel.com>2019-09-04 22:05:31 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2019-09-05 18:34:45 +0200
commite8c7df5d7d3a47446aa3f90d5ee1ca2662fd0531 (patch)
tree53be9384e7d8b632389b202210a2ddc869daf2d5
parent86536da001c03d2bcbdb38ccdcd023e6d744f5b8 (diff)
downloaddpdk-next-eventdev-e8c7df5d7d3a47446aa3f90d5ee1ca2662fd0531.zip
dpdk-next-eventdev-e8c7df5d7d3a47446aa3f90d5ee1ca2662fd0531.tar.gz
dpdk-next-eventdev-e8c7df5d7d3a47446aa3f90d5ee1ca2662fd0531.tar.xz
ethdev: fix typos for ENOTSUP
Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
-rw-r--r--lib/librte_ethdev/rte_ethdev.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index 8fa89bf..d987178 100644
--- a/lib/librte_ethdev/rte_ethdev.h
+++ b/lib/librte_ethdev/rte_ethdev.h
@@ -2477,7 +2477,7 @@ int rte_eth_dev_set_mtu(uint16_t port_id, uint16_t mtu);
* Otherwise, disable VLAN filtering of VLAN packets tagged with *vlan_id*.
* @return
* - (0) if successful.
- * - (-ENOSUP) if hardware-assisted VLAN filtering not configured.
+ * - (-ENOTSUP) if hardware-assisted VLAN filtering not configured.
* - (-ENODEV) if *port_id* invalid.
* - (-EIO) if device is removed.
* - (-ENOSYS) if VLAN filtering on *port_id* disabled.
@@ -2500,7 +2500,7 @@ int rte_eth_dev_vlan_filter(uint16_t port_id, uint16_t vlan_id, int on);
* If 0, Disable VLAN Stripping of the receive queue of the Ethernet port.
* @return
* - (0) if successful.
- * - (-ENOSUP) if hardware-assisted VLAN stripping not configured.
+ * - (-ENOTSUP) if hardware-assisted VLAN stripping not configured.
* - (-ENODEV) if *port_id* invalid.
* - (-EINVAL) if *rx_queue_id* invalid.
*/
@@ -2520,7 +2520,7 @@ int rte_eth_dev_set_vlan_strip_on_queue(uint16_t port_id, uint16_t rx_queue_id,
* The Tag Protocol ID
* @return
* - (0) if successful.
- * - (-ENOSUP) if hardware-assisted VLAN TPID setup is not supported.
+ * - (-ENOTSUP) if hardware-assisted VLAN TPID setup is not supported.
* - (-ENODEV) if *port_id* invalid.
* - (-EIO) if device is removed.
*/
@@ -2546,7 +2546,7 @@ int rte_eth_dev_set_vlan_ether_type(uint16_t port_id,
* ETH_QINQ_STRIP_OFFLOAD
* @return
* - (0) if successful.
- * - (-ENOSUP) if hardware-assisted VLAN filtering not configured.
+ * - (-ENOTSUP) if hardware-assisted VLAN filtering not configured.
* - (-ENODEV) if *port_id* invalid.
* - (-EIO) if device is removed.
*/