i40iw: Add Quality of Service support
Add support for QoS on QPs. Upon device initialization, a map is created from user priority to queue set handles. On QP creation, use ToS to look up the queue set handle for use with the QP. Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Henry Orosco <henry.orosco@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

vanhempi
e37a79e5d4
commit
0fc2dc5889
@@ -74,6 +74,8 @@
|
||||
#define RS_32_1(val, bits) (u32)(val >> bits)
|
||||
#define I40E_HI_DWORD(x) ((u32)((((x) >> 16) >> 16) & 0xFFFFFFFF))
|
||||
|
||||
#define QS_HANDLE_UNKNOWN 0xffff
|
||||
|
||||
#define LS_64(val, field) (((u64)val << field ## _SHIFT) & (field ## _MASK))
|
||||
|
||||
#define RS_64(val, field) ((u64)(val & field ## _MASK) >> field ## _SHIFT)
|
||||
|
Viittaa uudesa ongelmassa
Block a user