Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1779033rwb; Tue, 27 Sep 2022 19:05:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6F6ygn5PfGlOWCLIxP8qCbKapMOB1MTnrUnM603/pdS2JgdE6cfyxcuX01Aem6Zd9SJ3Sz X-Received: by 2002:a17:90a:f28b:b0:203:627c:7ba1 with SMTP id fs11-20020a17090af28b00b00203627c7ba1mr7757117pjb.191.1664330755096; Tue, 27 Sep 2022 19:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664330755; cv=none; d=google.com; s=arc-20160816; b=Hr91OA0vFbFlrRzjWQXlaIYdWDwjw1Z59jXrqLIs9rK1soQIjPOucagyxmexWXIGdw XIF2QLEmvTcqEWBO9FD3umO0UrDuJK7gAdyn78g9TJaG56Daj3U/QLgJDeNl2Yir+wjL XgzBYtIVHavqwCzxAbBKAUjWVkh9BR9G/uwpJLAQiQPaY0LJ3kO/cSBd3vNyOUfyz9WP f1vYCuYFKbDxCXl5+XmOIo/0ePV4iLV963n3rBdPKPqhoZI9cCedLVQy5gameEPrx39H ZzCpzxAPAml1Xb/PNahNy28NJrJj8DActTur4+P5RwZZvwZgZZ5fuT7y8S4uV28SnmIZ 8pQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=0s5cTKJa39N+XcE6tl0XQ8OWdHqkH7WeL6mmRk87OzE=; b=C2CmGVGthzlh11D3+ywP3P90Kekvo5gjVcI6nsNYZhm4pXhsJvlUrExbXxCbWTXrzn +lWWidHY1ighPCXLOdu7iIWpzGOB2LjjjdbygXpeUgd1IhSzOifdwRDLhPSDW+MDP9A5 7DotbCY57242KzxFNTDqtMAMwnH+HABqnW9LD5v2U3NlhKyM6cv/AqzcIhJK7tbQD3Gx eHHkeRrsyxeXRqCeLetpNy8BsHi+gK9spcZ18yPWlSL8LofiSAzJk2iS4PrPBqj201s0 h/NvFMUZjIBbg5e2ATk3v3LiEhbyc8pBO5Qtp4NvG2DMUWLb8HIdHmL04xMzjJ7KAf/C BKsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SnqeOnQb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c11-20020a170902d48b00b00174db517b82si3963014plg.369.2022.09.27.19.05.41; Tue, 27 Sep 2022 19:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SnqeOnQb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231965AbiI1BtM (ORCPT + 99 others); Tue, 27 Sep 2022 21:49:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232020AbiI1BtK (ORCPT ); Tue, 27 Sep 2022 21:49:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 577961EE74E; Tue, 27 Sep 2022 18:49:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AA27361CD9; Wed, 28 Sep 2022 01:49:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D70DC433D6; Wed, 28 Sep 2022 01:49:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664329748; bh=fQvNSErz3iK0Qq/CCZWvUeJTMB9Y5fYJ7z2Vx+QiOLU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SnqeOnQbcGrEWG57GupmTtyzOANZNddaPKDa5hYCEY9sK5N1EpFbAFodO6VPxXw6K WBQRKYbdhc+EfQKThr3rnm+b/38FE/vMXxQLUm8Jsrejy35zBzwfjO5C57mOpeva01 hyiNyeVoTp4ad1IYt4PaP9W+bdBTcbObnl+/ZwqSLM9O6LpOMGogM/vFuNNcwSL4h2 NpSUram5JRwpu4l7AShBZg+GM/DZgPf//yuty7wtLLvnqPB82OmOL/xeB2k19EiScO 56gugkitHFhZ0OkG3r6IAUs9/cCAFVRTvd2wfb3ocwRwdiv2tGM8mqFxgS2u/u97ul jqoKsfN4Db2sw== Date: Tue, 27 Sep 2022 18:49:06 -0700 From: Jakub Kicinski To: Vladimir Oltean Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Xiaoliang Yang , Rui Sousa , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, Horatiu Vultur , Andrew Lunn , Vivien Didelot , Florian Fainelli , Michael Walle , Vinicius Costa Gomes , Maxim Kochetkov , Colin Foster , Richie Pearn , Kurt Kanzenbach , Vladimir Oltean , Jamal Hadi Salim , Cong Wang , Jiri Pirko , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 net-next 3/8] net: dsa: felix: offload per-tc max SDU from tc-taprio Message-ID: <20220927184906.1cc33db2@kernel.org> In-Reply-To: <20220927234746.1823648-4-vladimir.oltean@nxp.com> References: <20220927234746.1823648-1-vladimir.oltean@nxp.com> <20220927234746.1823648-4-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; > + } > +}