DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Segmentation fault in aes_cmac_subkey_gen_avx512 and avx512 usage 
@ 2019-12-06 20:40 Suraj R Gupta
  2019-12-06 21:38 ` Suraj R Gupta
  0 siblings, 1 reply; 2+ messages in thread
From: Suraj R Gupta @ 2019-12-06 20:40 UTC (permalink / raw)
  To: dev, users
  Cc: Trahe, Fiona, tomasz.kantecki, marcel.d.cornu, pablo.de.lara.guarch

Hi all,
I am encountering some issues in using intel multi buffer library with dpdk
crypto library.




*DPDK version used - 18.05.1Intel Multibuffer library version - 0.52
( https://github.com/intel/intel-ipsec-mb/tree/v0.52
<https://github.com/intel/intel-ipsec-mb/tree/v0.52> )CPU - InfoIntel(R)
Core(TM) i7-8700 CPU @ 3.20GHz*

1. When I am using aes cmac with intel multi buffer library from DPDK. I am
receiving an segmentation fault in aes_cmac_subkey_gen_avx512().
This segmentation fault appears at times.
Thread 5 "lcore-slave-1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7feff43fe700 (LWP 24301)]
0x00007ffff730ab04 in aes_cmac_subkey_gen_avx512 () from
/usr/lib/libIPSec_MB.so.0

2. On compiling the above intel multi buffer library and running LibTestApp
from multi buffer library. It is showing Illegal Instruction.
AES-CFB128 standard test vectors:
........................
...Pass
SHA standard test vectors (N jobs = 1):
....................
...Pass
Testing AVX512 interface
Illegal instruction (core dumped)

I am not able to understand the issue. Request you to help me in this
regard.
Please revert for any clarification.
-- 
Thanks and Regards
Suraj R Gupta

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

* Re: [dpdk-users] Segmentation fault in aes_cmac_subkey_gen_avx512 and avx512 usage
  2019-12-06 20:40 [dpdk-users] Segmentation fault in aes_cmac_subkey_gen_avx512 and avx512 usage Suraj R Gupta
@ 2019-12-06 21:38 ` Suraj R Gupta
  0 siblings, 0 replies; 2+ messages in thread
From: Suraj R Gupta @ 2019-12-06 21:38 UTC (permalink / raw)
  To: dev, users
  Cc: Trahe, Fiona, tomasz.kantecki, marcel.d.cornu, pablo.de.lara.guarch

Some more Info.
Basically the CPU does not support AVX512.
So, I think I need to disable avx512 instructions when compiling
multibuffer library, DPDK and the application itself.
I tried using some -mno-avx512x flags but still error persisted.
Is the observation valid? I need help in disabling avx512 functions then.
would it affect performances nd usage?

On Sat, Dec 7, 2019 at 2:10 AM Suraj R Gupta <surajrgupta@iith.ac.in> wrote:

> Hi all,
> I am encountering some issues in using intel multi buffer library with dpdk
> crypto library.
>
>
>
>
> *DPDK version used - 18.05.1Intel Multibuffer library version - 0.52
> ( https://github.com/intel/intel-ipsec-mb/tree/v0.52
> <https://github.com/intel/intel-ipsec-mb/tree/v0.52> )CPU - InfoIntel(R)
> Core(TM) i7-8700 CPU @ 3.20GHz*
>
> 1. When I am using aes cmac with intel multi buffer library from DPDK. I am
> receiving an segmentation fault in aes_cmac_subkey_gen_avx512().
> This segmentation fault appears at times.
> Thread 5 "lcore-slave-1" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7feff43fe700 (LWP 24301)]
> 0x00007ffff730ab04 in aes_cmac_subkey_gen_avx512 () from
> /usr/lib/libIPSec_MB.so.0
>
> 2. On compiling the above intel multi buffer library and running LibTestApp
> from multi buffer library. It is showing Illegal Instruction.
> AES-CFB128 standard test vectors:
> ........................
> ...Pass
> SHA standard test vectors (N jobs = 1):
> ....................
> ...Pass
> Testing AVX512 interface
> Illegal instruction (core dumped)
>
> I am not able to understand the issue. Request you to help me in this
> regard.
> Please revert for any clarification.
> --
> Thanks and Regards
> Suraj R Gupta
>


-- 
Thanks and Regards
Suraj R Gupta

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

end of thread, other threads:[~2019-12-06 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 20:40 [dpdk-users] Segmentation fault in aes_cmac_subkey_gen_avx512 and avx512 usage Suraj R Gupta
2019-12-06 21:38 ` Suraj R Gupta

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