summaryrefslogtreecommitdiff
path: root/include/linux/netdev_features.h
diff options
context:
space:
mode:
authorShahar Shitrit <shshitrit@nvidia.com>2026-01-12 12:16:21 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-01-15 13:55:05 +0300
commitcfbc8b6babf24ab252b6b5db936adbb5f3ca45dd (patch)
treed8bc0f027c0dca4289f5b5b793c09029c43e81e2 /include/linux/netdev_features.h
parentcc75d43783f74fe0a1c288aba9e6ac55f1444977 (diff)
downloadlinux-cfbc8b6babf24ab252b6b5db936adbb5f3ca45dd.tar.xz
net: Introduce netif_xmit_timeout_ms() helper
Introduce a new helper function netif_xmit_timeout_ms() to check if a TX queue is stopped and has timed out and report the timeout duration. This makes the timeout logic reusable, and will be used in several places in subsequent patches. Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com> Reviewed-by: Yael Chemla <ychemla@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1768209383-1546791-2-git-send-email-tariqt@nvidia.com Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions