DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK QOS
@ 2016-09-06  7:29 Kapil Adhikesavalu
  2016-09-07 12:48 ` Singh, Jasvinder
  0 siblings, 1 reply; 2+ messages in thread
From: Kapil Adhikesavalu @ 2016-09-06  7:29 UTC (permalink / raw)
  To: users

Hello,

I currently receive both control and data traffic on my dpdk port. I want
to classify the packets and assign more priority to the control packets; is
there a way to put the control packets in one queue and give it a higher
priority than the other queue(s).

>From the dpdk QOS section, i see Qos metering and scheduling can be done
only for the traffic sent out of the port (Tx) ? or am i missing something ?

Regards
Kapil.

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

* Re: [dpdk-users] DPDK QOS
  2016-09-06  7:29 [dpdk-users] DPDK QOS Kapil Adhikesavalu
@ 2016-09-07 12:48 ` Singh, Jasvinder
  0 siblings, 0 replies; 2+ messages in thread
From: Singh, Jasvinder @ 2016-09-07 12:48 UTC (permalink / raw)
  To: Kapil Adhikesavalu, users

Hi Kapil,

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Kapil
> Adhikesavalu
> Sent: Tuesday, September 6, 2016 8:29 AM
> To: users@dpdk.org
> Subject: [dpdk-users] DPDK QOS
> 
> Hello,
> 
> I currently receive both control and data traffic on my dpdk port. I want to
> classify the packets and assign more priority to the control packets; is there a
> way to put the control packets in one queue and give it a higher priority than
> the other queue(s).


DPDK QoS scheduler prioritizes the packets, enqueue them into queues and schedule their transmission  based on available bandwidth as per configured SLAs.
In your case, the traffic belonging to different classes (control, data) needs to be appropriately queued in. For that, you can learn from the classification stage of the QoS which set the "sched" field of the mbuf.  Later, this field can be consumed to determine the priority of the packets (i.e. traffic class & queue ) and buffer them into respective queues. Depending upon your application, you can select scheduling process to determine which packet is to be transmitted next.  


> From the dpdk QOS section, i see Qos metering and scheduling can be done
> only for the traffic sent out of the port (Tx) ? or am i missing something ?

QoS traffic metering is applied to the input packet as a measure of how much the user/flow currently exceeds its pre-allocated bandwidth, while QoS Scheduling (traffic management) refers to prioritizing the output packets in the case the available traffic exceeds the available bandwidth based on pre-configured SLAs.


> Regards
> Kapil.

Jasvinder

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

end of thread, other threads:[~2016-09-07 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06  7:29 [dpdk-users] DPDK QOS Kapil Adhikesavalu
2016-09-07 12:48 ` Singh, Jasvinder

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