Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 36129298 authored by Murali Karicheri's avatar Murali Karicheri
Browse files

net: hsr/prp: add procfs interface for snmp agent interface


implement a simple procfs interface to support snmpd agent
set/get command to implement iec62439 mibs for LRE. This is done
similar to ip/udp/tcp mibs of mibii for stats and such. procfs
files are created under the /proc/<interface-name> folder.

This patch also add some missing hsr/prp modes so that same can
be set through SNMP interface.

The format of print to console is kept same as the current debugfs
output format expected by snmpd so that same text parser can be
re-used at snmpd even after this migration.

Note that this is a temporary interface and is not accepted by
netdev community at LKML and may change in the future.

Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
Reviewed-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
parent dc8c14de
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment