patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] ethdev: fix typos for ENOTSUP
@ 2019-09-04 14:05 Xiaolong Ye
  2019-09-04 14:59 ` [dpdk-stable] [dpdk-dev] " Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaolong Ye @ 2019-09-04 14:05 UTC (permalink / raw)
  To: Thomas Monjalon, Ferruh Yigit, Andrew Rybchenko; +Cc: dev, Xiaolong Ye, stable

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
---
 lib/librte_ethdev/rte_ethdev.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index dc6596bc9..51e2caf79 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.
  */
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [dpdk-dev] [PATCH] ethdev: fix typos for ENOTSUP
  2019-09-04 14:05 [dpdk-stable] [PATCH] ethdev: fix typos for ENOTSUP Xiaolong Ye
@ 2019-09-04 14:59 ` Stephen Hemminger
  2019-09-05 17:11   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2019-09-04 14:59 UTC (permalink / raw)
  To: Xiaolong Ye; +Cc: Thomas Monjalon, Ferruh Yigit, Andrew Rybchenko, dev, stable

On Wed,  4 Sep 2019 22:05:31 +0800
Xiaolong Ye <xiaolong.ye@intel.com> wrote:

> Fixes: af75078fece3 ("first public release")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
> ---
>  lib/librte_ethdev/rte_ethdev.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
> index dc6596bc9..51e2caf79 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.
>   */

Acked-by: Stephen Hemminger <stephen@networkplumber.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [dpdk-dev] [PATCH] ethdev: fix typos for ENOTSUP
  2019-09-04 14:59 ` [dpdk-stable] [dpdk-dev] " Stephen Hemminger
@ 2019-09-05 17:11   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2019-09-05 17:11 UTC (permalink / raw)
  To: Stephen Hemminger, Xiaolong Ye
  Cc: Thomas Monjalon, Andrew Rybchenko, dev, stable

On 9/4/2019 3:59 PM, Stephen Hemminger wrote:
> On Wed,  4 Sep 2019 22:05:31 +0800
> Xiaolong Ye <xiaolong.ye@intel.com> wrote:
> 
>> Fixes: af75078fece3 ("first public release")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
>> ---
>>  lib/librte_ethdev/rte_ethdev.h | 8 ++++----
>>  1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
>> index dc6596bc9..51e2caf79 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.
>>   */
> 
> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
> 


Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-05 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 14:05 [dpdk-stable] [PATCH] ethdev: fix typos for ENOTSUP Xiaolong Ye
2019-09-04 14:59 ` [dpdk-stable] [dpdk-dev] " Stephen Hemminger
2019-09-05 17:11   ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).