DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct
@ 2019-05-15  7:54 David Marchand
  2019-05-15  7:54 ` David Marchand
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Rahul Lakkireddy

Prefer the existing apis rather than direct access the configuration
structure.

Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/cxgbe/cxgbe_main.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/cxgbe/cxgbe_main.c b/drivers/net/cxgbe/cxgbe_main.c
index 28c3c66..987aab4 100644
--- a/drivers/net/cxgbe/cxgbe_main.c
+++ b/drivers/net/cxgbe/cxgbe_main.c
@@ -504,7 +504,6 @@ int cxgbe_cfg_queue_count(struct rte_eth_dev *eth_dev)
 
 void cxgbe_cfg_queues(struct rte_eth_dev *eth_dev)
 {
-	struct rte_config *config = rte_eal_get_configuration();
 	struct port_info *pi = (struct port_info *)(eth_dev->data->dev_private);
 	struct adapter *adap = pi->adapter;
 	struct sge *s = &adap->sge;
@@ -527,8 +526,8 @@ void cxgbe_cfg_queues(struct rte_eth_dev *eth_dev)
 				     (adap->params.nports - nb_ports)) /
 				     nb_ports;
 
-		if (q_per_port > config->lcore_count)
-			q_per_port = config->lcore_count;
+		if (q_per_port > rte_lcore_count())
+			q_per_port = rte_lcore_count();
 
 		for_each_port(adap, i) {
 			struct port_info *pi = adap2pinfo(adap, i);
-- 
1.8.3.1

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

* [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct
  2019-05-15  7:54 [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct David Marchand
@ 2019-05-15  7:54 ` David Marchand
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 2/4] net/softnic: " David Marchand
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Rahul Lakkireddy

Prefer the existing apis rather than direct access the configuration
structure.

Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/cxgbe/cxgbe_main.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/cxgbe/cxgbe_main.c b/drivers/net/cxgbe/cxgbe_main.c
index 28c3c66..987aab4 100644
--- a/drivers/net/cxgbe/cxgbe_main.c
+++ b/drivers/net/cxgbe/cxgbe_main.c
@@ -504,7 +504,6 @@ int cxgbe_cfg_queue_count(struct rte_eth_dev *eth_dev)
 
 void cxgbe_cfg_queues(struct rte_eth_dev *eth_dev)
 {
-	struct rte_config *config = rte_eal_get_configuration();
 	struct port_info *pi = (struct port_info *)(eth_dev->data->dev_private);
 	struct adapter *adap = pi->adapter;
 	struct sge *s = &adap->sge;
@@ -527,8 +526,8 @@ void cxgbe_cfg_queues(struct rte_eth_dev *eth_dev)
 				     (adap->params.nports - nb_ports)) /
 				     nb_ports;
 
-		if (q_per_port > config->lcore_count)
-			q_per_port = config->lcore_count;
+		if (q_per_port > rte_lcore_count())
+			q_per_port = rte_lcore_count();
 
 		for_each_port(adap, i) {
 			struct port_info *pi = adap2pinfo(adap, i);
-- 
1.8.3.1


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

* [dpdk-dev] [PATCH 2/4] net/softnic: do not dereference global config struct
  2019-05-15  7:54 [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct David Marchand
  2019-05-15  7:54 ` David Marchand
@ 2019-05-15  7:54 ` David Marchand
  2019-05-15  7:54   ` David Marchand
  2019-05-15 10:06   ` Maxime Coquelin
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 3/4] examples/multi_process: " David Marchand
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Jasvinder Singh, Cristian Dumitrescu

Prefer the existing apis rather than direct access the configuration
structure.

Fixes: a958a5c07f4b ("net/softnic: support service cores")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/softnic/rte_eth_softnic_thread.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/drivers/net/softnic/rte_eth_softnic_thread.c b/drivers/net/softnic/rte_eth_softnic_thread.c
index 855408e..d610b16 100644
--- a/drivers/net/softnic/rte_eth_softnic_thread.c
+++ b/drivers/net/softnic/rte_eth_softnic_thread.c
@@ -99,17 +99,12 @@
 static inline int
 thread_is_valid(struct pmd_internals *softnic, uint32_t thread_id)
 {
-	struct rte_config *cfg = rte_eal_get_configuration();
-	enum rte_lcore_role_t role;
-
-	if ((thread_id >= RTE_MAX_LCORE) ||
-		(thread_id == cfg->master_lcore))
+	if (thread_id == rte_get_master_lcore())
 		return 0; /* FALSE */
 
-	role = cfg->lcore_role[thread_id];
-
-	if ((softnic->params.sc && (role == ROLE_SERVICE)) ||
-		(!softnic->params.sc && (role == ROLE_RTE)))
+	if (softnic->params.sc && rte_lcore_has_role(thread_id, ROLE_SERVICE))
+		return 1; /* TRUE */
+	if (!softnic->params.sc && rte_lcore_has_role(thread_id, ROLE_RTE))
 		return 1; /* TRUE */
 
 	return 0; /* FALSE */
-- 
1.8.3.1

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

* [dpdk-dev] [PATCH 2/4] net/softnic: do not dereference global config struct
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 2/4] net/softnic: " David Marchand
@ 2019-05-15  7:54   ` David Marchand
  2019-05-15 10:06   ` Maxime Coquelin
  1 sibling, 0 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Jasvinder Singh, Cristian Dumitrescu

Prefer the existing apis rather than direct access the configuration
structure.

Fixes: a958a5c07f4b ("net/softnic: support service cores")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/softnic/rte_eth_softnic_thread.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/drivers/net/softnic/rte_eth_softnic_thread.c b/drivers/net/softnic/rte_eth_softnic_thread.c
index 855408e..d610b16 100644
--- a/drivers/net/softnic/rte_eth_softnic_thread.c
+++ b/drivers/net/softnic/rte_eth_softnic_thread.c
@@ -99,17 +99,12 @@
 static inline int
 thread_is_valid(struct pmd_internals *softnic, uint32_t thread_id)
 {
-	struct rte_config *cfg = rte_eal_get_configuration();
-	enum rte_lcore_role_t role;
-
-	if ((thread_id >= RTE_MAX_LCORE) ||
-		(thread_id == cfg->master_lcore))
+	if (thread_id == rte_get_master_lcore())
 		return 0; /* FALSE */
 
-	role = cfg->lcore_role[thread_id];
-
-	if ((softnic->params.sc && (role == ROLE_SERVICE)) ||
-		(!softnic->params.sc && (role == ROLE_RTE)))
+	if (softnic->params.sc && rte_lcore_has_role(thread_id, ROLE_SERVICE))
+		return 1; /* TRUE */
+	if (!softnic->params.sc && rte_lcore_has_role(thread_id, ROLE_RTE))
 		return 1; /* TRUE */
 
 	return 0; /* FALSE */
-- 
1.8.3.1


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

* [dpdk-dev] [PATCH 3/4] examples/multi_process: do not dereference global config struct
  2019-05-15  7:54 [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct David Marchand
  2019-05-15  7:54 ` David Marchand
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 2/4] net/softnic: " David Marchand
@ 2019-05-15  7:54 ` David Marchand
  2019-05-15  7:54   ` David Marchand
  2019-05-15 10:07   ` Maxime Coquelin
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 4/4] examples/qos_sched: " David Marchand
  2019-05-15  9:29 ` [dpdk-dev] [PATCH 1/4] net/cxgbe: " Maxime Coquelin
  4 siblings, 2 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Anatoly Burakov

Prefer the existing apis rather than direct access the configuration
structure.

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

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 examples/multi_process/symmetric_mp/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c
index c310e94..62771e0 100644
--- a/examples/multi_process/symmetric_mp/main.c
+++ b/examples/multi_process/symmetric_mp/main.c
@@ -271,7 +271,7 @@ struct port_stats{
 assign_ports_to_cores(void)
 {
 
-	const unsigned lcores = rte_eal_get_configuration()->lcore_count;
+	const unsigned int lcores = rte_lcore_count();
 	const unsigned port_pairs = num_ports / 2;
 	const unsigned pairs_per_lcore = port_pairs / lcores;
 	unsigned extra_pairs = port_pairs % lcores;
-- 
1.8.3.1

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

* [dpdk-dev] [PATCH 3/4] examples/multi_process: do not dereference global config struct
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 3/4] examples/multi_process: " David Marchand
@ 2019-05-15  7:54   ` David Marchand
  2019-05-15 10:07   ` Maxime Coquelin
  1 sibling, 0 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Anatoly Burakov

Prefer the existing apis rather than direct access the configuration
structure.

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

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 examples/multi_process/symmetric_mp/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c
index c310e94..62771e0 100644
--- a/examples/multi_process/symmetric_mp/main.c
+++ b/examples/multi_process/symmetric_mp/main.c
@@ -271,7 +271,7 @@ struct port_stats{
 assign_ports_to_cores(void)
 {
 
-	const unsigned lcores = rte_eal_get_configuration()->lcore_count;
+	const unsigned int lcores = rte_lcore_count();
 	const unsigned port_pairs = num_ports / 2;
 	const unsigned pairs_per_lcore = port_pairs / lcores;
 	unsigned extra_pairs = port_pairs % lcores;
-- 
1.8.3.1


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

* [dpdk-dev] [PATCH 4/4] examples/qos_sched: do not dereference global config struct
  2019-05-15  7:54 [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct David Marchand
                   ` (2 preceding siblings ...)
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 3/4] examples/multi_process: " David Marchand
@ 2019-05-15  7:54 ` David Marchand
  2019-05-15  7:54   ` David Marchand
  2019-05-15 10:08   ` Maxime Coquelin
  2019-05-15  9:29 ` [dpdk-dev] [PATCH 1/4] net/cxgbe: " Maxime Coquelin
  4 siblings, 2 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Cristian Dumitrescu

Prefer the existing apis rather than direct access the configuration
structure.

Fixes: de3cfa2c9823 ("sched: initial import")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 examples/qos_sched/args.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c
index 83eee95..7431b29 100644
--- a/examples/qos_sched/args.c
+++ b/examples/qos_sched/args.c
@@ -90,16 +90,15 @@ static inline int str_is(const char *str, const char *is)
 static uint64_t
 app_eal_core_mask(void)
 {
-	uint32_t i;
 	uint64_t cm = 0;
-	struct rte_config *cfg = rte_eal_get_configuration();
+	uint32_t i;
 
 	for (i = 0; i < APP_MAX_LCORE; i++) {
-		if (cfg->lcore_role[i] == ROLE_RTE)
+		if (rte_lcore_has_role(i, ROLE_RTE))
 			cm |= (1ULL << i);
 	}
 
-	cm |= (1ULL << cfg->master_lcore);
+	cm |= (1ULL << rte_get_master_lcore());
 
 	return cm;
 }
-- 
1.8.3.1

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

* [dpdk-dev] [PATCH 4/4] examples/qos_sched: do not dereference global config struct
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 4/4] examples/qos_sched: " David Marchand
@ 2019-05-15  7:54   ` David Marchand
  2019-05-15 10:08   ` Maxime Coquelin
  1 sibling, 0 replies; 17+ messages in thread
From: David Marchand @ 2019-05-15  7:54 UTC (permalink / raw)
  To: dev; +Cc: thomas, stephen, stable, Cristian Dumitrescu

Prefer the existing apis rather than direct access the configuration
structure.

Fixes: de3cfa2c9823 ("sched: initial import")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 examples/qos_sched/args.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c
index 83eee95..7431b29 100644
--- a/examples/qos_sched/args.c
+++ b/examples/qos_sched/args.c
@@ -90,16 +90,15 @@ static inline int str_is(const char *str, const char *is)
 static uint64_t
 app_eal_core_mask(void)
 {
-	uint32_t i;
 	uint64_t cm = 0;
-	struct rte_config *cfg = rte_eal_get_configuration();
+	uint32_t i;
 
 	for (i = 0; i < APP_MAX_LCORE; i++) {
-		if (cfg->lcore_role[i] == ROLE_RTE)
+		if (rte_lcore_has_role(i, ROLE_RTE))
 			cm |= (1ULL << i);
 	}
 
-	cm |= (1ULL << cfg->master_lcore);
+	cm |= (1ULL << rte_get_master_lcore());
 
 	return cm;
 }
-- 
1.8.3.1


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

* Re: [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct
  2019-05-15  7:54 [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct David Marchand
                   ` (3 preceding siblings ...)
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 4/4] examples/qos_sched: " David Marchand
@ 2019-05-15  9:29 ` Maxime Coquelin
  2019-05-15  9:29   ` Maxime Coquelin
  2019-05-29 22:31   ` Thomas Monjalon
  4 siblings, 2 replies; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15  9:29 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: thomas, stephen, stable, Rahul Lakkireddy



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
> Cc:stable@dpdk.org
> 
> Signed-off-by: David Marchand<david.marchand@redhat.com>
> ---
>   drivers/net/cxgbe/cxgbe_main.c | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct
  2019-05-15  9:29 ` [dpdk-dev] [PATCH 1/4] net/cxgbe: " Maxime Coquelin
@ 2019-05-15  9:29   ` Maxime Coquelin
  2019-05-29 22:31   ` Thomas Monjalon
  1 sibling, 0 replies; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15  9:29 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: thomas, stephen, stable, Rahul Lakkireddy



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
> Cc:stable@dpdk.org
> 
> Signed-off-by: David Marchand<david.marchand@redhat.com>
> ---
>   drivers/net/cxgbe/cxgbe_main.c | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 2/4] net/softnic: do not dereference global config struct
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 2/4] net/softnic: " David Marchand
  2019-05-15  7:54   ` David Marchand
@ 2019-05-15 10:06   ` Maxime Coquelin
  2019-05-15 10:06     ` Maxime Coquelin
  1 sibling, 1 reply; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15 10:06 UTC (permalink / raw)
  To: David Marchand, dev
  Cc: thomas, stephen, stable, Jasvinder Singh, Cristian Dumitrescu



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: a958a5c07f4b ("net/softnic: support service cores")
> Cc:stable@dpdk.org
> 
> Signed-off-by: David Marchand<david.marchand@redhat.com>
> ---
>   drivers/net/softnic/rte_eth_softnic_thread.c | 13 ++++---------
>   1 file changed, 4 insertions(+), 9 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 2/4] net/softnic: do not dereference global config struct
  2019-05-15 10:06   ` Maxime Coquelin
@ 2019-05-15 10:06     ` Maxime Coquelin
  0 siblings, 0 replies; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15 10:06 UTC (permalink / raw)
  To: David Marchand, dev
  Cc: thomas, stephen, stable, Jasvinder Singh, Cristian Dumitrescu



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: a958a5c07f4b ("net/softnic: support service cores")
> Cc:stable@dpdk.org
> 
> Signed-off-by: David Marchand<david.marchand@redhat.com>
> ---
>   drivers/net/softnic/rte_eth_softnic_thread.c | 13 ++++---------
>   1 file changed, 4 insertions(+), 9 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 3/4] examples/multi_process: do not dereference global config struct
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 3/4] examples/multi_process: " David Marchand
  2019-05-15  7:54   ` David Marchand
@ 2019-05-15 10:07   ` Maxime Coquelin
  2019-05-15 10:07     ` Maxime Coquelin
  1 sibling, 1 reply; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15 10:07 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: thomas, stephen, stable, Anatoly Burakov



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: af75078fece3 ("first public release")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>   examples/multi_process/symmetric_mp/main.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 3/4] examples/multi_process: do not dereference global config struct
  2019-05-15 10:07   ` Maxime Coquelin
@ 2019-05-15 10:07     ` Maxime Coquelin
  0 siblings, 0 replies; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15 10:07 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: thomas, stephen, stable, Anatoly Burakov



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: af75078fece3 ("first public release")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>   examples/multi_process/symmetric_mp/main.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 4/4] examples/qos_sched: do not dereference global config struct
  2019-05-15  7:54 ` [dpdk-dev] [PATCH 4/4] examples/qos_sched: " David Marchand
  2019-05-15  7:54   ` David Marchand
@ 2019-05-15 10:08   ` Maxime Coquelin
  2019-05-15 10:08     ` Maxime Coquelin
  1 sibling, 1 reply; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15 10:08 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: thomas, stephen, stable, Cristian Dumitrescu



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: de3cfa2c9823 ("sched: initial import")
> Cc:stable@dpdk.org
> 
> Signed-off-by: David Marchand<david.marchand@redhat.com>
> ---
>   examples/qos_sched/args.c | 7 +++----
>   1 file changed, 3 insertions(+), 4 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 4/4] examples/qos_sched: do not dereference global config struct
  2019-05-15 10:08   ` Maxime Coquelin
@ 2019-05-15 10:08     ` Maxime Coquelin
  0 siblings, 0 replies; 17+ messages in thread
From: Maxime Coquelin @ 2019-05-15 10:08 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: thomas, stephen, stable, Cristian Dumitrescu



On 5/15/19 9:54 AM, David Marchand wrote:
> Prefer the existing apis rather than direct access the configuration
> structure.
> 
> Fixes: de3cfa2c9823 ("sched: initial import")
> Cc:stable@dpdk.org
> 
> Signed-off-by: David Marchand<david.marchand@redhat.com>
> ---
>   examples/qos_sched/args.c | 7 +++----
>   1 file changed, 3 insertions(+), 4 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime

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

* Re: [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct
  2019-05-15  9:29 ` [dpdk-dev] [PATCH 1/4] net/cxgbe: " Maxime Coquelin
  2019-05-15  9:29   ` Maxime Coquelin
@ 2019-05-29 22:31   ` Thomas Monjalon
  1 sibling, 0 replies; 17+ messages in thread
From: Thomas Monjalon @ 2019-05-29 22:31 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, Maxime Coquelin, stephen, stable, Rahul Lakkireddy

15/05/2019 11:29, Maxime Coquelin:
> 
> On 5/15/19 9:54 AM, David Marchand wrote:
> > Prefer the existing apis rather than direct access the configuration
> > structure.
> > 
> > Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
> > Cc:stable@dpdk.org
> > 
> > Signed-off-by: David Marchand<david.marchand@redhat.com>
> > ---
> >   drivers/net/cxgbe/cxgbe_main.c | 5 ++---
> >   1 file changed, 2 insertions(+), 3 deletions(-)
> 
> 
> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Series applied, thanks




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

end of thread, other threads:[~2019-05-29 22:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15  7:54 [dpdk-dev] [PATCH 1/4] net/cxgbe: do not dereference global config struct David Marchand
2019-05-15  7:54 ` David Marchand
2019-05-15  7:54 ` [dpdk-dev] [PATCH 2/4] net/softnic: " David Marchand
2019-05-15  7:54   ` David Marchand
2019-05-15 10:06   ` Maxime Coquelin
2019-05-15 10:06     ` Maxime Coquelin
2019-05-15  7:54 ` [dpdk-dev] [PATCH 3/4] examples/multi_process: " David Marchand
2019-05-15  7:54   ` David Marchand
2019-05-15 10:07   ` Maxime Coquelin
2019-05-15 10:07     ` Maxime Coquelin
2019-05-15  7:54 ` [dpdk-dev] [PATCH 4/4] examples/qos_sched: " David Marchand
2019-05-15  7:54   ` David Marchand
2019-05-15 10:08   ` Maxime Coquelin
2019-05-15 10:08     ` Maxime Coquelin
2019-05-15  9:29 ` [dpdk-dev] [PATCH 1/4] net/cxgbe: " Maxime Coquelin
2019-05-15  9:29   ` Maxime Coquelin
2019-05-29 22:31   ` Thomas Monjalon

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