aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2023-02-16 00:46:32 +0200
committerPaolo Abeni <[email protected]>2023-02-20 08:46:57 +0100
commit64cb6aad12328015202af5b2a9623c6bcc021855 (patch)
tree25a035e2be7cb279ca8ac7d20c00ed95b9218baf /lib/netdev-notifier-error-inject.c
parentbdf366bd867c4565b535a5825df7ddcb4773fc28 (diff)
net/sched: taprio: dynamic max_sdu larger than the max_mtu is unlimited
It makes no sense to keep randomly large max_sdu values, especially if larger than the device's max_mtu. These are visible in "tc qdisc show". Such a max_sdu is practically unlimited and will cause no packets for that traffic class to be dropped on enqueue. Just set max_sdu_dynamic to U32_MAX, which in the logic below causes taprio to save a max_frm_len of U32_MAX and a max_sdu presented to user space of 0 (unlimited). Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Kurt Kanzenbach <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions