Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
H A Ddrop_monitor.c1315 static int net_dm_monitor_start(bool set_sw, bool set_hw, in net_dm_monitor_start() argument
1321 if (set_sw) { in net_dm_monitor_start()
1342 static void net_dm_monitor_stop(bool set_sw, bool set_hw, in net_dm_monitor_stop() argument
1347 if (set_sw) in net_dm_monitor_stop()
1354 bool set_sw = !!info->attrs[NET_DM_ATTR_SW_DROPS]; in net_dm_cmd_trace() local
1361 if (!set_sw && !set_hw) in net_dm_cmd_trace()
1362 set_sw = true; in net_dm_cmd_trace()
1366 return net_dm_monitor_start(set_sw, set_hw, extack); in net_dm_cmd_trace()
1368 net_dm_monitor_stop(set_sw, set_hw, extack); in net_dm_cmd_trace()
/kernel/linux/linux-6.6/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()

Completed in 5 milliseconds