summaryrefslogtreecommitdiff
path: root/net/sched
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2022-01-05 13:22:27 +0300
committerDavid S. Miller <davem@davemloft.net>2022-01-05 18:01:43 +0300
commitd43e4271747ace01a27a49a97a397cb4219f6487 (patch)
treef69abeaad052af478ed58b627988d841fcd0406c /net/sched
parent7da0694c01681166eebc7dc6130b329f2291c7c4 (diff)
downloadlinux-d43e4271747ace01a27a49a97a397cb4219f6487.tar.xz
mlxsw: pci: Avoid flow control for EMAD packets
Locally generated packets ingress the device through its CPU port. When the CPU port is congested and there are not enough credits in its headroom buffer, packets can be dropped. While this might be acceptable for data packets that traverse the network, configuration packets exchanged between the host and the device (EMADs) should not be subjected to this flow control. The "sdq_lp" bit in the SDQ (Send Descriptor Queue) context allows the host to instruct the device to treat packets sent on this queue as "local processing" and always process them, regardless of the state of the CPU port's headroom. Add the definition of this bit and set it for the dedicated SDQ reserved for the transmission of EMAD packets. This makes the "local processing" bit in the WQE (Work Queue Element) redundant, so clear it. Signed-off-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions