Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3547823rdh; Thu, 28 Sep 2023 15:23:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0bByHkhZrQ3jeYRX0o7G1W3wxhbqaW7Y3IdbU39Uwu4Vd/sj3NAbzJhLB5x/cF/ulJPtG X-Received: by 2002:a17:902:d50e:b0:1b8:8af0:416f with SMTP id b14-20020a170902d50e00b001b88af0416fmr3181152plg.1.1695939828396; Thu, 28 Sep 2023 15:23:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695939828; cv=none; d=google.com; s=arc-20160816; b=Qufw5wgO+71jffB2/mZjHeL4r8DFaaNtlgnfkb5OwYDQUFIeIbLhXBcNxaXnbrqryP H7gLhkiLQKZI9SiGpIrGjah+1zBM+Nl7tXUiUlZ1H/Kh2Lr+AaNdAMMEhKQWhZGwFHDR MzzuGEtgY4km2eAt0ZYa7pLSBle1rNjE/0QQ7mymEJXL6DNLITw4QcIehr+IEKvRKLxW hVniUOiqheaVloya6DDF/1CMbc3kDHBvCAAvRtxe34aPXds2AOppX1BXyvd/nq11lIbI 25saTbNmH+Lc5k9PlXijMf3KtZhmADfWPOXhonylGmYnuNk2FFIB+lMsaexMQerY6ENi BlCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oXfJqYkBnSRsMgAuu0wHSkWa8/uJ4JIwbOSV//aCu9g=; fh=b1WOo5Rx4/HVnYhAQDlaes7s2Lg9Idi1zyWPh8VWa2g=; b=QqfEsNRnbzmm5wPJDEo79pHp5CAL0ZvEY+roH5lHpd9Lj8E96lxYaJYXvr1X6wSjX0 MZ9IoW0S6IP+2eHzCCRg9Aq7OJBVSAodPN6mZpsGxVed5IO9ysUB02ACM6iYMfkkVQtR 52l1LDscB/FIPg2aaIeAle24zLIatG1RyD9zhNf6D/XFKUEvwth/ONGj2/CGWqzJydza td5xlEJnTvxkR+BWhSFJ4tEduaLabesj77mlCws61nCenq6FHaycetNKgsVu5KbKMDKj WM3tE9FIA3CAYULY6ym+REuSIJouQE7Fw0PJh5u8cYIslpXivu3x09cwk0wVonUZ9Mac ZMbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Cu0feTfl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id kz14-20020a170902f9ce00b001b556b0d0b7si18077025plb.480.2023.09.28.15.23.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 15:23:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Cu0feTfl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1BCAE8075913; Thu, 28 Sep 2023 03:16:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230517AbjI1KQ0 (ORCPT + 99 others); Thu, 28 Sep 2023 06:16:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbjI1KQX (ORCPT ); Thu, 28 Sep 2023 06:16:23 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13D2C122; Thu, 28 Sep 2023 03:16:21 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38SAG7dm118169; Thu, 28 Sep 2023 05:16:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695896167; bh=oXfJqYkBnSRsMgAuu0wHSkWa8/uJ4JIwbOSV//aCu9g=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=Cu0feTflp8Drj3oJXROZjWP1584/TVeydkttB1NgXtHsTjldVgp+MQZ4nc/O5Mryw a7DsNwMf/JwoZGfC/Eg7q8uE1Q5piu7/ULbBKp68+DnpjWEmi3BqctFwcxR6vsYqWo jqkjAVzfBdEn201kvKKIMC0v/zOm2fII9mhRKGa0= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38SAG76f042215 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 05:16:07 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Sep 2023 05:16:07 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Sep 2023 05:16:06 -0500 Received: from [10.24.69.199] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38SAG1nT065174; Thu, 28 Sep 2023 05:16:02 -0500 Message-ID: <5d27cf14-3df6-1771-9323-c54ede6db587@ti.com> Date: Thu, 28 Sep 2023 15:46:01 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH net-next v2] net: ti: icssg_prueth: add TAPRIO offload support Content-Language: en-US To: Roger Quadros , Andrew Lunn , Vignesh Raghavendra , Richard Cochran , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , , Simon Horman CC: , , , , Roger Quadros References: <20230921070031.795788-1-danishanwar@ti.com> From: MD Danish Anwar In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 03:16:38 -0700 (PDT) On 21/09/23 16:12, Roger Quadros wrote: > Hi Danish, > > On 21/09/2023 10:00, MD Danish Anwar wrote: > > Can you please retain patch authorhsip? > >> ICSSG dual-emac f/w supports Enhanced Scheduled Traffic (EST – defined >> in P802.1Qbv/D2.2 that later got included in IEEE 802.1Q-2018) >> configuration. EST allows express queue traffic to be scheduled >> (placed) on the wire at specific repeatable time intervals. In >> Linux kernel, EST configuration is done through tc command and >> the taprio scheduler in the net core implements a software only >> scheduler (SCH_TAPRIO). If the NIC is capable of EST configuration, >> user indicate "flag 2" in the command which is then parsed by >> taprio scheduler in net core and indicate that the command is to >> be offloaded to h/w. taprio then offloads the command to the >> driver by calling ndo_setup_tc() ndo ops. This patch implements >> ndo_setup_tc() to offload EST configuration to ICSSG. >> >> Signed-off-by: Roger Quadros >> Signed-off-by: Vignesh Raghavendra >> Signed-off-by: MD Danish Anwar >> --- [ ... ] >> + if (!netif_running(ndev)) { >> + netdev_err(ndev, "interface is down, link speed unknown\n"); >> + return -ENETDOWN; >> + } > > Do we really need this? I don't think this is needed. I will drop this and spin next revision. -- Thanks and Regards, Danish