Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dethtool.c2391 struct ethtool_per_queue_op *per_queue_opt) in ethtool_get_per_queue_coalesce() argument
2400 useraddr += sizeof(*per_queue_opt); in ethtool_get_per_queue_coalesce()
2402 bitmap_from_arr32(queue_mask, per_queue_opt->queue_mask, in ethtool_get_per_queue_coalesce()
2421 struct ethtool_per_queue_op *per_queue_opt) in ethtool_set_per_queue_coalesce() argument
2433 useraddr += sizeof(*per_queue_opt); in ethtool_set_per_queue_coalesce()
2435 bitmap_from_arr32(queue_mask, per_queue_opt->queue_mask, MAX_NUM_QUEUE); in ethtool_set_per_queue_coalesce()
2478 struct ethtool_per_queue_op per_queue_opt; in ethtool_set_per_queue() local
2480 if (copy_from_user(&per_queue_opt, useraddr, sizeof(per_queue_opt))) in ethtool_set_per_queue()
2483 if (per_queue_opt.sub_command != sub_cmd) in ethtool_set_per_queue()
2486 switch (per_queue_opt.sub_command) { in ethtool_set_per_queue()
[all …]