Commit 0f13e7ce authored by Adam Wujek's avatar Adam Wujek 💬

arch-wrs: update hal_shmem.h

add monitor variable to struct hal_port_state
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 2dc1b909
...@@ -109,6 +109,10 @@ struct hal_port_state { ...@@ -109,6 +109,10 @@ struct hal_port_state {
/* whether SFP has diagnostic Monitoring capability */ /* whether SFP has diagnostic Monitoring capability */
int has_sfp_diag; int has_sfp_diag;
/* whether the port shall be monitored by SNMP */
int monitor;
}; };
struct hal_temp_sensors { struct hal_temp_sensors {
...@@ -119,7 +123,8 @@ struct hal_temp_sensors { ...@@ -119,7 +123,8 @@ struct hal_temp_sensors {
}; };
/* This is the overall structure stored in shared memory */ /* This is the overall structure stored in shared memory */
#define HAL_SHMEM_VERSION 11 /* Version 11, changed wrs_shm_head */ #define HAL_SHMEM_VERSION 12 /* Version 12, added monitor to
struct hal_port_state */
struct hal_shmem_header { struct hal_shmem_header {
int nports; int nports;
......
Markdown is supported
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