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.