* [dpdk-dev] [PATCH] ethdev: use correct method name in ethdev header file
@ 2019-03-12 16:07 Rami Rosen
2019-03-12 17:40 ` Stephen Hemminger
0 siblings, 1 reply; 4+ messages in thread
From: Rami Rosen @ 2019-03-12 16:07 UTC (permalink / raw)
To: dev; +Cc: ferruh.yigit, wei.dai, Rami Rosen
This patch fixes rte_ethdev header file to use the correct method name,
namely to use rte_eth_dev_info_get() instead of
rte_eth_dev_infos_get().
Fixes: a4996bd89c42 ("ethdev: new Rx/Tx offloads API")
Fixes: 4f5701f28bd4 ("examples: fix RSS hash function configuration")
Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
lib/librte_ethdev/rte_ethdev.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index a3c864a13..e32395346 100644
--- a/lib/librte_ethdev/rte_ethdev.h
+++ b/lib/librte_ethdev/rte_ethdev.h
@@ -1551,14 +1551,14 @@ const char *rte_eth_dev_tx_offload_name(uint64_t offload);
* Applications should set the ignore_bitfield_offloads bit on *rxmode*
* structure and use offloads field to set per-port offloads instead.
* - Any offloading set in eth_conf->[rt]xmode.offloads must be within
- * the [rt]x_offload_capa returned from rte_eth_dev_infos_get().
+ * the [rt]x_offload_capa returned from rte_eth_dev_info_get().
* Any type of device supported offloading set in the input argument
* eth_conf->[rt]xmode.offloads to rte_eth_dev_configure() is enabled
* on all queues and it can't be disabled in rte_eth_[rt]x_queue_setup()
* - the Receive Side Scaling (RSS) configuration when using multiple RX
* queues per port. Any RSS hash function set in eth_conf->rss_conf.rss_hf
* must be within the flow_type_rss_offloads provided by drivers via
- * rte_eth_dev_infos_get() API.
+ * rte_eth_dev_info_get() API.
*
* Embedding all configuration information in a single data structure
* is the more flexible method that allows the addition of new features
--
2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: use correct method name in ethdev header file
2019-03-12 16:07 [dpdk-dev] [PATCH] ethdev: use correct method name in ethdev header file Rami Rosen
@ 2019-03-12 17:40 ` Stephen Hemminger
2019-03-19 18:43 ` Ferruh Yigit
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2019-03-12 17:40 UTC (permalink / raw)
To: Rami Rosen; +Cc: dev, ferruh.yigit, wei.dai
On Tue, 12 Mar 2019 18:07:42 +0200
Rami Rosen <ramirose@gmail.com> wrote:
> This patch fixes rte_ethdev header file to use the correct method name,
> namely to use rte_eth_dev_info_get() instead of
> rte_eth_dev_infos_get().
>
> Fixes: a4996bd89c42 ("ethdev: new Rx/Tx offloads API")
> Fixes: 4f5701f28bd4 ("examples: fix RSS hash function configuration")
>
> Signed-off-by: Rami Rosen <ramirose@gmail.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: use correct method name in ethdev header file
2019-03-12 17:40 ` Stephen Hemminger
@ 2019-03-19 18:43 ` Ferruh Yigit
2019-03-19 18:43 ` Ferruh Yigit
0 siblings, 1 reply; 4+ messages in thread
From: Ferruh Yigit @ 2019-03-19 18:43 UTC (permalink / raw)
To: Stephen Hemminger, Rami Rosen; +Cc: dev, wei.dai
On 3/12/2019 5:40 PM, Stephen Hemminger wrote:
> On Tue, 12 Mar 2019 18:07:42 +0200
> Rami Rosen <ramirose@gmail.com> wrote:
>
>> This patch fixes rte_ethdev header file to use the correct method name,
>> namely to use rte_eth_dev_info_get() instead of
>> rte_eth_dev_infos_get().
>>
>> Fixes: a4996bd89c42 ("ethdev: new Rx/Tx offloads API")
>> Fixes: 4f5701f28bd4 ("examples: fix RSS hash function configuration")
>>
>> Signed-off-by: Rami Rosen <ramirose@gmail.com>
>
> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: use correct method name in ethdev header file
2019-03-19 18:43 ` Ferruh Yigit
@ 2019-03-19 18:43 ` Ferruh Yigit
0 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2019-03-19 18:43 UTC (permalink / raw)
To: Stephen Hemminger, Rami Rosen; +Cc: dev, wei.dai
On 3/12/2019 5:40 PM, Stephen Hemminger wrote:
> On Tue, 12 Mar 2019 18:07:42 +0200
> Rami Rosen <ramirose@gmail.com> wrote:
>
>> This patch fixes rte_ethdev header file to use the correct method name,
>> namely to use rte_eth_dev_info_get() instead of
>> rte_eth_dev_infos_get().
>>
>> Fixes: a4996bd89c42 ("ethdev: new Rx/Tx offloads API")
>> Fixes: 4f5701f28bd4 ("examples: fix RSS hash function configuration")
>>
>> Signed-off-by: Rami Rosen <ramirose@gmail.com>
>
> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-19 18:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 16:07 [dpdk-dev] [PATCH] ethdev: use correct method name in ethdev header file Rami Rosen
2019-03-12 17:40 ` Stephen Hemminger
2019-03-19 18:43 ` Ferruh Yigit
2019-03-19 18:43 ` 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).