* HSR/PRP LRE Stats - What is the right user space interface?
@ 2020-08-10 19:55 Murali Karicheri
2020-08-10 20:20 ` Jakub Kicinski
0 siblings, 1 reply; 2+ messages in thread
From: Murali Karicheri @ 2020-08-10 19:55 UTC (permalink / raw)
To: netdev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: HSR/PRP LRE Stats - What is the right user space interface?
2020-08-10 19:55 HSR/PRP LRE Stats - What is the right user space interface? Murali Karicheri
@ 2020-08-10 20:20 ` Jakub Kicinski
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2020-08-10 20:20 UTC (permalink / raw)
To: Murali Karicheri; +Cc: netdev, nikolay
On Mon, 10 Aug 2020 15:55:35 -0400 Murali Karicheri wrote:
> 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.
Are these collected by HW, or also by the bridge code?
Adding a new IFLA_STATS_LINK_* may be the right choice.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-10 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10 19:55 HSR/PRP LRE Stats - What is the right user space interface? Murali Karicheri
2020-08-10 20:20 ` Jakub Kicinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).