[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <0c743d6e-4a6d-5dcd-88c0-31c6d0971726@ti.com>
Date: Mon, 10 Aug 2020 15:55:35 -0400
From: Murali Karicheri <m-karicheri2@...com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: HSR/PRP LRE Stats - What is the right user space interface?
Hi Netdev experts,
IEC-62439 defines following LRE stats:-
"lreTxA",
"lreTxB",
"lreTxC",
"lreErrWrongLanA",
"lreErrWrongLanB",
"lreErrWrongLanC",
"lreRxA",
"lreRxB",
"lreRxC",
"lreErrorsA",
"lreErrorsB",
"lreErrorsC",
"lreNodes",
"lreProxyNodes",
"lreUniqueRxA",
"lreUniqueRxB",
"lreUniqueRxC",
"lreDuplicateRxA",
"lreDuplicateRxB",
"lreDuplicateRxC",
"lreMultiRxA",
"lreMultiRxB",
"lreMultiRxC",
"lreOwnRxA",
"lreOwnRxB",
These stats are defined also in the IEC-62439 MIB definition. So
this MIB support is required in Net-SNMP and that requires a proper
kernel interface to pull the values from the HSR or PRP
LRE (Link Redundancy Entity). What is the right interface for this?
Internally TI uses /proc interface for this. But want to check with
community before sending a patch for this. One choice is ethtool for
this. Or something else? Would appreciate if someone can clarify so
that I can work towards a patch for the same.
--
Murali Karicheri
Texas Instruments
Powered by blists - more mailing lists