Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17444894rwd; Tue, 27 Jun 2023 03:10:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6srPa6vBQ55bk3K8poRozeLjjcwSfRmbzTGa0R2QQPus0RF2iaSI1zdPiQov0jXAeZWbyv X-Received: by 2002:a05:6a20:431f:b0:125:aeeb:f8f1 with SMTP id h31-20020a056a20431f00b00125aeebf8f1mr7953583pzk.40.1687860623906; Tue, 27 Jun 2023 03:10:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687860623; cv=none; d=google.com; s=arc-20160816; b=cclKWEcOeyRIe2qjABEq5q4JCCNrhga3KTU8g2FntzMYGMO3QkNZkSKhs7UmWl5BHO YmjYfP+Pj705j6eZ9lOzoHVpDePdHaBKASdfD3POi6t7xHtVILj2WtACBkpvSo45rd79 4GEsqpA4cDPIHTBffeMIYSGbnKbJ/8X61qBLMKeU9yUALOnyhONfLHlAMXfl4WdaZWHh S3rB29k3Q5uJUDUSttMNqlipafv7ELsgcipM4l6VJvkbUURTeJaG/Xy6oF47RdDbOqCl 6+ZzL0y7RPcMDYp23DvEmXnjx8AYHKxvYIHI2lns+LKecHvkdWbtYQ/omPf9UxBGclik LExw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oHO5L0CKePf0nx1WzjkZ43osHSYqQQGPhHym3aaajg8=; fh=SEw4Xu8FQg0/lk4LuVB4j/bXT6MT7JFKwrDhKkSlWIM=; b=UYW13R6kvoXuRT5FHmkGrXHhUXt3B5NG2b0BqcjBLpiKYSHch7WW2Mb/xXUbLDgZqv TYUIIvFErhIoMS8x7+DKOO1MsuvA35r7s853W7DRoZXenJpQA3HjvMQsWgVyftr2t66m 07Ye2GIYGraCU5W9eLMPNuocHmTrsTzJ5Mr3rJrs0YWTjBvDodjz23wyoELoOe4l7tjR Hd4+/Q7cT1qi6S6o4jryQq4v2Ff/4cqt9p+xNyL+Nd4MiNhMjcUjwvXKERmloZvEnGAx 2kMFyTl6SWFj6kqoJTJfJLBKJScZkY00apJhrFVBSIh9TNlO7LZooBe9NEzZKzCyWiXd EDMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qO5rAvwN; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a635649000000b00543a881db0fsi6900959pgm.283.2023.06.27.03.10.11; Tue, 27 Jun 2023 03:10:23 -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=@gmail.com header.s=20221208 header.b=qO5rAvwN; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231485AbjF0Jtd (ORCPT + 99 others); Tue, 27 Jun 2023 05:49:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231482AbjF0JtY (ORCPT ); Tue, 27 Jun 2023 05:49:24 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A30AD26AB; Tue, 27 Jun 2023 02:49:20 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-991f956fb5aso132175566b.0; Tue, 27 Jun 2023 02:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687859359; x=1690451359; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=oHO5L0CKePf0nx1WzjkZ43osHSYqQQGPhHym3aaajg8=; b=qO5rAvwN/smMmFzbyiWIu0rMttq3AYuV+WYyLvrZNk+UWd92aD670z3gcj95fsm4Sp KiFIEaYeUclD+8abfPD71dFEQjNHzOqZq1rMDHTcj7+tvxVow4zPFBecDAzkmwuID96U AWXS9AymQE8/JGCJo/T/9KdXD0jVBkF6xoU2U8p0qcSTAABELuXIHhgKAiEnfTILmhi0 G1uWTw80MNT0VXHbkdlhtghsrRYqOzJgJ8iLZMpBGwVbgUk4oMdpmJFfnfazKef0H5d5 HB8kcl6vAade7oC2bukA+Kis1k+BT/oQBna/r60aTWJgFiHMZKORMGUoX2FzzbveqZT0 c+yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687859359; x=1690451359; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oHO5L0CKePf0nx1WzjkZ43osHSYqQQGPhHym3aaajg8=; b=Rnyaudqrcne2kWez/nFtXoAf28GoMk9762vxeVmjt1t9ssjMfJqAVikwNZN2XC21o0 UG6jdJ7BvGLzW3/f9gI7Mr2JOw+2oXsMw16pGKhh5DZGc/v+yo1LPGMD4RvBJWr9rCks 1Tg9jcPVuAZ1O/3kjbrzWtrCT0eWYopxZSfiU5SOik+aKzbWSDl0edq5n0N2U3JOchwt b4AQmArXveWrZwYlYXGXnpRgqbVMZCgQVX9PICi2JA9OmdJzSyHWoRGi/m904mylsF+c NuUesk8a0E9IpGxNZ4NsREphhUBoIDaJH5Qb2POGtIXW3n4bIxX0qpq/A1cH3Igsv66K +4uA== X-Gm-Message-State: AC+VfDxlfySRi2Pp7U2QW6rPd/cFm8tXE3FU17sW6fmpRGejyxhg4g5u woWtJKShMmppLWVX1JAWG8w3zSmRXkbDMw== X-Received: by 2002:a17:907:1c08:b0:992:292b:6a60 with SMTP id nc8-20020a1709071c0800b00992292b6a60mr990207ejc.26.1687859358792; Tue, 27 Jun 2023 02:49:18 -0700 (PDT) Received: from skbuf ([188.25.159.134]) by smtp.gmail.com with ESMTPSA id gu3-20020a170906f28300b00988ca8b175dsm4272623ejb.119.2023.06.27.02.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 02:49:18 -0700 (PDT) Date: Tue, 27 Jun 2023 12:49:16 +0300 From: Vladimir Oltean To: Christian Marangi Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Atin Bainada , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH RFC] net: dsa: qca8k: make learning configurable and keep off if standalone Message-ID: <20230627094916.maywojwztzdek5y2@skbuf> References: <20230623114005.9680-1-ansuelsmth@gmail.com> <20230623114005.9680-1-ansuelsmth@gmail.com> <20230625115803.6xykp4wiqqdwwzv4@skbuf> <6499c31c.df0a0220.e2acb.5549@mx.google.com> <20230626173056.zq77nilzrr5djns5@skbuf> <6499d3f5.050a0220.3becf.7296@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6499d3f5.050a0220.3becf.7296@mx.google.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Mon, Jun 26, 2023 at 07:59:41PM +0200, Christian Marangi wrote: > > Hmm, so ping works but this doesn't? That's strange, because send_uc_ipv4() > > also pings. Have you run with bash -x to see why it fails? > > > > I just run with bash -x and I also mod the script to not delete the > tcpdump. Limiting the script to only this test the dump is just 2 ICMPv6 > packet and no output from tcpdump aside from > > tcpdump: listening on lan1, link-type EN10MB (Ethernet), snapshot length 65535 bytes > 3 packets captured > 5 packets received by filter > 0 packets dropped by kernel > > I feel like this is important so I think I should focus on understanding > why this doesn't work? Any clue? No clue. I'd put a "bash" instruction in send_uc_ipv4(), which would act as a sort of break point for the script (opens an interactive sub-shell), then run it again with bash -x, manually repeat the command that failed, investigate why it failed and hit Ctrl-d when I'm done.