DPDK usage discussions
 help / color / mirror / Atom feed
From: "Trahe, Fiona" <fiona.trahe@intel.com>
To: "Joshi, Venkatesh" <venkatesh.joshi@hpe.com>,
	"users@dpdk.org" <users@dpdk.org>
Cc: "Trahe, Fiona" <fiona.trahe@intel.com>
Subject: Re: [dpdk-users] DPDK-19.11 : IPSEC-SECGW tests not successful
Date: Wed, 22 Jul 2020 11:45:04 +0000
Message-ID: <SN6PR11MB288002A3C912685C2DF73BFFE4790@SN6PR11MB2880.namprd11.prod.outlook.com> (raw)
In-Reply-To: <AT5PR8401MB0545C4B3E2735DA826C37A5BEC790@AT5PR8401MB0545.NAMPRD84.PROD.OUTLOOK.COM>

Have you tried using --log-level=8 (or ="qat,8") on your process commandline?
In conjunction with rebuilding with 
CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_DEBUG 
this should show if any cryptodev ops are being sent to QAT PMD.

Something else to try would be  - can you run either  
dpdk-test-crypto-perf or the unit test application - just to validate that the process can run crypto on QAT PMD ok.
Your setup for QAT looks ok. 

Also could you share the command-line you're using for each process please.


> -----Original Message-----
> From: users <users-bounces@dpdk.org> On Behalf Of Joshi, Venkatesh
> Sent: Wednesday, July 22, 2020 8:51 AM
> To: users@dpdk.org
> Subject: [dpdk-users] DPDK-19.11 : IPSEC-SECGW tests not successful
> 
> Hi,
> 
> I'm not able to successfully run the IPSEC-SECGW tests with DPDK-19.11. I have followed the guide
> published at doc.dpdk.org but still not able to get things right.
> 
> Please help me figure out what could be wrong.
> 
> Here are the setup details:
> 
> Network Diagram:
> ------------------
>                                       XL710                             XL 710
>                |---------------------|Port 1        IPSEC Tunnel        Port 1|----------------------|
>                |    Intel board 1    |<-------------------------------------->|   Intel board 2      |
>                |---------------------|                                        |----------------------|
>                  Port 0  ^                                                               ^ Port 0 (XL710)
>                  (XL710) |                                                               |
>                          |         |--------------------------------|                    |
>                           -------->|7          IXIA                4|<-------------------
>                                    |--------------------------------|
> 
> * Linux kernel: 4.14
> * DPDK version: 19.11
> * All ports are 40G ports (XL710 NICs)
> * The intel board is: Intel(R) Xeon(R) Gold 5220 CPU
>                       - has a single socket, 18 cores, 2 threads per core
> * The QAT card: C62x
> 
> 
> Issue:
> --------
> * Traffic is sent from IXIA Port 4 to IXIA port 7:
>    - This is IP/UDP traffic of size 1024 bytes
>    - The dst mac is set to the MAC of port 0 of the XL710 NIC of Intel board 2
>    - The src ip: 40.1.1.10, dst ip: 30.1.1.10
>    - No packets are received on IXIA Port 7
>    - On further debugging: Packets are not getting forwarded out of the IPSEC tunnel from Intel board 2.
> 
> On Intel board 1:
> -------------------
> XL710 Port 0: b3:00.0 - bound to vfio-pci
> XL710 Port 1: b3:00.1 - bound to vfio-pci
> QAT VF: 0000:67:01.0 'Device 37c9' drv=vfio-pci
> 
> Endpoint 0 config file: attached
> Command-line and output file: attached
> 
> On Intel board 2:
> -------------------
> XL710 Port 0: 17:00.0 - bound to vfio-pci
> XL710 Port 1: 17:00.1 - bound to vfio-pci
> QAT VF: 0000:68:01.0 'Device 37c9' drv=vfio-pci
> 
> Endpoint 1 config file: attached
> Command-line and output file: attached
> 
> 
> DPDK:
> -------
> - config has the following set:
>   CONFIG_RTE_LIBRTE_PMD_QAT=y
>   CONFIG_RTE_LIBRTE_PMD_QAT_SYM=y
> 
> QAT driver version: qat1.7.l.4.9.0-00008
> -------------------------------------------
> Makefile has: ICP_SRIOV_AM=1
> ./configure --enable-icp-sriov=host
> 
> 
> Please let me know if any additional information is required.
> 
> 
> Regards,
> Venkatesh
> 
> 
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: intel-board1-cmdline-and-output.txt
> URL: <http://mails.dpdk.org/archives/users/attachments/20200722/3050bab3/attachment.txt>
> -------------- next part --------------
> An embedded and charset-unspecified text was scrubbed...
> Name: intel-board2-cmdline-and-output.txt
> URL: <http://mails.dpdk.org/archives/users/attachments/20200722/3050bab3/attachment-0001.txt>

  reply	other threads:[~2020-07-22 11:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22  7:50 Joshi, Venkatesh
2020-07-22 11:45 ` Trahe, Fiona [this message]
2020-07-22 16:05   ` Joshi, Venkatesh
2020-07-22 16:10     ` Trahe, Fiona
2020-07-22 17:23       ` Joshi, Venkatesh
2020-07-22 17:42         ` Trahe, Fiona

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SN6PR11MB288002A3C912685C2DF73BFFE4790@SN6PR11MB2880.namprd11.prod.outlook.com \
    --to=fiona.trahe@intel.com \
    --cc=users@dpdk.org \
    --cc=venkatesh.joshi@hpe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git