X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fbonding%2Fnode.h;fp=src%2Fvnet%2Fbonding%2Fnode.h;h=8ead02285235dd0736d682691c7a580a275c0ffe;hb=aa72578637e2a346ee845545b2e26aad83e12192;hp=4c91200ef046ab8b1e544d865d2a957fb3f2c76f;hpb=380e857830985e1b50257b39ba6045b829c833c1;p=vpp.git diff --git a/src/vnet/bonding/node.h b/src/vnet/bonding/node.h index 4c91200ef04..8ead0228523 100644 --- a/src/vnet/bonding/node.h +++ b/src/vnet/bonding/node.h @@ -350,6 +350,12 @@ typedef struct typedef void (*lacp_enable_disable_func) (vlib_main_t * vm, bond_if_t * bif, slave_if_t * sif, u8 enable); +typedef struct +{ + u32 partner_state; + u32 actor_state; +} lacp_stats_t; + typedef struct { /* pool of bonding interfaces */ @@ -377,7 +383,7 @@ typedef struct bond_per_thread_data_t *per_thread_data; - u32 **stats; + lacp_stats_t **stats; } bond_main_t; /* bond packet trace capture */