DPDK usage discussions
 help / color / mirror / Atom feed
* [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK
@ 2022-04-28 12:25 Antoine POLLENUS
  2022-05-02  7:58 ` Asaf Penso
  0 siblings, 1 reply; 6+ messages in thread
From: Antoine POLLENUS @ 2022-04-28 12:25 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]

Hello,

DPDK Version: 21.11
Firmware version : 22.32.1010
MLNX_OFED version: MLNX_OFED_LINUX-5.5-1.0.3.2-ubuntu20.04-x86_64

We are trying to use the DPDK tx scheduling feature on a ConnectX6 DX adapter. We experience some issues with the feature not working.

The test is using Test-pmd in txonly mode.

Here are the command used:

sudo ./dpdk-testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=1 --eth-peer=0,01:00:5e:00:00:08 --tx-ip=10.10.1.168,239.0.0.8
testpmd> set fwd txonly
testpmd> set burst 64
testpmd> set txtimes 1000000,10000

By doing this I expect the feature working. Am i missing something ?

I also added a print in txonly.c and clearly sees that the feature is not enabled

dynf = rte_mbuf_dynflag_lookup
(RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME, NULL);
if (dynf >= 0)
timestamp_mask = 1ULL << dynf;
dynf = rte_mbuf_dynfield_lookup
(RTE_MBUF_DYNFIELD_TIMESTAMP_NAME, NULL);
if (dynf >= 0)
timestamp_off = dynf;

both function ( rte_mbuf_dynfield_lookup and rte_mbuf_dynflag_lookup) returns -1

I also tried to enabled the feature.

testpmd> port config 0 tx_offload send_on_timestamp on
but when doing this DPDK tells me that I don't have these offload capabilities

Hope you will be able to help me.

Regards

Antoine

[-- Attachment #2: Type: text/html, Size: 6506 bytes --]

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

* RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK
  2022-04-28 12:25 [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK Antoine POLLENUS
@ 2022-05-02  7:58 ` Asaf Penso
  2022-05-02  8:53   ` Antoine POLLENUS
  0 siblings, 1 reply; 6+ messages in thread
From: Asaf Penso @ 2022-05-02  7:58 UTC (permalink / raw)
  To: Antoine POLLENUS, users, Slava Ovsiienko

[-- Attachment #1: Type: text/plain, Size: 1708 bytes --]

Hello Antoine,

Have you had a look into mlx5 documentation?
http://doc.dpdk.org/guides/nics/mlx5.html
Please look for tx_pp.

I'm adding @Slava Ovsiienko<mailto:viacheslavo@nvidia.com> in case you need further support.

Regards,
Asaf Penso

From: Antoine POLLENUS <a.pollenus@deltacast.tv>
Sent: Thursday, April 28, 2022 3:25 PM
To: users@dpdk.org
Subject: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK

Hello,

DPDK Version: 21.11
Firmware version : 22.32.1010
MLNX_OFED version: MLNX_OFED_LINUX-5.5-1.0.3.2-ubuntu20.04-x86_64

We are trying to use the DPDK tx scheduling feature on a ConnectX6 DX adapter. We experience some issues with the feature not working.

The test is using Test-pmd in txonly mode.

Here are the command used:

sudo ./dpdk-testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=1 --eth-peer=0,01:00:5e:00:00:08 --tx-ip=10.10.1.168,239.0.0.8
testpmd> set fwd txonly
testpmd> set burst 64
testpmd> set txtimes 1000000,10000

By doing this I expect the feature working. Am i missing something ?

I also added a print in txonly.c and clearly sees that the feature is not enabled

dynf = rte_mbuf_dynflag_lookup
(RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME, NULL);
if (dynf >= 0)
timestamp_mask = 1ULL << dynf;
dynf = rte_mbuf_dynfield_lookup
(RTE_MBUF_DYNFIELD_TIMESTAMP_NAME, NULL);
if (dynf >= 0)
timestamp_off = dynf;

both function ( rte_mbuf_dynfield_lookup and rte_mbuf_dynflag_lookup) returns -1

I also tried to enabled the feature.

testpmd> port config 0 tx_offload send_on_timestamp on
but when doing this DPDK tells me that I don't have these offload capabilities

Hope you will be able to help me.

Regards

Antoine

[-- Attachment #2: Type: text/html, Size: 7311 bytes --]

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

* RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK
  2022-05-02  7:58 ` Asaf Penso
@ 2022-05-02  8:53   ` Antoine POLLENUS
  2022-05-02  9:30     ` Asaf Penso
  0 siblings, 1 reply; 6+ messages in thread
From: Antoine POLLENUS @ 2022-05-02  8:53 UTC (permalink / raw)
  To: Asaf Penso, users, Slava Ovsiienko

[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]

Thanks for you answer,

Already red the doc on the subject but can't make it work in testpmd.
Didn't implemented it myself at this step but seams I'm missing something.

Do I need to enable a specific offload ?


From: Asaf Penso [mailto:asafp@nvidia.com]
Sent: lundi 2 mai 2022 09:59
To: Antoine POLLENUS <a.pollenus@deltacast.tv>; users@dpdk.org; Slava Ovsiienko <viacheslavo@nvidia.com>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK

Hello Antoine,

Have you had a look into mlx5 documentation?
http://doc.dpdk.org/guides/nics/mlx5.html
Please look for tx_pp.

I'm adding @Slava Ovsiienko<mailto:viacheslavo@nvidia.com> in case you need further support.

Regards,
Asaf Penso

From: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>
Sent: Thursday, April 28, 2022 3:25 PM
To: users@dpdk.org<mailto:users@dpdk.org>
Subject: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK

Hello,

DPDK Version: 21.11
Firmware version : 22.32.1010
MLNX_OFED version: MLNX_OFED_LINUX-5.5-1.0.3.2-ubuntu20.04-x86_64

We are trying to use the DPDK tx scheduling feature on a ConnectX6 DX adapter. We experience some issues with the feature not working.

The test is using Test-pmd in txonly mode.

Here are the command used:

sudo ./dpdk-testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=1 --eth-peer=0,01:00:5e:00:00:08 --tx-ip=10.10.1.168,239.0.0.8
testpmd> set fwd txonly
testpmd> set burst 64
testpmd> set txtimes 1000000,10000

By doing this I expect the feature working. Am i missing something ?

I also added a print in txonly.c and clearly sees that the feature is not enabled

dynf = rte_mbuf_dynflag_lookup
(RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME, NULL);
if (dynf >= 0)
timestamp_mask = 1ULL << dynf;
dynf = rte_mbuf_dynfield_lookup
(RTE_MBUF_DYNFIELD_TIMESTAMP_NAME, NULL);
if (dynf >= 0)
timestamp_off = dynf;

both function ( rte_mbuf_dynfield_lookup and rte_mbuf_dynflag_lookup) returns -1

I also tried to enabled the feature.

testpmd> port config 0 tx_offload send_on_timestamp on
but when doing this DPDK tells me that I don't have these offload capabilities

Hope you will be able to help me.

Regards

Antoine

[-- Attachment #2: Type: text/html, Size: 11005 bytes --]

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

* Re: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK
  2022-05-02  8:53   ` Antoine POLLENUS
@ 2022-05-02  9:30     ` Asaf Penso
  2022-05-02 11:36       ` Antoine POLLENUS
  0 siblings, 1 reply; 6+ messages in thread
From: Asaf Penso @ 2022-05-02  9:30 UTC (permalink / raw)
  To: Antoine POLLENUS, users, Slava Ovsiienko

[-- Attachment #1: Type: text/plain, Size: 2771 bytes --]

For example, I don't see you add the tx_pp devarg as part of the testpmd command line.

Regards,
Asaf Penso
________________________________
From: Antoine POLLENUS <a.pollenus@deltacast.tv>
Sent: Monday, May 2, 2022 11:53:18 AM
To: Asaf Penso <asafp@nvidia.com>; users@dpdk.org <users@dpdk.org>; Slava Ovsiienko <viacheslavo@nvidia.com>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK


Thanks for you answer,

Already red the doc on the subject but can’t make it work in testpmd.
Didn’t implemented it myself at this step but seams I’m missing something.

Do I need to enable a specific offload ?




From: Asaf Penso [mailto:asafp@nvidia.com]
Sent: lundi 2 mai 2022 09:59
To: Antoine POLLENUS <a.pollenus@deltacast.tv>; users@dpdk.org; Slava Ovsiienko <viacheslavo@nvidia.com>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



Hello Antoine,



Have you had a look into mlx5 documentation?

http://doc.dpdk.org/guides/nics/mlx5.html

Please look for tx_pp.



I’m adding @Slava Ovsiienko<mailto:viacheslavo@nvidia.com> in case you need further support.



Regards,

Asaf Penso



From: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>
Sent: Thursday, April 28, 2022 3:25 PM
To: users@dpdk.org<mailto:users@dpdk.org>
Subject: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



Hello,



DPDK Version: 21.11

Firmware version : 22.32.1010

MLNX_OFED version: MLNX_OFED_LINUX-5.5-1.0.3.2-ubuntu20.04-x86_64



We are trying to use the DPDK tx scheduling feature on a ConnectX6 DX adapter. We experience some issues with the feature not working.



The test is using Test-pmd in txonly mode.



Here are the command used:



sudo ./dpdk-testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=1 --eth-peer=0,01:00:5e:00:00:08 --tx-ip=10.10.1.168,239.0.0.8

testpmd> set fwd txonly

testpmd> set burst 64

testpmd> set txtimes 1000000,10000



By doing this I expect the feature working. Am i missing something ?



I also added a print in txonly.c and clearly sees that the feature is not enabled



dynf = rte_mbuf_dynflag_lookup

(RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME, NULL);

if (dynf >= 0)

timestamp_mask = 1ULL << dynf;

dynf = rte_mbuf_dynfield_lookup

(RTE_MBUF_DYNFIELD_TIMESTAMP_NAME, NULL);

if (dynf >= 0)

timestamp_off = dynf;



both function ( rte_mbuf_dynfield_lookup and rte_mbuf_dynflag_lookup) returns -1



I also tried to enabled the feature.



testpmd> port config 0 tx_offload send_on_timestamp on

but when doing this DPDK tells me that I don't have these offload capabilities



Hope you will be able to help me.



Regards



Antoine

[-- Attachment #2: Type: text/html, Size: 10369 bytes --]

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

* RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK
  2022-05-02  9:30     ` Asaf Penso
@ 2022-05-02 11:36       ` Antoine POLLENUS
  2022-05-19  4:39         ` Asaf Penso
  0 siblings, 1 reply; 6+ messages in thread
From: Antoine POLLENUS @ 2022-05-02 11:36 UTC (permalink / raw)
  To: Asaf Penso, users, Slava Ovsiienko

[-- Attachment #1: Type: text/plain, Size: 3313 bytes --]

I'm not really familiar with testpmd, how am I supposed to do that ?

From: Asaf Penso [mailto:asafp@nvidia.com]
Sent: lundi 2 mai 2022 11:30
To: Antoine POLLENUS <a.pollenus@deltacast.tv>; users@dpdk.org; Slava Ovsiienko <viacheslavo@nvidia.com>
Subject: Re: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK

For example, I don't see you add the tx_pp devarg as part of the testpmd command line.

Regards,
Asaf Penso
________________________________
From: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>
Sent: Monday, May 2, 2022 11:53:18 AM
To: Asaf Penso <asafp@nvidia.com<mailto:asafp@nvidia.com>>; users@dpdk.org<mailto:users@dpdk.org> <users@dpdk.org<mailto:users@dpdk.org>>; Slava Ovsiienko <viacheslavo@nvidia.com<mailto:viacheslavo@nvidia.com>>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK


Thanks for you answer,

Already red the doc on the subject but can't make it work in testpmd.
Didn't implemented it myself at this step but seams I'm missing something.

Do I need to enable a specific offload ?



From: Asaf Penso [mailto:asafp@nvidia.com]
Sent: lundi 2 mai 2022 09:59
To: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>; users@dpdk.org<mailto:users@dpdk.org>; Slava Ovsiienko <viacheslavo@nvidia.com<mailto:viacheslavo@nvidia.com>>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



Hello Antoine,



Have you had a look into mlx5 documentation?

http://doc.dpdk.org/guides/nics/mlx5.html

Please look for tx_pp.



I'm adding @Slava Ovsiienko<mailto:viacheslavo@nvidia.com> in case you need further support.



Regards,

Asaf Penso



From: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>
Sent: Thursday, April 28, 2022 3:25 PM
To: users@dpdk.org<mailto:users@dpdk.org>
Subject: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



Hello,



DPDK Version: 21.11

Firmware version : 22.32.1010

MLNX_OFED version: MLNX_OFED_LINUX-5.5-1.0.3.2-ubuntu20.04-x86_64



We are trying to use the DPDK tx scheduling feature on a ConnectX6 DX adapter. We experience some issues with the feature not working.



The test is using Test-pmd in txonly mode.



Here are the command used:



sudo ./dpdk-testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=1 --eth-peer=0,01:00:5e:00:00:08 --tx-ip=10.10.1.168,239.0.0.8

testpmd> set fwd txonly

testpmd> set burst 64

testpmd> set txtimes 1000000,10000



By doing this I expect the feature working. Am i missing something ?



I also added a print in txonly.c and clearly sees that the feature is not enabled



dynf = rte_mbuf_dynflag_lookup

(RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME, NULL);

if (dynf >= 0)

timestamp_mask = 1ULL << dynf;

dynf = rte_mbuf_dynfield_lookup

(RTE_MBUF_DYNFIELD_TIMESTAMP_NAME, NULL);

if (dynf >= 0)

timestamp_off = dynf;



both function ( rte_mbuf_dynfield_lookup and rte_mbuf_dynflag_lookup) returns -1



I also tried to enabled the feature.



testpmd> port config 0 tx_offload send_on_timestamp on

but when doing this DPDK tells me that I don't have these offload capabilities



Hope you will be able to help me.



Regards



Antoine

[-- Attachment #2: Type: text/html, Size: 14964 bytes --]

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

* Re: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK
  2022-05-02 11:36       ` Antoine POLLENUS
@ 2022-05-19  4:39         ` Asaf Penso
  0 siblings, 0 replies; 6+ messages in thread
From: Asaf Penso @ 2022-05-19  4:39 UTC (permalink / raw)
  To: Antoine POLLENUS, users, Slava Ovsiienko

[-- Attachment #1: Type: text/plain, Size: 3991 bytes --]

Example:


dpdk-testpmd -c 0x7ffc0000 -n 4 -a d8:00.1, tx_pp=1 -a d8:00.0,tx_pp=1--burst=64 --txd=256 --rxd=256 --mbcache=512 --rxq=2 --txq=2 --nb-cores=1 --no-lsc-interrupt -i --auto-start --rss-udp

You can read more about testpmd and the specific mlx5 devargs for tx_pp here:
http://doc.dpdk.org/guides/nics/mlx5.html

Regards,
Asaf Penso
________________________________
From: Antoine POLLENUS <a.pollenus@deltacast.tv>
Sent: Monday, May 2, 2022 2:36:10 PM
To: Asaf Penso <asafp@nvidia.com>; users@dpdk.org <users@dpdk.org>; Slava Ovsiienko <viacheslavo@nvidia.com>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK


I’m not really familiar with testpmd, how am I supposed to do that ?



From: Asaf Penso [mailto:asafp@nvidia.com]
Sent: lundi 2 mai 2022 11:30
To: Antoine POLLENUS <a.pollenus@deltacast.tv>; users@dpdk.org; Slava Ovsiienko <viacheslavo@nvidia.com>
Subject: Re: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



For example, I don't see you add the tx_pp devarg as part of the testpmd command line.



Regards,

Asaf Penso

________________________________

From: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>
Sent: Monday, May 2, 2022 11:53:18 AM
To: Asaf Penso <asafp@nvidia.com<mailto:asafp@nvidia.com>>; users@dpdk.org<mailto:users@dpdk.org> <users@dpdk.org<mailto:users@dpdk.org>>; Slava Ovsiienko <viacheslavo@nvidia.com<mailto:viacheslavo@nvidia.com>>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



Thanks for you answer,

Already red the doc on the subject but can’t make it work in testpmd.
Didn’t implemented it myself at this step but seams I’m missing something.

Do I need to enable a specific offload ?



From: Asaf Penso [mailto:asafp@nvidia.com]
Sent: lundi 2 mai 2022 09:59
To: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>; users@dpdk.org<mailto:users@dpdk.org>; Slava Ovsiienko <viacheslavo@nvidia.com<mailto:viacheslavo@nvidia.com>>
Subject: RE: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



Hello Antoine,



Have you had a look into mlx5 documentation?

http://doc.dpdk.org/guides/nics/mlx5.html

Please look for tx_pp.



I’m adding @Slava Ovsiienko<mailto:viacheslavo@nvidia.com> in case you need further support.



Regards,

Asaf Penso



From: Antoine POLLENUS <a.pollenus@deltacast.tv<mailto:a.pollenus@deltacast.tv>>
Sent: Thursday, April 28, 2022 3:25 PM
To: users@dpdk.org<mailto:users@dpdk.org>
Subject: [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK



Hello,



DPDK Version: 21.11

Firmware version : 22.32.1010

MLNX_OFED version: MLNX_OFED_LINUX-5.5-1.0.3.2-ubuntu20.04-x86_64



We are trying to use the DPDK tx scheduling feature on a ConnectX6 DX adapter. We experience some issues with the feature not working.



The test is using Test-pmd in txonly mode.



Here are the command used:



sudo ./dpdk-testpmd -l 0-3 -n 4 -- -i --portmask=0x1 --nb-cores=1 --eth-peer=0,01:00:5e:00:00:08 --tx-ip=10.10.1.168,239.0.0.8

testpmd> set fwd txonly

testpmd> set burst 64

testpmd> set txtimes 1000000,10000



By doing this I expect the feature working. Am i missing something ?



I also added a print in txonly.c and clearly sees that the feature is not enabled



dynf = rte_mbuf_dynflag_lookup

(RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME, NULL);

if (dynf >= 0)

timestamp_mask = 1ULL << dynf;

dynf = rte_mbuf_dynfield_lookup

(RTE_MBUF_DYNFIELD_TIMESTAMP_NAME, NULL);

if (dynf >= 0)

timestamp_off = dynf;



both function ( rte_mbuf_dynfield_lookup and rte_mbuf_dynflag_lookup) returns -1



I also tried to enabled the feature.



testpmd> port config 0 tx_offload send_on_timestamp on

but when doing this DPDK tells me that I don't have these offload capabilities



Hope you will be able to help me.



Regards



Antoine

[-- Attachment #2: Type: text/html, Size: 14240 bytes --]

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

end of thread, other threads:[~2022-05-19  4:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 12:25 [ConnectX 6Dx]Issue using Tx scheduling feature in DPDK Antoine POLLENUS
2022-05-02  7:58 ` Asaf Penso
2022-05-02  8:53   ` Antoine POLLENUS
2022-05-02  9:30     ` Asaf Penso
2022-05-02 11:36       ` Antoine POLLENUS
2022-05-19  4:39         ` Asaf Penso

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://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/ http://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