aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAya Levin <[email protected]>2022-10-26 13:51:42 +0000
committerJakub Kicinski <[email protected]>2022-10-27 18:06:55 +0000
commit19b43a432e3e47db656a8269a74b50aef826950c (patch)
tree84f6b74c67d6d92687a19d73916866dcccfdf5b0 /net/unix/sysctl_net_unix.c
parentnet/mlx5: DR, Fix matcher disconnect error flow (diff)
downloadkernel-19b43a432e3e47db656a8269a74b50aef826950c.tar.gz
kernel-19b43a432e3e47db656a8269a74b50aef826950c.zip
net/mlx5e: Extend SKB room check to include PTP-SQ
When tx_port_ts is set, the driver diverts all UPD traffic over PTP port to a dedicated PTP-SQ. The SKBs are cached until the wire-CQE arrives. When the packet size is greater then MTU, the firmware might drop it and the packet won't be transmitted to the wire, hence the wire-CQE won't reach the driver. In this case the SKBs are accumulated in the SKB fifo. Add room check to consider the PTP-SQ SKB fifo, when the SKB fifo is full, driver stops the queue resulting in a TX timeout. Devlink TX-reporter can recover from it. Fixes: 1880bc4e4a96 ("net/mlx5e: Add TX port timestamp support") Signed-off-by: Aya Levin <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions