WSL2-Linux-Kernel/drivers/vdpa/ifcvf
Jason Wang bd8bb9aed5 vdpa: ifcvf: set pci driver data in probe
We should set the pci driver data in probe instead of the vdpa device
adding callback. Otherwise if no vDPA device is created we will lose
the pointer to the management device.

Fixes: 6b5df347c6 ("vDPA/ifcvf: implement management netlink framework for ifcvf")
Tested-by: Zheyu Ma <zheyuma97@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220524055557.1938-1-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-06-01 02:16:38 -04:00
..
Makefile vdpa: move to drivers/vdpa 2020-04-02 10:41:40 -04:00
ifcvf_base.c vDPA/ifcvf: cacheline alignment for ifcvf_hw 2022-03-28 16:52:57 -04:00
ifcvf_base.h vDPA/ifcvf: cacheline alignment for ifcvf_hw 2022-03-28 16:52:57 -04:00
ifcvf_main.c vdpa: ifcvf: set pci driver data in probe 2022-06-01 02:16:38 -04:00