summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-01-05 11:36:40 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-06 00:48:50 -0500
commitf0138e2596f2994129451ee320ff8692cb7bc86b (patch)
tree39af823c186a43a3e7b11287ba4e4245e306b4eb /net/ipv4/udp.c
parent56b87180cc59136e87a20c596566790cc88544b9 (diff)
downloadop-kernel-dev-f0138e2596f2994129451ee320ff8692cb7bc86b.zip
op-kernel-dev-f0138e2596f2994129451ee320ff8692cb7bc86b.tar.gz
mlxsw: pci: Adjust value of CPU egress traffic class
During initialization, when creating the send descriptor queues (SDQs), we specify the CPU egress traffic class of each SDQ. The maximum number of classes of this type is different in the two ASICs supported by this PCI driver. New firmware versions check this value is set correctly, which causes errors on the Spectrum ASIC, as its max exposed egress traffic class is lower than 7. Solve this by setting this field to 3, which is an acceptable value for both ASICs. Note that we currently do not expose the QoS capabilities of the ASICs, so setting this to an hardcoded value is OK for now. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud