diff options
author | Neale Ranns <nranns@cisco.com> | 2018-03-21 09:44:01 -0400 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2018-03-21 20:22:27 +0000 |
commit | 0cae3f737fcbfbef364fb8237faee08842f3fb68 (patch) | |
tree | 6c43fb7702c6919ae0496a0bdec09bf69ec4366e | |
parent | 1cbb19f59fd5f03cc7f368a9f8ad91485d04962b (diff) |
Detailed Interface stats API takes sw_if_index
Change-Id: Id09d777c1706c1d613b14b719bcac596194465cd
Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r-- | src/vnet/interface.api | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api index 4d1b5ac06de..25ba70342ee 100644 --- a/src/vnet/interface.api +++ b/src/vnet/interface.api @@ -544,13 +544,16 @@ autoreply define delete_loopback /** \brief Enable or disable detailed interface stats @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request + @param sw_if_index - The interface to collect detail stats on. ~0 implies + all interfaces. @param enable_disable - set to 1 to enable, 0 to disable detailed stats */ autoreply define collect_detailed_interface_stats { u32 client_index; u32 context; - u8 enable_disable; + u32 sw_if_index; + u8 enable_disable; }; /* |