[PATCH 2/4] nvme: split pci specifics out of nvme_dev and nvme_queue structures

Sagi Grimberg sagig at dev.mellanox.co.il
Sun Sep 27 00:19:31 PDT 2015


> +struct nvme_dev {
> +	struct list_head node;
> +	void *context;
> +	struct nvme_queue **queues;
> +	struct request_queue *admin_q;
> +	struct blk_mq_tag_set tagset;
> +	struct blk_mq_tag_set admin_tagset;
> +	struct device *dev;
> +	struct dma_pool *prp_page_pool;
> +	struct dma_pool *prp_small_pool;
> +	int instance;
> +	unsigned queue_count;
> +	unsigned online_queues;
> +	unsigned max_qid;
> +	int q_depth;
> +	struct list_head namespaces;
> +	struct kref kref;
> +	struct device *device;
> +	work_func_t reset_workfn;
> +	struct work_struct reset_work;
> +	struct work_struct probe_work;
> +	struct work_struct scan_work;
> +	char name[12];
> +	char serial[20];
> +	char model[40];
> +	char firmware_rev[8];

Are serial, model, firmware_rev applicable for
non-pcie fabrics?



More information about the Linux-nvme mailing list