Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1236574lqb; Thu, 18 Apr 2024 04:26:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtYmed3Cxhxx8S2GDCxYdMqyvTzSYscbW+U4T2ZcRoU2jkzcKtUHcizfgl/bEuFlN2oWXYDL5cq7q7AvMrgTTfd/lbWhb/B4oTOsIoAg== X-Google-Smtp-Source: AGHT+IEcRPe0CUHJSOjdC29rxqw2xKd/Un/QcNLVp58vBJTS0TodOl8qB7F7VsU/3i+WhX7G/c+X X-Received: by 2002:a17:902:f644:b0:1e5:866a:c04 with SMTP id m4-20020a170902f64400b001e5866a0c04mr3378570plg.42.1713439585671; Thu, 18 Apr 2024 04:26:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713439585; cv=pass; d=google.com; s=arc-20160816; b=sQOcUFyMGtu3eWnqTqm6xJXCDcBuu3a2glA9oMBLcM+ghFPLXFksFr0aaEPKHt4K2u MZ4wTxPQ3S6UVI+K4JlNW1doF+Gh88buGYGkHHQWSlSmB8Q/mzEY+IxTdL8WO+H7KfbH L7GCejY1xE1hOmuRNRs6lfKJuG7uL93KsjCQ7HvOvLTSsE2ng38IOf9mgjX5tjBrPH+U ezh9PNHks7mG81wtrl6XXyR14eAE9ECdSh+GopSxR5CWq993RV+5dIMWhjBHVIHma9p+ oGAykdl1RsB/8iInNmo6PhPYGK78121qkTPiobMw3gWonWGmpEgAITcKNCBrmt1Cj8VD QZ4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ILDNju0o0Gp9TIqLKVSPNzABvK9adaPpRims5XNw4t8=; fh=2MU5CJWI/DTXDVad7Wq4wviQMthdnhNl30TOApe65eQ=; b=xBwql5P5HAwKwTdg2vSw/EogbBO1YNaUVT1SNCs4gq/MqKMc+qoRQMJ2MJfPN24LXx F3D7YmE0i9g/REqQzfOb+7O5yZa/MNVkhorzhVMvP9NgvLzT6KF4Vix5GS9SDMr/lsg3 8mgH5SsyT0Ax5oduyCCwX2Bx3kH8+Kd5FvFJGw25CiwVqlaMWd2qm2JWx6fSZIt27fiv 30nowIPy+ttxdssEwc/pdQ7x1oYGcjKElTXOKMO0YNgo+87dO6kPdHKm6e9hgGZElLG0 AZh1RVaGcoNn4nMAbDpiFe2P+2A1Zhyzd55CQfj9vCwXTfzDXCrp1rrU7D4zgAuXCxjM C9Uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="RsOBlq/6"; 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-149964-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x5-20020a170902a38500b001e2a45d095esi1227830pla.623.2024.04.18.04.26.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 04:26:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149964-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="RsOBlq/6"; 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-149964-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149964-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 33589284339 for ; Thu, 18 Apr 2024 11:26:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CC7315E808; Thu, 18 Apr 2024 11:26:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="RsOBlq/6" 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 88F9415AAAD; Thu, 18 Apr 2024 11:26:10 +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=1713439572; cv=none; b=jAERP/6j3641OIhmS1DchRih0H8VsMNluURnslEYQtVe5SdfODpX5vRp+/RZ8OTvWbItFlcnlNO7SRVEOblEjmcf0eG4gQj7mqtj9N/DUBY112+wBgogVmDsA+wRZU05/EglscAbKi5U32RGJLC+hOB7Ke4o8qYzQbJRKxXxW+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713439572; c=relaxed/simple; bh=5N5/GthAZnmatehNZianrScGEQeyQtidTpCwtnZVSTs=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RluH3UgB8/d32H+VsOfAPey21L4pfgWrOwtfCkBj3Oz/wUchsy9/zVWlMU0bAFpFI6hmw48fymms8xgY1V74OSNJwPoiTbekJWVPu2733wkxObupnL3TsXXc6MCbZ8LYe7mg2tpR6DrarID7tnRBkG3wYKyVoiR9Df7/pKjypFo= 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=RsOBlq/6; 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 lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43IBPJCZ117586; Thu, 18 Apr 2024 06:25:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1713439519; bh=ILDNju0o0Gp9TIqLKVSPNzABvK9adaPpRims5XNw4t8=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=RsOBlq/6MUG7S3kgqzZ/ioTisRm/WA1en24YrVwJ28xOBxbAtTfRQbHQsU8hGpDzn Ql1AgPUPlVxvbA4vLMuJdlll423tocugH62VzbPvUVrXpgjNykiWu8WR0wLh4fa3lv KBWMsmODfzdprNGpLolX7Zhg6vZPia5iH2EEZFcM= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43IBPJEr017250 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 18 Apr 2024 06:25:19 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 18 Apr 2024 06:25:19 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE101.ent.ti.com (157.170.170.31) 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, 18 Apr 2024 06:25:19 -0500 Received: from localhost (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43IBPINQ105647; Thu, 18 Apr 2024 06:25:19 -0500 Date: Thu, 18 Apr 2024 16:55:18 +0530 From: Siddharth Vadapalli To: Julien Panis CC: Siddharth Vadapalli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Sumit Semwal , Christian =?utf-8?B?S8O2bmln?= , Simon Horman , Andrew Lunn , Ratheesh Kannoth , Naveen Mamindlapalli , Jacob Keller , , , , , , , , , Subject: Re: [PATCH net-next v9 0/3] Add minimal XDP support to TI AM65 CPSW Ethernet driver Message-ID: <1da48c7e-ba87-4f7a-b6d1-d35961005ab0@ti.com> References: <20240223-am65-cpsw-xdp-basic-v9-0-2c194217e325@baylibre.com> <260d258f-87a1-4aac-8883-aab4746b32d8@ti.com> <08319f88-36a9-445a-9920-ad1fba666b6a@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <08319f88-36a9-445a-9920-ad1fba666b6a@baylibre.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On Thu, Apr 18, 2024 at 01:17:47PM +0200, Julien Panis wrote: > On 4/18/24 13:00, Siddharth Vadapalli wrote: > > On 12-04-2024 21:08, Julien Panis wrote: > > > This patch adds XDP support to TI AM65 CPSW Ethernet driver. > > > > > > The following features are implemented: NETDEV_XDP_ACT_BASIC, > > > NETDEV_XDP_ACT_REDIRECT, and NETDEV_XDP_ACT_NDO_XMIT. > > > > > > Zero-copy and non-linear XDP buffer supports are NOT implemented. > > > > > > Besides, the page pool memory model is used to get better performance. > > > > > > Signed-off-by: Julien Panis > > Hello Julien, > > > > This series crashes Linux on AM62ax SoC which also uses the > > AM65-CPSW-NUSS driver: > > https://gist.github.com/Siddharth-Vadapalli-at-TI/5ed0e436606001c247a7da664f75edee > > > > Regards, > > Siddharth. > > Hello Siddharth. > > Thanks for the log. I can read: > [    1.966094] Missing net_device from driver > > Did you check that nodes exist in the device tree for the net devices ? Yes it exists. The device-tree used was also built with linux-next tagged next-20240417. The node corresponding to eth0 is cpsw_port1 which is present and enabled in the device-tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts?h=next-20240417#n644 Regards, Siddharth.