* [dpdk-dev] [PATCH] eal: add Bus log type
@ 2017-05-24 5:38 Shreyansh Jain
2017-06-19 11:03 ` Shreyansh Jain
0 siblings, 1 reply; 4+ messages in thread
From: Shreyansh Jain @ 2017-05-24 5:38 UTC (permalink / raw)
To: dev; +Cc: thomas, Shreyansh Jain
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
---
This was missed while adding the rte_bus code. (But, this is not a fix)
Also, I couldn't find any maintainer listed for common/include/* code
in MAINTAINERS, so, sending 'to' dev@ list.
lib/librte_eal/common/include/rte_log.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_eal/common/include/rte_log.h b/lib/librte_eal/common/include/rte_log.h
index 3419138..1e45e87 100644
--- a/lib/librte_eal/common/include/rte_log.h
+++ b/lib/librte_eal/common/include/rte_log.h
@@ -87,6 +87,7 @@ extern struct rte_logs rte_logs;
#define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */
#define RTE_LOGTYPE_EFD 18 /**< Log related to EFD. */
#define RTE_LOGTYPE_EVENTDEV 19 /**< Log related to eventdev. */
+#define RTE_LOGTYPE_BUS 20 /**< Log related to Bus. */
/* these log types can be used in an application */
#define RTE_LOGTYPE_USER1 24 /**< User-defined log type 1. */
--
2.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] eal: add Bus log type
2017-05-24 5:38 [dpdk-dev] [PATCH] eal: add Bus log type Shreyansh Jain
@ 2017-06-19 11:03 ` Shreyansh Jain
2017-06-19 20:54 ` Thomas Monjalon
0 siblings, 1 reply; 4+ messages in thread
From: Shreyansh Jain @ 2017-06-19 11:03 UTC (permalink / raw)
To: thomas; +Cc: dev
Hello Thomas,
On Wednesday 24 May 2017 11:08 AM, Shreyansh Jain wrote:
> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
> ---
> This was missed while adding the rte_bus code. (But, this is not a fix)
> Also, I couldn't find any maintainer listed for common/include/* code
> in MAINTAINERS, so, sending 'to' dev@ list.
>
>
> lib/librte_eal/common/include/rte_log.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/librte_eal/common/include/rte_log.h b/lib/librte_eal/common/include/rte_log.h
> index 3419138..1e45e87 100644
> --- a/lib/librte_eal/common/include/rte_log.h
> +++ b/lib/librte_eal/common/include/rte_log.h
> @@ -87,6 +87,7 @@ extern struct rte_logs rte_logs;
> #define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */
> #define RTE_LOGTYPE_EFD 18 /**< Log related to EFD. */
> #define RTE_LOGTYPE_EVENTDEV 19 /**< Log related to eventdev. */
> +#define RTE_LOGTYPE_BUS 20 /**< Log related to Bus. */
>
> /* these log types can be used in an application */
> #define RTE_LOGTYPE_USER1 24 /**< User-defined log type 1. */
>
Just wanted to ping - is there something wrong/unacceptable about this?
-
Shreyansh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] eal: add Bus log type
2017-06-19 11:03 ` Shreyansh Jain
@ 2017-06-19 20:54 ` Thomas Monjalon
2017-07-02 5:31 ` Shreyansh Jain
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2017-06-19 20:54 UTC (permalink / raw)
To: Shreyansh Jain; +Cc: dev
19/06/2017 13:03, Shreyansh Jain:
> > --- a/lib/librte_eal/common/include/rte_log.h
> > +++ b/lib/librte_eal/common/include/rte_log.h
> > @@ -87,6 +87,7 @@ extern struct rte_logs rte_logs;
> > #define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */
> > #define RTE_LOGTYPE_EFD 18 /**< Log related to EFD. */
> > #define RTE_LOGTYPE_EVENTDEV 19 /**< Log related to eventdev. */
> > +#define RTE_LOGTYPE_BUS 20 /**< Log related to Bus. */
>
> Just wanted to ping - is there something wrong/unacceptable about this?
Sorry for not replying before.
The strange thing is that it is not used.
At least, the existing bus logs should be converted.
I've spotted few lines in drivers/bus/fslmc/.
And more importantly, we must switch to the new dynamic types
using rte_log_register().
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] eal: add Bus log type
2017-06-19 20:54 ` Thomas Monjalon
@ 2017-07-02 5:31 ` Shreyansh Jain
0 siblings, 0 replies; 4+ messages in thread
From: Shreyansh Jain @ 2017-07-02 5:31 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev
On Tuesday 20 June 2017 02:24 AM, Thomas Monjalon wrote:
> 19/06/2017 13:03, Shreyansh Jain:
>>> --- a/lib/librte_eal/common/include/rte_log.h
>>> +++ b/lib/librte_eal/common/include/rte_log.h
>>> @@ -87,6 +87,7 @@ extern struct rte_logs rte_logs;
>>> #define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */
>>> #define RTE_LOGTYPE_EFD 18 /**< Log related to EFD. */
>>> #define RTE_LOGTYPE_EVENTDEV 19 /**< Log related to eventdev. */
>>> +#define RTE_LOGTYPE_BUS 20 /**< Log related to Bus. */
>>
>> Just wanted to ping - is there something wrong/unacceptable about this?
>
> Sorry for not replying before.
And I am sorry for spotting your reply so late.
>
> The strange thing is that it is not used.
Yes, because somehow I forgot this while pushing bus/fslmc. I (had (*)) plan to change this for bus/fslmc in subsequent patches.
> At least, the existing bus logs should be converted.
> I've spotted few lines in drivers/bus/fslmc/.
>
> And more importantly, we must switch to the new dynamic types
> using rte_log_register().
>
(*)
ok. In which case, this patch would become redundant. I will add support for this in dpaa (and dpaa2 driver, next).
-
Shreyansh
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-07-02 5:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-24 5:38 [dpdk-dev] [PATCH] eal: add Bus log type Shreyansh Jain
2017-06-19 11:03 ` Shreyansh Jain
2017-06-19 20:54 ` Thomas Monjalon
2017-07-02 5:31 ` Shreyansh Jain
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).