Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/block/
Dnull_blk_main.c144 device_param_cb(queue_mode, &null_queue_mode_param_ops, &g_queue_mode, 0444);
145 MODULE_PARM_DESC(queue_mode, "Block interface to use (0=bio,1=rq,2=multiqueue)");
347 NULLB_DEVICE_ATTR(queue_mode, uint, NULL);
589 dev->queue_mode = g_queue_mode; in null_alloc_dev()
688 int queue_mode = cmd->nq->dev->queue_mode; in end_cmd() local
690 switch (queue_mode) { in end_cmd()
1218 if (nullb->dev->queue_mode == NULL_Q_MQ) in null_stop_queue()
1226 if (nullb->dev->queue_mode == NULL_Q_MQ) in null_restart_queue_async()
1271 if (dev->queue_mode == NULL_Q_BIO) in null_handle_memory_backed()
1287 if (dev->queue_mode == NULL_Q_BIO && bio_op(cmd->bio) == REQ_OP_READ) { in nullb_zero_read_cmd_buffer()
[all …]
Dnull_blk.h64 unsigned int queue_mode; /* block interface */ member
/kernel/linux/linux-5.10/drivers/md/
Ddm-mpath.c74 enum dm_queue_mode queue_mode; member
215 m->queue_mode = DM_TYPE_NONE; in alloc_multipath()
228 if (m->queue_mode == DM_TYPE_NONE) { in alloc_multipath_stage2()
229 m->queue_mode = DM_TYPE_REQUEST_BASED; in alloc_multipath_stage2()
230 } else if (m->queue_mode == DM_TYPE_BIO_BASED) { in alloc_multipath_stage2()
239 dm_table_set_type(ti->table, m->queue_mode); in alloc_multipath_stage2()
673 if (m->queue_mode == DM_TYPE_REQUEST_BASED) in process_queued_io_list()
675 else if (m->queue_mode == DM_TYPE_BIO_BASED) in process_queued_io_list()
1065 if (m->queue_mode == DM_TYPE_BIO_BASED) { in parse_hw_handler()
1153 m->queue_mode = DM_TYPE_BIO_BASED; in parse_features()
[all …]
/kernel/linux/linux-5.10/Documentation/block/
Dnull_blk.rst30 queue_mode=[0-2]: Default: 2-Multi-queue
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c776 flags = ctrl->queue_mode == MLX4_NET_TRANS_Q_LIFO ? 1 : 0; in trans_rule_ctrl_to_hw()
1058 .queue_mode = MLX4_NET_TRANS_Q_FIFO, in mlx4_tunnel_steer_add()
1376 .queue_mode = MLX4_NET_TRANS_Q_FIFO, in mlx4_trans_to_dmfs_attach()
1470 .queue_mode = MLX4_NET_TRANS_Q_FIFO, in mlx4_flow_steer_promisc_add()
Den_netdev.c231 .queue_mode = MLX4_NET_TRANS_Q_LIFO, in mlx4_en_filter_work()
585 .queue_mode = MLX4_NET_TRANS_Q_FIFO, in mlx4_en_uc_steer_add()
Den_ethtool.c1611 .queue_mode = MLX4_NET_TRANS_Q_FIFO, in mlx4_en_flow_replace()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c67 static int queue_mode = MVPP2_QDIST_MULTI_MODE; variable
69 module_param(queue_mode, int, 0444);
70 MODULE_PARM_DESC(queue_mode, "Set queue_mode (single=0, multi=1)");
322 if (priv->hw_version == MVPP22 && queue_mode == MVPP2_QDIST_SINGLE_MODE) in mvpp2_get_nrxqs()
4379 return queue_mode == MVPP2_QDIST_MULTI_MODE; in mvpp22_rss_is_supported()
5409 switch (queue_mode) { in mvpp2_multi_queue_vectors_init()
5433 if (queue_mode == MVPP2_QDIST_MULTI_MODE) { in mvpp2_multi_queue_vectors_init()
5436 } else if (queue_mode == MVPP2_QDIST_SINGLE_MODE && in mvpp2_multi_queue_vectors_init()
6332 if (!has_tx_irqs && queue_mode == MVPP2_QDIST_MULTI_MODE) { in mvpp2_port_probe()
6864 queue_mode = MVPP2_QDIST_SINGLE_MODE; in mvpp2_probe()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h1257 enum mlx4_net_trans_hw_rule_queue queue_mode; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_main.c43 enum queue_mode { enum
1635 static void set_queue_mode(struct e1000_hw *hw, int queue, enum queue_mode mode) in set_queue_mode()