* [dpdk-dev] [PATCH] compress/isal: add ISA-L lib version display
@ 2019-02-11 9:18 Tomasz Cel
2019-02-11 9:42 ` Daly, Lee
0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Cel @ 2019-02-11 9:18 UTC (permalink / raw)
To: dev
Cc: stable, fiona.trahe, lee.daly, pablo.de.lara.guarch,
tomaszx.jozwiak, Tomasz Cel
Display information about ISA-L lib version in UTs.
Signed-off-by: Tomasz Cel <tomaszx.cel@intel.com>
---
drivers/compress/isal/isal_compress_pmd.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/compress/isal/isal_compress_pmd.c b/drivers/compress/isal/isal_compress_pmd.c
index 4748238..8879a42 100644
--- a/drivers/compress/isal/isal_compress_pmd.c
+++ b/drivers/compress/isal/isal_compress_pmd.c
@@ -19,6 +19,12 @@
#define CHKSUM_SZ_CRC 8
#define CHKSUM_SZ_ADLER 4
+#define STRINGIFY(s) #s
+#define ISAL_TOSTRING(maj, min, patch) \
+ STRINGIFY(maj)"."STRINGIFY(min)"."STRINGIFY(patch)
+#define ISAL_VERSION_STRING \
+ ISAL_TOSTRING(ISAL_MAJOR_VERSION, ISAL_MINOR_VERSION, ISAL_PATCH_VERSION)
+
int isal_logtype_driver;
/* Verify and set private xform parameters */
@@ -684,6 +690,8 @@ compdev_isal_create(const char *name, struct rte_vdev_device *vdev,
dev->dequeue_burst = isal_comp_pmd_dequeue_burst;
dev->enqueue_burst = isal_comp_pmd_enqueue_burst;
+ ISAL_PMD_LOG(INFO, "\nISA-L library version used: "ISAL_VERSION_STRING);
+
return 0;
}
--
2.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] compress/isal: add ISA-L lib version display
2019-02-11 9:18 [dpdk-dev] [PATCH] compress/isal: add ISA-L lib version display Tomasz Cel
@ 2019-02-11 9:42 ` Daly, Lee
2019-03-19 14:03 ` Akhil Goyal
0 siblings, 1 reply; 4+ messages in thread
From: Daly, Lee @ 2019-02-11 9:42 UTC (permalink / raw)
To: Cel, TomaszX, dev
Cc: stable, Trahe, Fiona, De Lara Guarch, Pablo, Jozwiak, TomaszX
Hi Tomasz,
Looks good to me.
> -----Original Message-----
> From: Cel, TomaszX
> Sent: Monday, February 11, 2019 9:19 AM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Trahe, Fiona <fiona.trahe@intel.com>; Daly, Lee
> <lee.daly@intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch@intel.com>; Jozwiak, TomaszX
> <tomaszx.jozwiak@intel.com>; Cel, TomaszX <tomaszx.cel@intel.com>
> Subject: [PATCH] compress/isal: add ISA-L lib version display
>
> Display information about ISA-L lib version in UTs.
>
> Signed-off-by: Tomasz Cel <tomaszx.cel@intel.com>
> ---
> drivers/compress/isal/isal_compress_pmd.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/compress/isal/isal_compress_pmd.c
> b/drivers/compress/isal/isal_compress_pmd.c
> index 4748238..8879a42 100644
> --- a/drivers/compress/isal/isal_compress_pmd.c
> +++ b/drivers/compress/isal/isal_compress_pmd.c
<...>
> 2.7.4
Acked-by: Lee Daly <lee.daly@intel.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] compress/isal: add ISA-L lib version display
2019-02-11 9:42 ` Daly, Lee
@ 2019-03-19 14:03 ` Akhil Goyal
2019-03-19 14:03 ` Akhil Goyal
0 siblings, 1 reply; 4+ messages in thread
From: Akhil Goyal @ 2019-03-19 14:03 UTC (permalink / raw)
To: Daly, Lee, Cel, TomaszX, dev
Cc: stable, Trahe, Fiona, De Lara Guarch, Pablo, Jozwiak, TomaszX
On 2/11/2019 3:12 PM, Daly, Lee wrote:
> Hi Tomasz,
> Looks good to me.
>> -----Original Message-----
>> From: Cel, TomaszX
>> Sent: Monday, February 11, 2019 9:19 AM
>> To: dev@dpdk.org
>> Cc: stable@dpdk.org; Trahe, Fiona <fiona.trahe@intel.com>; Daly, Lee
>> <lee.daly@intel.com>; De Lara Guarch, Pablo
>> <pablo.de.lara.guarch@intel.com>; Jozwiak, TomaszX
>> <tomaszx.jozwiak@intel.com>; Cel, TomaszX <tomaszx.cel@intel.com>
>> Subject: [PATCH] compress/isal: add ISA-L lib version display
>>
>> Display information about ISA-L lib version in UTs.
>>
>> Signed-off-by: Tomasz Cel <tomaszx.cel@intel.com>
>> ---
>> drivers/compress/isal/isal_compress_pmd.c | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/drivers/compress/isal/isal_compress_pmd.c
>> b/drivers/compress/isal/isal_compress_pmd.c
>> index 4748238..8879a42 100644
>> --- a/drivers/compress/isal/isal_compress_pmd.c
>> +++ b/drivers/compress/isal/isal_compress_pmd.c
> <...>
>
>> 2.7.4
> Acked-by: Lee Daly <lee.daly@intel.com>
>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] compress/isal: add ISA-L lib version display
2019-03-19 14:03 ` Akhil Goyal
@ 2019-03-19 14:03 ` Akhil Goyal
0 siblings, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2019-03-19 14:03 UTC (permalink / raw)
To: Daly, Lee, Cel, TomaszX, dev
Cc: stable, Trahe, Fiona, De Lara Guarch, Pablo, Jozwiak, TomaszX
On 2/11/2019 3:12 PM, Daly, Lee wrote:
> Hi Tomasz,
> Looks good to me.
>> -----Original Message-----
>> From: Cel, TomaszX
>> Sent: Monday, February 11, 2019 9:19 AM
>> To: dev@dpdk.org
>> Cc: stable@dpdk.org; Trahe, Fiona <fiona.trahe@intel.com>; Daly, Lee
>> <lee.daly@intel.com>; De Lara Guarch, Pablo
>> <pablo.de.lara.guarch@intel.com>; Jozwiak, TomaszX
>> <tomaszx.jozwiak@intel.com>; Cel, TomaszX <tomaszx.cel@intel.com>
>> Subject: [PATCH] compress/isal: add ISA-L lib version display
>>
>> Display information about ISA-L lib version in UTs.
>>
>> Signed-off-by: Tomasz Cel <tomaszx.cel@intel.com>
>> ---
>> drivers/compress/isal/isal_compress_pmd.c | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/drivers/compress/isal/isal_compress_pmd.c
>> b/drivers/compress/isal/isal_compress_pmd.c
>> index 4748238..8879a42 100644
>> --- a/drivers/compress/isal/isal_compress_pmd.c
>> +++ b/drivers/compress/isal/isal_compress_pmd.c
> <...>
>
>> 2.7.4
> Acked-by: Lee Daly <lee.daly@intel.com>
>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-19 14:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 9:18 [dpdk-dev] [PATCH] compress/isal: add ISA-L lib version display Tomasz Cel
2019-02-11 9:42 ` Daly, Lee
2019-03-19 14:03 ` Akhil Goyal
2019-03-19 14:03 ` Akhil Goyal
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).