Skip to contentSkip to conversation

VMDq + DCB: 128 Tx queues

DISCUSSION Sunil Bojanapally 3 participants 4 messages Aug 1, 2014 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi team,

As per dpdk programming guide on VMDq+DCB will configure each Ethernet port to 16 pools with 8 queues each. Which means per port will have 128 Rx & Tx queues.

The question is, in order to have end 2 end QoS support the port should get configured with 128 Rx as well as 128 Tx queues ?

Note: I am considering same port for Rx & Tx.

Thanks,
Sunil

A message that is not in the archive (sent off-list or not yet received): 53DB21E4.1030405-IzeFyvvaP7pWk0Htik3J/[email protected]

#2 lore raw

Yes, if you hope TX is configured DCB mode, and 128 TX queues are needed. In testpmd codes, there is an example how to use 128 RX queue and 128 TX queue simultaneously in vmdq+dcb mode. The example function is get_eth_dcb_conf() in testpmd.c file.

BRs,
Jijiang Liu

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Sunil Bojanapally
Sent: Friday, August 01, 2014 1:13 PM
To: [email protected]
Subject: [dpdk-dev] VMDq + DCB: 128 Tx queues

Hi team,

As per dpdk programming guide on VMDq+DCB will configure each Ethernet port to 16 pools with 8 queues each. Which means per port will have 128 Rx & Tx queues.

The question is, in order to have end 2 end QoS support the port should get configured with 128 Rx as well as 128 Tx queues ?

Note: I am considering same port for Rx & Tx.

Thanks,
Sunil

A message that is not in the archive (sent off-list or not yet received): 1ED644BD7E0A5F4091CF203DAFB8E4CC01D5618F-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org

#4 lore raw

Thanks Liu for the pointer to function implemented in testpmd.c

Just want to know in RX configured pools, what scheduling method is used in polling the queues.

-Sunil

On Fri, Aug 01, 2014 at 1:11 PM, Liu, Jijiang <[email protected]<mailto:[email protected]>> wrote:

Yes, if you hope TX is configured DCB mode, and 128 TX queues are needed. In testpmd codes, there is an example how to use 128 RX queue and 128 TX queue simultaneously in vmdq+dcb mode. The example function is get_eth_dcb_conf() in testpmd.c file.

BRs,
Jijiang Liu

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Sunil Bojanapally
Sent: Friday, August 01, 2014 1:13 PM
To: [email protected]
Subject: [dpdk-dev] VMDq + DCB: 128 Tx queues

Hi team,

As per dpdk programming guide on VMDq+DCB will configure each Ethernet port to 16 pools with 8 queues each. Which means per port will have 128 Rx & Tx queues.

The question is, in order to have end 2 end QoS support the port should get configured with 128 Rx as well as 128 Tx queues ?

Note: I am considering same port for Rx & Tx.

Thanks,
Sunil

A message that is not in the archive (sent off-list or not yet received): 2093D5E48464CB43A02B12483F758F7A1A3BB243-hqolJogE5nh2vuFHRGf8SOaU1rCVNFv4@public.gmane.org

#6 lore raw
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Sunil Bojanapally
Sent: Friday, August 01, 2014 9:13 AM
To: Liu, Jijiang
Cc: [email protected]
Subject: Re: [dpdk-dev] VMDq + DCB: 128 Tx queues

Thanks Liu for the pointer to function implemented in testpmd.c

Just want to know in RX configured pools, what scheduling method is used in polling the queues.

How the queues are polled when in vmdq+dcb mode is entirely up to the application, as the queue id passed into the rx_burst function will refer directly to one of the hardware queues to be read. There is no behind-the-scenes magic and prioritization of packets being done, the app knows best what way it wants the packets to be read and processed.

Regards,
/Bruce

Quoted 34 lines

-Sunil

On Fri, Aug 01, 2014 at 1:11 PM, Liu, Jijiang <[email protected]<mailto:[email protected]>> wrote:

Yes, if you hope TX is configured DCB mode, and 128 TX queues are needed. In testpmd codes, there is an example how to use 128 RX queue and 128 TX queue simultaneously in vmdq+dcb mode.
The example function is get_eth_dcb_conf() in testpmd.c file.

BRs,
Jijiang Liu

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Sunil Bojanapally
Sent: Friday, August 01, 2014 1:13 PM
To: [email protected]
Subject: [dpdk-dev] VMDq + DCB: 128 Tx queues

Hi team,

As per dpdk programming guide on VMDq+DCB will configure each Ethernet port to 16 pools with 8 queues each. Which means per port will have 128 Rx & Tx queues.

The question is, in order to have end 2 end QoS support the port should get configured with 128 Rx as well as 128 Tx queues ?

Note: I am considering same port for Rx & Tx.

Thanks,
Sunil