DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API
@ 2018-09-05 12:21 Nikhil Rao
  2018-09-05 12:21 ` [dpdk-dev] [PATCH 2/2] test/event: change ethernet port ids to be 16 bit Nikhil Rao
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Nikhil Rao @ 2018-09-05 12:21 UTC (permalink / raw)
  To: jerin.jacob; +Cc: dev, Nikhil Rao, stable

Make the ethernet port id passed into
rte_event_eth_rx_adapter_caps_get() 16 bit.

Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
Cc: stable@dpdk.org
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
 lib/librte_eventdev/Makefile       | 2 +-
 lib/librte_eventdev/rte_eventdev.c | 2 +-
 lib/librte_eventdev/rte_eventdev.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile
index 47f599a..ce800ea 100644
--- a/lib/librte_eventdev/Makefile
+++ b/lib/librte_eventdev/Makefile
@@ -8,7 +8,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
 LIB = librte_eventdev.a
 
 # library version
-LIBABIVER := 5
+LIBABIVER := 6
 
 # build flags
 CFLAGS += -DALLOW_EXPERIMENTAL_API
diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c
index 801810e..9040b11 100644
--- a/lib/librte_eventdev/rte_eventdev.c
+++ b/lib/librte_eventdev/rte_eventdev.c
@@ -109,7 +109,7 @@
 }
 
 int
-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,
+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
 				uint32_t *caps)
 {
 	struct rte_eventdev *dev;
diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h
index b6fd6ee..2966928 100644
--- a/lib/librte_eventdev/rte_eventdev.h
+++ b/lib/librte_eventdev/rte_eventdev.h
@@ -1112,7 +1112,7 @@ struct rte_event {
  *
  */
 int
-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,
+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
 				uint32_t *caps);
 
 #define RTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT (1ULL << 0)
-- 
1.8.3.1

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

* [dpdk-dev] [PATCH 2/2] test/event: change ethernet port ids to be 16 bit
  2018-09-05 12:21 [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Nikhil Rao
@ 2018-09-05 12:21 ` Nikhil Rao
  2018-09-17 14:14 ` [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Jerin Jacob
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Nikhil Rao @ 2018-09-05 12:21 UTC (permalink / raw)
  To: jerin.jacob; +Cc: dev, Nikhil Rao, stable

Update the event rx adapter test to use 16 bit ethernet port ids.

Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
Cc: stable@dpdk.org
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
 test/test/test_event_eth_rx_adapter.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c
index 2337e54..1ce3e6f 100644
--- a/test/test/test_event_eth_rx_adapter.c
+++ b/test/test/test_event_eth_rx_adapter.c
@@ -32,7 +32,7 @@ struct event_eth_rx_adapter_test_params {
 static struct event_eth_rx_adapter_test_params default_params;
 
 static inline int
-port_init_common(uint8_t port, const struct rte_eth_conf *port_conf,
+port_init_common(uint16_t port, const struct rte_eth_conf *port_conf,
 		struct rte_mempool *mp)
 {
 	const uint16_t rx_ring_size = 512, tx_ring_size = 512;
@@ -94,7 +94,7 @@ struct event_eth_rx_adapter_test_params {
 }
 
 static inline int
-port_init_rx_intr(uint8_t port, struct rte_mempool *mp)
+port_init_rx_intr(uint16_t port, struct rte_mempool *mp)
 {
 	static const struct rte_eth_conf port_conf_default = {
 		.rxmode = {
@@ -110,7 +110,7 @@ struct event_eth_rx_adapter_test_params {
 }
 
 static inline int
-port_init(uint8_t port, struct rte_mempool *mp)
+port_init(uint16_t port, struct rte_mempool *mp)
 {
 	static const struct rte_eth_conf port_conf_default = {
 		.rxmode = {
-- 
1.8.3.1

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

* Re: [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API
  2018-09-05 12:21 [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Nikhil Rao
  2018-09-05 12:21 ` [dpdk-dev] [PATCH 2/2] test/event: change ethernet port ids to be 16 bit Nikhil Rao
@ 2018-09-17 14:14 ` Jerin Jacob
  2018-09-25  8:49 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
  2018-09-25  9:49 ` [dpdk-dev] [PATCH v3] " Nikhil Rao
  3 siblings, 0 replies; 10+ messages in thread
From: Jerin Jacob @ 2018-09-17 14:14 UTC (permalink / raw)
  To: Nikhil Rao; +Cc: dev, stable

-----Original Message-----
> Date: Wed, 5 Sep 2018 17:51:17 +0530
> From: Nikhil Rao <nikhil.rao@intel.com>
> To: jerin.jacob@caviumnetworks.com
> CC: dev@dpdk.org, Nikhil Rao <nikhil.rao@intel.com>, stable@dpdk.org
> Subject: [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API
> X-Mailer: git-send-email 1.8.3.1
> 
> 
> Make the ethernet port id passed into
> rte_event_eth_rx_adapter_caps_get() 16 bit.
> 
> Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
> Cc: stable@dpdk.org
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> ---
>  lib/librte_eventdev/Makefile       | 2 +-
>  lib/librte_eventdev/rte_eventdev.c | 2 +-
>  lib/librte_eventdev/rte_eventdev.h | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile
> index 47f599a..ce800ea 100644
> --- a/lib/librte_eventdev/Makefile
> +++ b/lib/librte_eventdev/Makefile
> @@ -8,7 +8,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
>  LIB = librte_eventdev.a
> 
>  # library version
> -LIBABIVER := 5
> +LIBABIVER := 6

Please update the 

# API Changes
# Shared Library Versions

in the doc/guides/rel_notes/release_18_11.rst file.

Since Rx adapter is still experimental, IMO, We don't need deprecation
notice.

Please squash 2/2 changes in this patch as it can create warning on type
mismatch.

With above change:
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

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

* [dpdk-dev] [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
  2018-09-05 12:21 [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Nikhil Rao
  2018-09-05 12:21 ` [dpdk-dev] [PATCH 2/2] test/event: change ethernet port ids to be 16 bit Nikhil Rao
  2018-09-17 14:14 ` [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Jerin Jacob
@ 2018-09-25  8:49 ` Nikhil Rao
  2018-09-25  9:15   ` Jerin Jacob
  2018-09-25  9:49 ` [dpdk-dev] [PATCH v3] " Nikhil Rao
  3 siblings, 1 reply; 10+ messages in thread
From: Nikhil Rao @ 2018-09-25  8:49 UTC (permalink / raw)
  To: jerin.jacob; +Cc: dev, Nikhil Rao, stable

Make the ethernet port id passed into
rte_event_eth_rx_adapter_caps_get() 16 bit.

Also, update the event rx adapter test to use 16 bit
ethernet port ids.

Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
Cc: stable@dpdk.org

Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---

v2:
* squash changes to autotest and library into a single patch (Jerin Jacob)
* add update to release notes (Jerin Jacob)

 lib/librte_eventdev/rte_eventdev.h     | 2 +-
 lib/librte_eventdev/rte_eventdev.c     | 2 +-
 test/test/test_event_eth_rx_adapter.c  | 6 +++---
 doc/guides/rel_notes/release_18_11.rst | 4 +++-
 lib/librte_eventdev/Makefile           | 2 +-
 5 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h
index a24213e..8541109 100644
--- a/lib/librte_eventdev/rte_eventdev.h
+++ b/lib/librte_eventdev/rte_eventdev.h
@@ -1112,7 +1112,7 @@ struct rte_event {
  *
  */
 int
-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,
+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
 				uint32_t *caps);
 
 #define RTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT (1ULL << 0)
diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c
index 0a8572b..b1914dc 100644
--- a/lib/librte_eventdev/rte_eventdev.c
+++ b/lib/librte_eventdev/rte_eventdev.c
@@ -109,7 +109,7 @@
 }
 
 int
-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,
+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
 				uint32_t *caps)
 {
 	struct rte_eventdev *dev;
diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c
index 4641640..592bcaa 100644
--- a/test/test/test_event_eth_rx_adapter.c
+++ b/test/test/test_event_eth_rx_adapter.c
@@ -32,7 +32,7 @@ struct event_eth_rx_adapter_test_params {
 static struct event_eth_rx_adapter_test_params default_params;
 
 static inline int
-port_init_common(uint8_t port, const struct rte_eth_conf *port_conf,
+port_init_common(uint16_t port, const struct rte_eth_conf *port_conf,
 		struct rte_mempool *mp)
 {
 	const uint16_t rx_ring_size = 512, tx_ring_size = 512;
@@ -94,7 +94,7 @@ struct event_eth_rx_adapter_test_params {
 }
 
 static inline int
-port_init_rx_intr(uint8_t port, struct rte_mempool *mp)
+port_init_rx_intr(uint16_t port, struct rte_mempool *mp)
 {
 	static const struct rte_eth_conf port_conf_default = {
 		.rxmode = {
@@ -110,7 +110,7 @@ struct event_eth_rx_adapter_test_params {
 }
 
 static inline int
-port_init(uint8_t port, struct rte_mempool *mp)
+port_init(uint16_t port, struct rte_mempool *mp)
 {
 	static const struct rte_eth_conf port_conf_default = {
 		.rxmode = {
diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst
index 97daad1..842b46b 100644
--- a/doc/guides/rel_notes/release_18_11.rst
+++ b/doc/guides/rel_notes/release_18_11.rst
@@ -99,6 +99,8 @@ API Changes
   flag the MAC can be properly configured in any case. This is particularly
   important for bonding.
 
+* eventdev: Type of 2nd parameter to ``rte_event_eth_rx_adapter_caps_get()``
+  has been changed from uint8_t to uint16_t.
 
 ABI Changes
 -----------
@@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.
      librte_distributor.so.1
      librte_eal.so.8
      librte_ethdev.so.10
-     librte_eventdev.so.4
+   + librte_eventdev.so.6
      librte_flow_classify.so.1
      librte_gro.so.1
      librte_gso.so.1
diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile
index 47f599a..ce800ea 100644
--- a/lib/librte_eventdev/Makefile
+++ b/lib/librte_eventdev/Makefile
@@ -8,7 +8,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
 LIB = librte_eventdev.a
 
 # library version
-LIBABIVER := 5
+LIBABIVER := 6
 
 # build flags
 CFLAGS += -DALLOW_EXPERIMENTAL_API
-- 
1.8.3.1

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

* Re: [dpdk-dev] [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
  2018-09-25  8:49 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
@ 2018-09-25  9:15   ` Jerin Jacob
  2018-09-25  9:50     ` Thomas Monjalon
  0 siblings, 1 reply; 10+ messages in thread
From: Jerin Jacob @ 2018-09-25  9:15 UTC (permalink / raw)
  To: Nikhil Rao; +Cc: dev, stable, thomas

-----Original Message-----
> Date: Tue, 25 Sep 2018 14:19:12 +0530
> From: Nikhil Rao <nikhil.rao@intel.com>
> To: jerin.jacob@caviumnetworks.com
> CC: dev@dpdk.org, Nikhil Rao <nikhil.rao@intel.com>, stable@dpdk.org
> Subject: [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
> X-Mailer: git-send-email 1.8.3.1
> 
> 
> Make the ethernet port id passed into
> rte_event_eth_rx_adapter_caps_get() 16 bit.
> 
> Also, update the event rx adapter test to use 16 bit
> ethernet port ids.
> 
> Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> ---
> 
> v2:
> * squash changes to autotest and library into a single patch (Jerin Jacob)
> * add update to release notes (Jerin Jacob)
> 
>  lib/librte_eventdev/rte_eventdev.h     | 2 +-
>  lib/librte_eventdev/rte_eventdev.c     | 2 +-
>  test/test/test_event_eth_rx_adapter.c  | 6 +++---
>  doc/guides/rel_notes/release_18_11.rst | 4 +++-
>  lib/librte_eventdev/Makefile           | 2 +-

Missing version update in lib/librte_eventdev/meson.build. See version=

>  5 files changed, 9 insertions(+), 7 deletions(-)
> 
>  ABI Changes
>  -----------
> @@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.
>       librte_distributor.so.1
>       librte_eal.so.8
>       librte_ethdev.so.10
> -     librte_eventdev.so.4
> +   + librte_eventdev.so.6

Can you send a separate standalone patch to fixup doc/guides/rel_notes/release_18_08.rst
release notes. The version(change to librte_eventdev.so.5) should have been 
updated in change set in 3810ae4357.

+Thomas,
In case if he has difference in opinion on updating released release note file.

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

* [dpdk-dev] [PATCH v3] eventdev: fix port id argument in Rx adapter caps API
  2018-09-05 12:21 [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Nikhil Rao
                   ` (2 preceding siblings ...)
  2018-09-25  8:49 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
@ 2018-09-25  9:49 ` Nikhil Rao
  2018-09-28 14:54   ` Jerin Jacob
  3 siblings, 1 reply; 10+ messages in thread
From: Nikhil Rao @ 2018-09-25  9:49 UTC (permalink / raw)
  To: jerin.jacob; +Cc: dev, Nikhil Rao, stable

Make the ethernet port id passed into
rte_event_eth_rx_adapter_caps_get() 16 bit.

Also, update the event rx adapter test to use 16 bit
ethernet port ids.

Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
Cc: stable@dpdk.org

Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---

v2:
* squash changes to autotest and library into a single patch (Jerin Jacob)
* add update to release notes (Jerin Jacob)

v3:
* update meson.build (Jerin Jacob)

 lib/librte_eventdev/rte_eventdev.h     | 2 +-
 lib/librte_eventdev/rte_eventdev.c     | 2 +-
 test/test/test_event_eth_rx_adapter.c  | 6 +++---
 doc/guides/rel_notes/release_18_11.rst | 4 +++-
 lib/librte_eventdev/Makefile           | 2 +-
 lib/librte_eventdev/meson.build        | 2 +-
 6 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h
index a24213e..8541109 100644
--- a/lib/librte_eventdev/rte_eventdev.h
+++ b/lib/librte_eventdev/rte_eventdev.h
@@ -1112,7 +1112,7 @@ struct rte_event {
  *
  */
 int
-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,
+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
 				uint32_t *caps);
 
 #define RTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT (1ULL << 0)
diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c
index 0a8572b..b1914dc 100644
--- a/lib/librte_eventdev/rte_eventdev.c
+++ b/lib/librte_eventdev/rte_eventdev.c
@@ -109,7 +109,7 @@
 }
 
 int
-rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint8_t eth_port_id,
+rte_event_eth_rx_adapter_caps_get(uint8_t dev_id, uint16_t eth_port_id,
 				uint32_t *caps)
 {
 	struct rte_eventdev *dev;
diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c
index 4641640..592bcaa 100644
--- a/test/test/test_event_eth_rx_adapter.c
+++ b/test/test/test_event_eth_rx_adapter.c
@@ -32,7 +32,7 @@ struct event_eth_rx_adapter_test_params {
 static struct event_eth_rx_adapter_test_params default_params;
 
 static inline int
-port_init_common(uint8_t port, const struct rte_eth_conf *port_conf,
+port_init_common(uint16_t port, const struct rte_eth_conf *port_conf,
 		struct rte_mempool *mp)
 {
 	const uint16_t rx_ring_size = 512, tx_ring_size = 512;
@@ -94,7 +94,7 @@ struct event_eth_rx_adapter_test_params {
 }
 
 static inline int
-port_init_rx_intr(uint8_t port, struct rte_mempool *mp)
+port_init_rx_intr(uint16_t port, struct rte_mempool *mp)
 {
 	static const struct rte_eth_conf port_conf_default = {
 		.rxmode = {
@@ -110,7 +110,7 @@ struct event_eth_rx_adapter_test_params {
 }
 
 static inline int
-port_init(uint8_t port, struct rte_mempool *mp)
+port_init(uint16_t port, struct rte_mempool *mp)
 {
 	static const struct rte_eth_conf port_conf_default = {
 		.rxmode = {
diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst
index 97daad1..842b46b 100644
--- a/doc/guides/rel_notes/release_18_11.rst
+++ b/doc/guides/rel_notes/release_18_11.rst
@@ -99,6 +99,8 @@ API Changes
   flag the MAC can be properly configured in any case. This is particularly
   important for bonding.
 
+* eventdev: Type of 2nd parameter to ``rte_event_eth_rx_adapter_caps_get()``
+  has been changed from uint8_t to uint16_t.
 
 ABI Changes
 -----------
@@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.
      librte_distributor.so.1
      librte_eal.so.8
      librte_ethdev.so.10
-     librte_eventdev.so.4
+   + librte_eventdev.so.6
      librte_flow_classify.so.1
      librte_gro.so.1
      librte_gso.so.1
diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile
index 47f599a..ce800ea 100644
--- a/lib/librte_eventdev/Makefile
+++ b/lib/librte_eventdev/Makefile
@@ -8,7 +8,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
 LIB = librte_eventdev.a
 
 # library version
-LIBABIVER := 5
+LIBABIVER := 6
 
 # build flags
 CFLAGS += -DALLOW_EXPERIMENTAL_API
diff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build
index 3cbaf29..3c4e510 100644
--- a/lib/librte_eventdev/meson.build
+++ b/lib/librte_eventdev/meson.build
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-version = 5
+version = 6
 allow_experimental_apis = true
 
 if host_machine.system() == 'linux'
-- 
1.8.3.1

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

* Re: [dpdk-dev] [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
  2018-09-25  9:15   ` Jerin Jacob
@ 2018-09-25  9:50     ` Thomas Monjalon
  2018-09-25  9:56       ` Jerin Jacob
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Monjalon @ 2018-09-25  9:50 UTC (permalink / raw)
  To: Jerin Jacob; +Cc: Nikhil Rao, dev, stable

25/09/2018 11:15, Jerin Jacob:
> -----Original Message-----
> > Date: Tue, 25 Sep 2018 14:19:12 +0530
> > From: Nikhil Rao <nikhil.rao@intel.com>
> > To: jerin.jacob@caviumnetworks.com
> > CC: dev@dpdk.org, Nikhil Rao <nikhil.rao@intel.com>, stable@dpdk.org
> > Subject: [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
> > X-Mailer: git-send-email 1.8.3.1
> > 
> > 
> > Make the ethernet port id passed into
> > rte_event_eth_rx_adapter_caps_get() 16 bit.
> > 
> > Also, update the event rx adapter test to use 16 bit
> > ethernet port ids.
> > 
> > Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> > Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> > ---
> > 
> > v2:
> > * squash changes to autotest and library into a single patch (Jerin Jacob)
> > * add update to release notes (Jerin Jacob)
> > 
> >  lib/librte_eventdev/rte_eventdev.h     | 2 +-
> >  lib/librte_eventdev/rte_eventdev.c     | 2 +-
> >  test/test/test_event_eth_rx_adapter.c  | 6 +++---
> >  doc/guides/rel_notes/release_18_11.rst | 4 +++-
> >  lib/librte_eventdev/Makefile           | 2 +-
> 
> Missing version update in lib/librte_eventdev/meson.build. See version=
> 
> >  5 files changed, 9 insertions(+), 7 deletions(-)
> > 
> >  ABI Changes
> >  -----------
> > @@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.
> >       librte_distributor.so.1
> >       librte_eal.so.8
> >       librte_ethdev.so.10
> > -     librte_eventdev.so.4
> > +   + librte_eventdev.so.6
> 
> Can you send a separate standalone patch to fixup doc/guides/rel_notes/release_18_08.rst
> release notes. The version(change to librte_eventdev.so.5) should have been 
> updated in change set in 3810ae4357.
> 
> +Thomas,
> In case if he has difference in opinion on updating released release note file.

I prefer such changes being atomic.

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

* Re: [dpdk-dev] [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
  2018-09-25  9:50     ` Thomas Monjalon
@ 2018-09-25  9:56       ` Jerin Jacob
  2018-09-25 12:52         ` Thomas Monjalon
  0 siblings, 1 reply; 10+ messages in thread
From: Jerin Jacob @ 2018-09-25  9:56 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: Nikhil Rao, dev, stable

-----Original Message-----
> Date: Tue, 25 Sep 2018 11:50:06 +0200
> From: Thomas Monjalon <thomas@monjalon.net>
> To: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> Cc: Nikhil Rao <nikhil.rao@intel.com>, dev@dpdk.org, stable@dpdk.org
> Subject: Re: [PATCH v2] eventdev: fix port id argument in Rx adapter caps
>  API
> 
> 
> 25/09/2018 11:15, Jerin Jacob:
> > -----Original Message-----
> > > Date: Tue, 25 Sep 2018 14:19:12 +0530
> > > From: Nikhil Rao <nikhil.rao@intel.com>
> > > To: jerin.jacob@caviumnetworks.com
> > > CC: dev@dpdk.org, Nikhil Rao <nikhil.rao@intel.com>, stable@dpdk.org
> > > Subject: [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
> > > X-Mailer: git-send-email 1.8.3.1
> > >
> > >
> > > Make the ethernet port id passed into
> > > rte_event_eth_rx_adapter_caps_get() 16 bit.
> > >
> > > Also, update the event rx adapter test to use 16 bit
> > > ethernet port ids.
> > >
> > > Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
> > > Cc: stable@dpdk.org
> > >
> > > Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> > > Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> > > ---
> > >
> > > v2:
> > > * squash changes to autotest and library into a single patch (Jerin Jacob)
> > > * add update to release notes (Jerin Jacob)
> > >
> > >  lib/librte_eventdev/rte_eventdev.h     | 2 +-
> > >  lib/librte_eventdev/rte_eventdev.c     | 2 +-
> > >  test/test/test_event_eth_rx_adapter.c  | 6 +++---
> > >  doc/guides/rel_notes/release_18_11.rst | 4 +++-
> > >  lib/librte_eventdev/Makefile           | 2 +-
> >
> > Missing version update in lib/librte_eventdev/meson.build. See version=
> >
> > >  5 files changed, 9 insertions(+), 7 deletions(-)
> > >
> > >  ABI Changes
> > >  -----------
> > > @@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.
> > >       librte_distributor.so.1
> > >       librte_eal.so.8
> > >       librte_ethdev.so.10
> > > -     librte_eventdev.so.4
> > > +   + librte_eventdev.so.6
> >
> > Can you send a separate standalone patch to fixup doc/guides/rel_notes/release_18_08.rst
> > release notes. The version(change to librte_eventdev.so.5) should have been
> > updated in change set in 3810ae4357.
> >
> > +Thomas,
> > In case if he has difference in opinion on updating released release note file.
> 
> I prefer such changes being atomic.

Me too. But the offending change set(3810ae4357) is old
➜ [master][dpdk.org] $ git describe  3810ae4357
v18.05-389-g3810ae435

Do you prefer to have patch to update the release_18_08.rst file or ignore it?


> 
> 

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

* Re: [dpdk-dev] [PATCH v2] eventdev: fix port id argument in Rx adapter caps API
  2018-09-25  9:56       ` Jerin Jacob
@ 2018-09-25 12:52         ` Thomas Monjalon
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Monjalon @ 2018-09-25 12:52 UTC (permalink / raw)
  To: Jerin Jacob; +Cc: Nikhil Rao, dev, stable

25/09/2018 11:56, Jerin Jacob:
> From: Thomas Monjalon <thomas@monjalon.net>
> > 25/09/2018 11:15, Jerin Jacob:
> > > From: Nikhil Rao <nikhil.rao@intel.com>
> > > > @@ -162,7 +164,7 @@ The libraries prepended with a plus sign were incremented in this version.
> > > >       librte_distributor.so.1
> > > >       librte_eal.so.8
> > > >       librte_ethdev.so.10
> > > > -     librte_eventdev.so.4
> > > > +   + librte_eventdev.so.6
> > >
> > > Can you send a separate standalone patch to fixup doc/guides/rel_notes/release_18_08.rst
> > > release notes. The version(change to librte_eventdev.so.5) should have been
> > > updated in change set in 3810ae4357.
> > >
> > > +Thomas,
> > > In case if he has difference in opinion on updating released release note file.
> > 
> > I prefer such changes being atomic.
> 
> Me too. But the offending change set(3810ae4357) is old
> ➜ [master][dpdk.org] $ git describe  3810ae4357
> v18.05-389-g3810ae435

Oh, I had not understood :-)

> Do you prefer to have patch to update the release_18_08.rst file or ignore it?

Yes you can patch release_18_08.rst and release_18_11.rst with a fix
to version librte_eventdev.so.5, and Cc:stable for backport in 18.08.

Thanks

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

* Re: [dpdk-dev] [PATCH v3] eventdev: fix port id argument in Rx adapter caps API
  2018-09-25  9:49 ` [dpdk-dev] [PATCH v3] " Nikhil Rao
@ 2018-09-28 14:54   ` Jerin Jacob
  0 siblings, 0 replies; 10+ messages in thread
From: Jerin Jacob @ 2018-09-28 14:54 UTC (permalink / raw)
  To: Nikhil Rao; +Cc: dev, stable

-----Original Message-----
> Date: Tue, 25 Sep 2018 15:19:05 +0530
> From: Nikhil Rao <nikhil.rao@intel.com>
> To: jerin.jacob@caviumnetworks.com
> CC: dev@dpdk.org, Nikhil Rao <nikhil.rao@intel.com>, stable@dpdk.org
> Subject: [PATCH v3] eventdev: fix port id argument in Rx adapter caps API
> X-Mailer: git-send-email 1.8.3.1
> 
> Make the ethernet port id passed into
> rte_event_eth_rx_adapter_caps_get() 16 bit.
> 
> Also, update the event rx adapter test to use 16 bit
> ethernet port ids.
> 
> Fixes: c2189c907dd1 ("eventdev: make ethdev port identifiers 16-bit")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> ---

Applied to dpdk-next-eventdev/master. Thanks.

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

end of thread, other threads:[~2018-09-28 14:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05 12:21 [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Nikhil Rao
2018-09-05 12:21 ` [dpdk-dev] [PATCH 2/2] test/event: change ethernet port ids to be 16 bit Nikhil Rao
2018-09-17 14:14 ` [dpdk-dev] [PATCH 1/2] eventdev: fix port id argument in Rx adapter caps API Jerin Jacob
2018-09-25  8:49 ` [dpdk-dev] [PATCH v2] " Nikhil Rao
2018-09-25  9:15   ` Jerin Jacob
2018-09-25  9:50     ` Thomas Monjalon
2018-09-25  9:56       ` Jerin Jacob
2018-09-25 12:52         ` Thomas Monjalon
2018-09-25  9:49 ` [dpdk-dev] [PATCH v3] " Nikhil Rao
2018-09-28 14:54   ` Jerin Jacob

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).