summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNatali Shechtman <natali@mellanox.com>2018-03-20 17:15:31 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-09-05 21:14:57 -0700
commitf007c13d4ad62f494c83897eda96437005df4a91 (patch)
treed73a0c6ba608ea7072f43edc91bee46852431ec5 /net
parent64109f1dc41f25f4a9c6b114e04b6266bf4128ad (diff)
net/mlx5e: Set ECN for received packets using CQE indication
In multi-host (MH) NIC scheme, a single HW port serves multiple hosts or sockets on the same host. The HW uses a mechanism in the PCIe buffer which monitors the amount of consumed PCIe buffers per host. On a certain configuration, under congestion, the HW emulates a switch doing ECN marking on packets using ECN indication on the completion descriptor (CQE). The driver needs to set the ECN bits on the packet SKB, such that the network stack can react on that, this commit does that. Signed-off-by: Natali Shechtman <natali@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions