Home
last modified time | relevance | path

Searched refs:set_sw (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Ddrop_monitor.c1331 static int net_dm_monitor_start(bool set_sw, bool set_hw, in net_dm_monitor_start() argument
1337 if (set_sw) { in net_dm_monitor_start()
1358 static void net_dm_monitor_stop(bool set_sw, bool set_hw, in net_dm_monitor_stop() argument
1363 if (set_sw) in net_dm_monitor_stop()
1370 bool set_sw = !!info->attrs[NET_DM_ATTR_SW_DROPS]; in net_dm_cmd_trace() local
1377 if (!set_sw && !set_hw) in net_dm_cmd_trace()
1378 set_sw = true; in net_dm_cmd_trace()
1382 return net_dm_monitor_start(set_sw, set_hw, extack); in net_dm_cmd_trace()
1384 net_dm_monitor_stop(set_sw, set_hw, extack); in net_dm_cmd_trace()