diff options
author | Amir Vadai <amirv@mellanox.com> | 2012-04-04 21:33:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-05 05:08:03 -0400 |
commit | 0e98b523c4a4119cbd17e58dff385cc329064694 (patch) | |
tree | 4c16b13b5f118cfcf607195d1683ed01ba508b77 /arch/m32r/oprofile | |
parent | 73a0d907301ece200d32b4e8ba2da2ca296b507f (diff) |
net/mlx4_en: Force user priority by QP attribute
Instead of relying on HW to change schedule queue by UP, schedule
queue is fixed for a tx_ring, and UP in WQE is ignored in this aspect. This
resolves two issues with untagged traffic:
1. untagged traffic has no UP in packet which is needed for QoS. The change
above allows setting the schedule queue (and by that the UP) of such a stream.
2. BlueFlame uses the same field used by vlan tag. So forcing UP from QPC
allows using BF for untagged but prioritized traffic.
In old firmware that force UP is not supported, untagged traffic will not subject to
QoS.
Because UP is set by QP, need to always have a tx ring per UP, even if pfcrx
module paramter is false.
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m32r/oprofile')
0 files changed, 0 insertions, 0 deletions