Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp215099lqh; Thu, 30 May 2024 21:25:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/OjjT0bNGCqHZyLRz23NRIjftVbfjVQbTCPF5U4qQoeDavAhvHDfPNKnVpIkS8r0x0Cb3j76sin5jHqNayr9IraGa7Fv2FlDIb/kYvA== X-Google-Smtp-Source: AGHT+IFEfshXj39z+B7UyivGa/BmpkMMZ9UteFeTJMLKHtHoFnHzuCuAyIpIZNTmXnilvfIXek8h X-Received: by 2002:a05:6214:5b04:b0:6ae:3c78:78d3 with SMTP id 6a1803df08f44-6aecd4c01b5mr13241876d6.25.1717129534770; Thu, 30 May 2024 21:25:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717129534; cv=pass; d=google.com; s=arc-20160816; b=mVW0gJo+z9q6t4kauleeSnewulqmKmHQgMz1N2BR78K//Y4URIRjaENpt897+RM7/6 huC3co5i/MFEPRgRhzVmMOZooTGmVgm5kweKhe6gsGI5h7OvlHcwBcQ2QHdxg/Ok82IT gqWvNf6zzs3j2UK0lZ1ZwtyG9XvjnhhRxlZkVFUkKN15vlNVvDufMlVEcINO+1nIABPJ l3DgRCSnO0VuJradvvHEi/2adG+FJZuCkZG+3fvsSL7i8R8uV10O9Gp0Lch44Hb6Gn8O MoY3YdFhhnNDfa7D24zgJ/SajHjQX73CrgziPZUvLv/1Q/FYIirL9eThZ5lxmYA+iIjM Y0UA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=75wx86d1rasct0BIwNJWvg9dRa0ITHDEy5c6cUcfULc=; fh=HOtx7WnAuLYnvVSjTLRopUuOWJzhuS+h6J8A8+57x5M=; b=0vtHwA/xEUaWYcXg/LNX9BMZpn0pcg6t9xyFeiJ3/IPI5AjYd+qyYbB/U4GAJvVWLd 3LMQpCamWwO1TokcSAUJhdi6GVtlSzM3s7SPWvM5y0cJeN8uTI08gNHzeiGMvGUNePC7 kiHRNAfJJwUD8YF02yCXgyZHrA8Y7IQf+xzlxb2nI26gK49FwesKUQ1dzQ9/BE0lM/xv mAOFIm+lnDBMkcovu4zvHAILzIcKzS0VBW7F+0p+5G9EZJf9FzMPTgUJQA6Y02BxKQ4b 72x5pRUGt+PN0Q0W0+3rar+BAUpx6xSPKfJ2Sc8QZ3ZyM46h3SuvWv5XaK/EbdLf1/uo HA8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XCbOoDV4; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-196236-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b42b1b7si11941566d6.489.2024.05.30.21.25.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 21:25:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196236-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XCbOoDV4; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-196236-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6DD321C235FB for ; Fri, 31 May 2024 04:25:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E508278B50; Fri, 31 May 2024 04:25:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="XCbOoDV4" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B3B539FF3; Fri, 31 May 2024 04:25:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717129526; cv=none; b=SgsIPc4/fo/xi2gPYkNkkzKggz5gfpfdVMMp5JdYArE67hWxASkIVca0vhYjWd61/6TU0nUIhlrmTh8WJbZGnZwTaoc5xsDxQd7LehDDPghFaZl/EHoVfg4qBkzWzlsiwIbINBshZFrTBOZmffHBiltw1pjkFqnrFDr6gLEJvgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717129526; c=relaxed/simple; bh=azXToPJBreaYT3oMsV3NXjWxkhfHZAY+ky+oRDOdj8E=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=VDxAiqz0E7gWftVlMTxg1VPyYbS9YE/rFlya13Hy8bdVsNkcqc3HVmgds8/3p+frUK4Lio25u+MeAty6jqrKn8uB589jxsM7MP5/wV2bwePg18wH0zer/wcNLQU01C8x1nesDCcTtDX2yfj8EZEw38VL+H6SbTd9dTGJ8fYq3bI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=XCbOoDV4; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44V4OnPH116975; Thu, 30 May 2024 23:24:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717129489; bh=75wx86d1rasct0BIwNJWvg9dRa0ITHDEy5c6cUcfULc=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=XCbOoDV4TfBCPfZeP4Kar5sDRjO9t1nsTkBxHM4tUt3KLLLzyx3mUf6OzHKy/Yg42 XOTtpt4jAVEY74jZHyLs2yIkYJKTYRpVibiXIFZEURpMZJOmbvAltFPKUdpHU/O7As ujKTXjQzf/H4zychpRCwpSioC6ZdV4qj4+Xxx4jM= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44V4OnsP049857 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 May 2024 23:24:49 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 30 May 2024 23:24:49 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE106.ent.ti.com (10.64.6.27) 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, 30 May 2024 23:24:49 -0500 Received: from [10.249.135.225] ([10.249.135.225]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44V4Og8E038918; Thu, 30 May 2024 23:24:43 -0500 Message-ID: Date: Fri, 31 May 2024 09:54:41 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v8 2/2] net: ti: icssg_prueth: add TAPRIO offload support To: Jacob Keller , MD Danish Anwar , Jan Kiszka , Dan Carpenter , Andrew Lunn , Simon Horman , Diogo Ivo , Wolfram Sang , Randy Dunlap , Niklas Schnelle , Vladimir Oltean , Vignesh Raghavendra , Richard Cochran , Roger Quadros , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" CC: , , , , Roger Quadros References: <20240529110551.620907-1-danishanwar@ti.com> <20240529110551.620907-3-danishanwar@ti.com> <7143f846-623d-465f-a717-8c550407d012@intel.com> Content-Language: en-US From: "Anwar, Md Danish" In-Reply-To: <7143f846-623d-465f-a717-8c550407d012@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Jacob, On 5/30/2024 11:45 PM, Jacob Keller wrote: > > > On 5/29/2024 4:05 AM, MD Danish Anwar wrote: >> From: Roger Quadros >> >> The ICSSG dual-emac / switch firmware 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 >> Reviewed-by: Simon Horman >> Signed-off-by: MD Danish Anwar >> --- > > I tried to apply this series to review it. Unfortunately It no longer > applies cleanly since it has textual conflicts with 972383aecf43 ("net: > ti: icssg-switch: Add switchdev based driver for ethernet switch > support"), which was part of: > > https://lore.kernel.org/netdev/20240528113734.379422-1-danishanwar@ti.com/ > > The conflict seemed easy enough to resolve, but I'm not sure if the > prueth_qos structure would be placed optimally. I tried to build the > driver to check what the placement should be and was unable to get > things to compile. When I had posted this series (v8) the ICSSG switch series was not merged yet and I had rebased this series on net-next/main. When you tested it, the ICSSG Series was merged and as it resulted in conflict. I will rebase it on the latest net-next and make sure that their is no conflict and post next revision. Thanks for your feedback. -- Thanks and Regards, Md Danish Anwar