From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1E7DC433C1 for ; Sat, 20 Mar 2021 11:31:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AA12361972 for ; Sat, 20 Mar 2021 11:31:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbhCTLb1 (ORCPT ); Sat, 20 Mar 2021 07:31:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbhCTLbR (ORCPT ); Sat, 20 Mar 2021 07:31:17 -0400 Received: from wp003.webpack.hosteurope.de (wp003.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:840a::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 633A1C0613E7 for ; Sat, 20 Mar 2021 04:31:17 -0700 (PDT) Received: from p548da928.dip0.t-ipconnect.de ([84.141.169.40] helo=kmk0); authenticated by wp003.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1lNZp3-00043D-2A; Sat, 20 Mar 2021 12:31:13 +0100 From: Kurt Kanzenbach To: Vladimir Oltean Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org Subject: Re: [PATCH net-next v2 4/4] net: dsa: hellcreek: Add devlink FDB region In-Reply-To: <87pn01ga9p.fsf@kmk-computers.de> References: <20210313093939.15179-1-kurt@kmk-computers.de> <20210313093939.15179-5-kurt@kmk-computers.de> <20210313114647.4njhja3qsquu225q@skbuf> <87pn01ga9p.fsf@kmk-computers.de> Date: Sat, 20 Mar 2021 12:31:04 +0100 Message-ID: <87h7l6kqo7.fsf@kmk-computers.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;kurt@kmk-computers.de;1616239877;af5033e4; X-HE-SMSGID: 1lNZp3-00043D-2A Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun Mar 14 2021, Kurt Kanzenbach wrote: > On Sat Mar 13 2021, Vladimir Oltean wrote: >> On Sat, Mar 13, 2021 at 10:39:39AM +0100, Kurt Kanzenbach wrote: >>> Allow to dump the FDB table via devlink. This is a useful debugging fea= ture. >>>=20 >>> Signed-off-by: Kurt Kanzenbach >>> Reviewed-by: Andrew Lunn >>> --- >> >> Reviewed-by: Vladimir Oltean >> >> By the way, what user space program do you use to dump these? Did you >> derive something from Andrew's mv88e6xxx_dump too? Maybe we should work >> on something common? > > Actually there is no user space tooling, yet. My original approach to > debugging was different using debugfs and tracing. I played a bit with > mv88e6xxx_dump today. Having a common tool would be quite nice. Thanks for the pointer to mv88e6xxx_dump. Just needed to implement .devlink_info_get() callback, so that the tool can distinguish between the Marvell and Hellcreek devices (and implement some hellcreek specifics). Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCAA0FiEEiQLjxJIQcNxwU7Bj249qgr3OILkFAmBV3PgWHGt1cnRAa21r LWNvbXB1dGVycy5kZQAKCRDbj2qCvc4guTPOEACsbiWMBfhyB5QHjf7n1lrIM4YN jBIAoQs8lSNw40PebiK+LeK9Tjp+3ULygAOIy/kAqC/mXjUdH1+wCPUPNrpqvkRI s7Dw/ZCQbpnTQdymmzc9UrWRalOfpYBylb+Zp/r4loVFbs/KQF/jA7woKNNr12rp QibujYI17v9gCnUV0CouIj1BbaMuL0o+ID5TZ0HJ8DSUCmjDbJ3RZgL7240pgeqR evWzzHkUAVLazS6okKZbCgy43bi61Udf5kO3IC+Nqy/bDNYLO4GTmMlwibL5IhnP f4QUmZBuopdFUAdzJNDU7IGzQKB7khlLa+GVY2nH3pxY0sLeaWwYmhrKhfpaEnF2 oVrmSMWddKxukGIgHD9APTLGYABBntbo9j2gs7VKPH3+vrsxw8EXB+n4Fsk4RTr9 67Ljhe+Ev9ZQjMM/3yojx7nin8S1/km8zycEdQKDZfjEKIQ1S47pbp7ELQk0sDeH xHXLP/mQ/60QTgzIrl84Jhuf5WRKdLBLkmdLHoapKnB0TLmgngDr3+avrD8Sf9H3 Vy9UtnCwsI79XK3SsGqs5CCvyXdQg39WDAfeE+aCNlQRFfr0UyoCiYb1DDu+u9gK pW25Cj/DEuNUDTMXzDRCuz0IJ3TTRWB+yhRVhr9/To5ziB4w2mCzUjQ1PG8r6cRT a1jgoSPJhocv7Qirag== =WmWQ -----END PGP SIGNATURE----- --=-=-=--