Re: [PATCH v3 net-next 3/8] net: dsa: felix: offload per-tc max SDU from tc-taprio

From: Jakub Kicinski
Date: Tue Sep 27 2022 - 21:49:16 EST


On Wed, 28 Sep 2022 02:47:41 +0300 Vladimir Oltean wrote:
> +static int vsc9959_qos_query_caps(struct tc_query_caps_base *base)
> +{
> + switch (base->type) {
> + case TC_SETUP_QDISC_TAPRIO: {
> + struct tc_taprio_caps *caps = base->caps;
> +
> + caps->supports_queue_max_sdu = true;

Compilers don't like the implicit fallthru here and on the next patch,
which seems semi-legit.

> + }
> + default:
> + return -EOPNOTSUPP;
> + }
> +}