Thread (16 messages) 16 messages, 3 authors, 2011-11-12

Re: [PATCH net-next 09/13] bnx2x: add pri_map module parameter

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-11-12 05:50:32

From: "Dmitry Kravkov" <redacted>
Date: Thu, 10 Nov 2011 17:14:10 +0200
From: Ariel Elior <redacted>

The optional parameter pri_map is used to map the
skb->priority to a Class Of Service (CoS) in the HW.
This 32 bit parameter is evaluated by the  driver as 8
values of 4 bits each. Each nibble sets the desired
HW queue number for that priority.

Also:
on the 5771x family this feature is unavailable (a single COS services all).
on the 57712 family two classes of service are available.
on the 578xx family three classes of service are availabe.
configuring  priorities to unavailable COSs will log an error and default to
COS 0.

Signed-off-by: Dmitry Kravkov <redacted>
Signed-off-by: Eilon Greenstein <redacted>
You can't do driver specific things like this.

Make a generic facility that any driver can make use of, not just
your's.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help