Re: [PATCH v3 7/7] eni_vdpa: add vDPA driver for Alibaba ENI

From
Jason Wang <hidden>
Date
2021-09-26 02:26:58
Also in
lkml
在 2021/9/22 下午8:46, Wu Zongyong 写道:
+
+#ifdef __LITTLE_ENDIAN

I think disable the device via Kconfig is better than letting user to meet errors like this.

(Or if the device is always using little endian, we don't even need to bother this).

Thanks

quoted hunk
+static int eni_vdpa_probe(struct pci_dev *pdev, const struct pci_device_id *id)
+{
+	struct device *dev = &pdev->dev;
+	struct eni_vdpa *eni_vdpa;
+	struct virtio_pci_legacy_device *ldev;
+	int ret, i;
+
+	ret = pcim_enable_device(pdev);
+	if (ret)
+		return ret;
+
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Thread (1 message) 1 message, 1 author, last reply 2021-09-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help