Displaying 8 results from an estimated 8 matches for "ifcvf_lm".
Did you mean:
ifcvf_hw
2020 Apr 02
0
[PATCH v2 -next] vdpa: remove unused variables 'ifcvf' and 'ifcvf_lm'
drivers/vdpa/ifcvf/ifcvf_main.c:34:24:
warning: variable ?ifcvf? set but not used [-Wunused-but-set-variable]
drivers/vdpa/ifcvf/ifcvf_base.c:304:31:
warning: variable ?ifcvf_lm? set but not used [-Wunused-but-set-variable]
Reported-by: Hulk Robot <hulkci at huawei.com>
Signed-off-by: YueHaibing <yuehaibing at huawei.com>
Acked-by: Jason Wang <jasowang at redhat.com>
---
v2: rework based on commit a4be40cbcedb ("vdpa: move to drivers/vdpa")
---...
2023 May 08
1
[PATCH V2 2/5] vDPA/ifcvf: get_driver_features from virtio registers
...ifcvf_add_status(hw, VIRTIO_CONFIG_S_FEATURES_OK);
-
- if (!(ifcvf_get_status(hw) & VIRTIO_CONFIG_S_FEATURES_OK)) {
- IFCVF_ERR(hw->pdev, "Failed to set FEATURES_OK status\n");
- return -EIO;
- }
-
- return 0;
-}
-
u16 ifcvf_get_vq_state(struct ifcvf_hw *hw, u16 qid)
{
struct ifcvf_lm_cfg __iomem *ifcvf_lm;
@@ -387,9 +392,6 @@ int ifcvf_start_hw(struct ifcvf_hw *hw)
ifcvf_add_status(hw, VIRTIO_CONFIG_S_ACKNOWLEDGE);
ifcvf_add_status(hw, VIRTIO_CONFIG_S_DRIVER);
- if (ifcvf_config_features(hw) < 0)
- return -EINVAL;
-
ifcvf_add_status(hw, VIRTIO_CONFIG_S_DRIVER_OK);...
2020 Apr 20
1
[GIT PULL v2] vhost: cleanups and fixes
...vdpa: make vhost, virtio depend on menu
virtio_blk: add a missing include
virtio: drop vringh.h dependency
vhost: disable for OABI
Stephen Rothwell (1):
drm/virtio: fix up for include file changes
YueHaibing (2):
vdpa: remove unused variables 'ifcvf' and 'ifcvf_lm'
vdpasim: Return status in vdpasim_get_status
drivers/block/virtio_blk.c | 1 +
drivers/char/hw_random/virtio-rng.c | 1 +
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 1 +
drivers/gpu/drm/virtio/virtgpu_kms.c | 1 +
drivers/misc/mic/Kconfig | 2 +-
drive...
2023 Mar 31
2
[PATCH 2/5] get_driver_features from virito registers
...ifcvf_add_status(hw, VIRTIO_CONFIG_S_FEATURES_OK);
-
- if (!(ifcvf_get_status(hw) & VIRTIO_CONFIG_S_FEATURES_OK)) {
- IFCVF_ERR(hw->pdev, "Failed to set FEATURES_OK status\n");
- return -EIO;
- }
-
- return 0;
-}
-
u16 ifcvf_get_vq_state(struct ifcvf_hw *hw, u16 qid)
{
struct ifcvf_lm_cfg __iomem *ifcvf_lm;
@@ -387,9 +392,6 @@ int ifcvf_start_hw(struct ifcvf_hw *hw)
ifcvf_add_status(hw, VIRTIO_CONFIG_S_ACKNOWLEDGE);
ifcvf_add_status(hw, VIRTIO_CONFIG_S_DRIVER);
- if (ifcvf_config_features(hw) < 0)
- return -EINVAL;
-
ifcvf_add_status(hw, VIRTIO_CONFIG_S_DRIVER_OK);...
2020 Apr 14
2
[GIT PULL] vhost: cleanups and fixes
...cy_init/size
mellanox: switch to virtio_legacy_init/size
vdpa: allow a 32 bit vq alignment
vdpa: make vhost, virtio depend on menu
Stephen Rothwell (1):
drm/virtio: fix up for include file changes
YueHaibing (2):
vdpa: remove unused variables 'ifcvf' and 'ifcvf_lm'
vdpasim: Return status in vdpasim_get_status
drivers/block/virtio_blk.c | 1 +
drivers/char/hw_random/virtio-rng.c | 1 +
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 1 +
drivers/gpu/drm/virtio/virtgpu_kms.c | 1 +
drivers/misc/mic/vop/vop_main.c...
2020 Apr 14
2
[GIT PULL] vhost: cleanups and fixes
...cy_init/size
mellanox: switch to virtio_legacy_init/size
vdpa: allow a 32 bit vq alignment
vdpa: make vhost, virtio depend on menu
Stephen Rothwell (1):
drm/virtio: fix up for include file changes
YueHaibing (2):
vdpa: remove unused variables 'ifcvf' and 'ifcvf_lm'
vdpasim: Return status in vdpasim_get_status
drivers/block/virtio_blk.c | 1 +
drivers/char/hw_random/virtio-rng.c | 1 +
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 1 +
drivers/gpu/drm/virtio/virtgpu_kms.c | 1 +
drivers/misc/mic/vop/vop_main.c...
2023 Mar 31
7
[PATCH 0/5] vDPA/ifcvf: implement immediate initialization mechanism
Formerly, ifcvf driver has implemented a lazy-initialization mechanism
for the virtqueues and other config space contents,
it would store all configurations that passed down from the userspace,
then load them to the device config space upon DRIVER_OK.
This can not serve live migration, so this series implement an
immediate initialization mechanism, which means rather than the
former store-load
2023 May 08
6
[PATCH V2 0/5] vDPA/ifcvf: implement immediate initialization mechanism
Formerly, ifcvf driver has implemented a lazy-initialization mechanism
for the virtqueues and other config space contents,
it would store all configurations that passed down from the userspace,
then load them to the device config space upon DRIVER_OK.
This can not serve live migration, so this series implement an
immediate initialization mechanism, which means rather than the
former store-load