| adec2a5c | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: enable live migration
Add the 'VHOST_F_LOG_ALL' feature bits inorder to enable the live migration function.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <c
vdpa/nfp: enable live migration
Add the 'VHOST_F_LOG_ALL' feature bits inorder to enable the live migration function.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| 02fe8366 | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: setup vring relay thread
Setup the vring relay thread to monitor the interruption from device. And do the dirty page logging or notify device according to event data.
Signed-off-by: Xinyi
vdpa/nfp: setup vring relay thread
Setup the vring relay thread to monitor the interruption from device. And do the dirty page logging or notify device according to event data.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| 9725f326 | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: recover ring index on new host
After migrating to new host, the vring information is recovered by the value in offset 'NFP_NET_CFG_TX_USED_INDEX' and 'NFP_NET_CFG_RX_USED_INDEX'.
Signed-o
vdpa/nfp: recover ring index on new host
After migrating to new host, the vring information is recovered by the value in offset 'NFP_NET_CFG_TX_USED_INDEX' and 'NFP_NET_CFG_RX_USED_INDEX'.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| e6ac31e0 | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: setup VF configure
Create the relay vring on host and then set the address of Rx used ring to the VF config bar. So the device can DMA the used ring information to host rather than directl
vdpa/nfp: setup VF configure
Create the relay vring on host and then set the address of Rx used ring to the VF config bar. So the device can DMA the used ring information to host rather than directly to VM.
Use 'NFP_NET_CFG_CTRL_LM_RELAY' notify the device side. And enable the MSIX interrupt on device.
Tx ring address is not needed to change since the relay vring only assists Rx ring to do the dirty page logging.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| 10421b0d | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: add interrupt logic of vring relay
Add the interrupt setup logic of vring relay.
The epoll fd is provided here so host can get the interrupt from device on Rx direction, all other operati
vdpa/nfp: add interrupt logic of vring relay
Add the interrupt setup logic of vring relay.
The epoll fd is provided here so host can get the interrupt from device on Rx direction, all other operations on vring relay are based on this.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| 94fde3a7 | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: add live migration
Add the basic logic of software live migration.
Unset the ring notify area to stop the direct IO datapath if the device support, then we can setup the vring relay to he
vdpa/nfp: add live migration
Add the basic logic of software live migration.
Unset the ring notify area to stop the direct IO datapath if the device support, then we can setup the vring relay to help the live migration.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| 7bd25583 | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: refactor datapath update
In order to add the new configuration logic of software live migration, split the datapath update logic into two parts, queue configuration and VF configuration.
vdpa/nfp: refactor datapath update
In order to add the new configuration logic of software live migration, split the datapath update logic into two parts, queue configuration and VF configuration.
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| d1498272 | 05-Aug-2024 |
Xinying Yu <xinying.yu@corigine.com> |
vdpa/nfp: fix reconfiguration
The ctrl words of vDPA is located on the extended word, so it should use the 'nfp_ext_reconfig()' rather than 'nfp_reconfig()'.
Also replace the misuse of 'NFP_NET_CFG
vdpa/nfp: fix reconfiguration
The ctrl words of vDPA is located on the extended word, so it should use the 'nfp_ext_reconfig()' rather than 'nfp_reconfig()'.
Also replace the misuse of 'NFP_NET_CFG_CTRL_SCATTER' macro with 'NFP_NET_CFG_CTRL_VIRTIO'.
Fixes: b47a0373903f ("vdpa/nfp: add datapath update") Cc: stable@dpdk.org
Signed-off-by: Xinying Yu <xinying.yu@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
show more ...
|
| b7f656e3 | 15-Nov-2023 |
Chaoyong He <chaoyong.he@corigine.com> |
vdpa/nfp: fix integer overflow
CI found integer handling issues, overflow before widen.
Coverity issue: 405352 Fixes: 76ea5ebef08e ("vdpa/nfp: add notify related logic") Cc: stable@dpdk.org
Signed
vdpa/nfp: fix integer overflow
CI found integer handling issues, overflow before widen.
Coverity issue: 405352 Fixes: 76ea5ebef08e ("vdpa/nfp: add notify related logic") Cc: stable@dpdk.org
Signed-off-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
show more ...
|
| 0141f545 | 27-Oct-2023 |
Chaoyong He <chaoyong.he@corigine.com> |
vdpa/nfp: add device operations
Implement the corresponding nfp vDPA operation functions.
Signed-off-by: Shujing Dong <shujing.dong@corigine.com> Signed-off-by: Chaoyong He <chaoyong.he@corigine.co
vdpa/nfp: add device operations
Implement the corresponding nfp vDPA operation functions.
Signed-off-by: Shujing Dong <shujing.dong@corigine.com> Signed-off-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
show more ...
|