Detailed Interface stats API takes sw_if_index
@@ -544,12 +544,15 @@ 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;
+ u32 sw_if_index;
u8 enable_disable;
};
