|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <[email protected]> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
04bcc802 |
| 13-Oct-2021 |
Xuan Ding <[email protected]> |
net/virtio: fix indirect descriptor reconnection
Add initialization for packed ring indirect descriptors in reconnection path.
Fixes: 381f39ebb78a ("net/virtio: fix packed ring indirect descricptor
net/virtio: fix indirect descriptor reconnection
Add initialization for packed ring indirect descriptors in reconnection path.
Fixes: 381f39ebb78a ("net/virtio: fix packed ring indirect descricptors setup") Cc: [email protected]
Signed-off-by: Xuan Ding <[email protected]> Tested-by: Yinan Wang <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
b5ba7ee4 |
| 26-Jan-2021 |
Maxime Coquelin <[email protected]> |
net/virtio: remove last PCI refs in non-PCI code
This patch finalizes the bus isolation part of this refactoring.
Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia
net/virtio: remove last PCI refs in non-PCI code
This patch finalizes the bus isolation part of this refactoring.
Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| #
b4f9a45a |
| 26-Jan-2021 |
Maxime Coquelin <[email protected]> |
net/virtio: move features definition to generic header
This patch moves all the Virtio definition to the generic header. It also renames some helpers to no more reference PCI.
Signed-off-by: Maxime
net/virtio: move features definition to generic header
This patch moves all the Virtio definition to the generic header. It also renames some helpers to no more reference PCI.
Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1, v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3 |
|
| #
f50560a5 |
| 15-May-2020 |
Marvin Liu <[email protected]> |
net/virtio: fix unexpected event after reconnect
Event notification should be disabled after virtqueue initialization and enabled by calling rte_eth_dev_rx_intr_enable later. When virtio user device
net/virtio: fix unexpected event after reconnect
Event notification should be disabled after virtqueue initialization and enabled by calling rte_eth_dev_rx_intr_enable later. When virtio user device reconnecting to vhost, virtqueue_disable_intr should be called to disable event notification.
Fixes: 6ebbf4109f35 ("net/virtio-user: fix packed ring server mode") Cc: [email protected]
Signed-off-by: Marvin Liu <[email protected]> Acked-by: Xiao Wang <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v20.05-rc2 |
|
| #
ea5207c1 |
| 30-Apr-2020 |
Joyce Kong <[email protected]> |
virtio: use one way barrier for split vring used index
In case VIRTIO_F_ORDER_PLATFORM(36) is not negotiated, then the frontend and backend are assumed to be implemented in software, that is they ca
virtio: use one way barrier for split vring used index
In case VIRTIO_F_ORDER_PLATFORM(36) is not negotiated, then the frontend and backend are assumed to be implemented in software, that is they can run on identical CPUs in an SMP configuration. Thus a weak form of memory barriers like rte_smp_r/wmb, other than rte_cio_r/wmb, is sufficient for this case(vq->hw->weak_barriers == 1) and yields better performance. For the above case, this patch helps yielding even better performance by replacing the two-way barriers with C11 one-way barriers for used index in split ring.
Signed-off-by: Joyce Kong <[email protected]> Reviewed-by: Gavin Hu <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
| #
4710e16a |
| 29-Apr-2020 |
Marvin Liu <[email protected]> |
net/virtio: add parameter to enable vectorized path
Previously, virtio split ring vectorized path was enabled by default. This is not suitable for everyone because that path does not follow virtio s
net/virtio: add parameter to enable vectorized path
Previously, virtio split ring vectorized path was enabled by default. This is not suitable for everyone because that path does not follow virtio spec. Add new devarg for virtio vectorized path selection. By default vectorized path is disabled.
Signed-off-by: Marvin Liu <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1 |
|
| #
6ebbf410 |
| 15-Jan-2020 |
Xuan Ding <[email protected]> |
net/virtio-user: fix packed ring server mode
This patch fixes the situation where data path does not work properly when vhost reconnects to virtio in server mode with packed ring.
Currently, virtio
net/virtio-user: fix packed ring server mode
This patch fixes the situation where data path does not work properly when vhost reconnects to virtio in server mode with packed ring.
Currently, virtio and vhost share memory of vring. For split ring, vhost can read the status of descriptors directly from the available ring and the used ring during reconnection. Therefore, the data path can continue.
But for packed ring, when reconnecting to virtio, vhost cannot get the status of descriptors via the descriptor ring. By resetting Tx and Rx queues, the data path can restart from the beginning.
Fixes: 4c3f5822eb21 ("net/virtio: add packed virtqueue defines") Cc: [email protected]
Signed-off-by: Xuan Ding <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1 |
|
| #
4cdc4d98 |
| 19-Mar-2019 |
Tiwei Bie <[email protected]> |
net/virtio: drop redundant suffix in packed ring structure
Drop redundant suffix (_packed and _event) from the fields in packed ring structure.
Signed-off-by: Tiwei Bie <[email protected]> Review
net/virtio: drop redundant suffix in packed ring structure
Drop redundant suffix (_packed and _event) from the fields in packed ring structure.
Signed-off-by: Tiwei Bie <[email protected]> Reviewed-by: Jens Freimann <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
| #
dfd33aa4 |
| 19-Mar-2019 |
Tiwei Bie <[email protected]> |
net/virtio: refactor virtqueue structure
Put split ring and packed ring specific fields into separate sub-structures, and also union them as they won't be available at the same time.
Signed-off-by:
net/virtio: refactor virtqueue structure
Put split ring and packed ring specific fields into separate sub-structures, and also union them as they won't be available at the same time.
Signed-off-by: Tiwei Bie <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1 |
|
| #
a76290c8 |
| 17-Dec-2018 |
Jens Freimann <[email protected]> |
net/virtio: implement Rx path for packed queues
Implement the receive part.
Signed-off-by: Jens Freimann <[email protected]> Signed-off-by: Tiwei Bie <[email protected]> Reviewed-by: Maxime Co
net/virtio: implement Rx path for packed queues
Implement the receive part.
Signed-off-by: Jens Freimann <[email protected]> Signed-off-by: Tiwei Bie <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1 |
|
| #
7097ca1b |
| 02-Jul-2018 |
Marvin Liu <[email protected]> |
net/virtio: free in-order descriptors before device start
Add new function for freeing IN_ORDER descriptors. As descriptors will be allocated and freed sequentially when IN_ORDER feature was negotia
net/virtio: free in-order descriptors before device start
Add new function for freeing IN_ORDER descriptors. As descriptors will be allocated and freed sequentially when IN_ORDER feature was negotiated. There will be no need to utilize chain for freed descriptors management, only index update is enough.
Signed-off-by: Marvin Liu <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1, v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2 |
|
| #
727411f5 |
| 23-Jan-2018 |
Olivier Matz <[email protected]> |
net/virtio: fix typo in function name
Fixes: c1f86306a026 ("virtio: add new driver")
Signed-off-by: Olivier Matz <[email protected]> Acked-by: Yuanhan Liu <[email protected]>
|
| #
e67ae1e2 |
| 23-Jan-2018 |
Olivier Matz <[email protected]> |
net/virtio: fix queue flushing with vector Rx enabled
When using vector Rx mode (use_simple_rx = 1), vq->vq_descx[] is not kept up to date. To properly detach the mbufs in this case, browse sw_ring[
net/virtio: fix queue flushing with vector Rx enabled
When using vector Rx mode (use_simple_rx = 1), vq->vq_descx[] is not kept up to date. To properly detach the mbufs in this case, browse sw_ring[] instead, as it's done in virtqueue_rxvq_flush().
Since we need virtio_get_queue_type(), also move this function in virtqueue.h as a static inline.
Fixes: fc3d66212fed ("virtio: add vector Rx") Cc: [email protected]
Signed-off-by: Olivier Matz <[email protected]> Acked-by: Yuanhan Liu <[email protected]>
show more ...
|
|
Revision tags: v18.02-rc1 |
|
| #
bcf55c93 |
| 11-Dec-2017 |
Tiwei Bie <[email protected]> |
net/virtio: fix vector Rx flushing
The vector Rx will be broken if backend has consumed all the descs in the avail ring before the device is started. Because in current implementation, vector Rx wil
net/virtio: fix vector Rx flushing
The vector Rx will be broken if backend has consumed all the descs in the avail ring before the device is started. Because in current implementation, vector Rx will return immediately without refilling the avail ring if the used ring is empty. So we have to refill the avail ring after flushing the elements in the used ring for vector Rx.
Besides, vector Rx has a different ring layout assumption and mbuf management. So we need to handle it differently.
Fixes: d8227497ec5c ("net/virtio: flush Rx queues on start") Cc: [email protected]
Reported-by: Antonio Fischetti <[email protected]> Signed-off-by: Tiwei Bie <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]> Tested-by: Antonio Fischetti <[email protected]> Acked-by: Yuanhan Liu <[email protected]>
show more ...
|
| #
5566a3e3 |
| 19-Dec-2017 |
Bruce Richardson <[email protected]> |
drivers: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <bruce.richardson@in
drivers: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v17.11, v17.11-rc4, v17.11-rc3, v17.11-rc2 |
|
| #
d8227497 |
| 20-Oct-2017 |
Tiwei Bie <[email protected]> |
net/virtio: flush Rx queues on start
After starting a device, the driver shouldn't deliver the packets that already existed before the device is started to applications. Otherwise it will lead to in
net/virtio: flush Rx queues on start
After starting a device, the driver shouldn't deliver the packets that already existed before the device is started to applications. Otherwise it will lead to incorrect packet collection for port state. This patch fixes this issue by flushing the Rx queues when starting the device.
Fixes: a85786dc816f ("virtio: fix states handling during initialization") Cc: [email protected]
Signed-off-by: Tiwei Bie <[email protected]> Reviewed-by: Jens Freimann <[email protected]> Acked-by: Yuanhan Liu <[email protected]>
show more ...
|
|
Revision tags: v17.11-rc1, v17.08, v17.08-rc4, v17.08-rc3, v17.08-rc2, v17.08-rc1, v17.05, v17.05-rc4, v17.05-rc3, v17.05-rc2, v17.05-rc1, v17.02, v17.02-rc3, v17.02-rc2, v17.02-rc1 |
|
| #
c056be23 |
| 17-Jan-2017 |
Jianfeng Tan <[email protected]> |
net/virtio: add Rx interrupt enable/disable functions
This patch implements interrupt enable/disable functions for each Rx queue. And we rely on flags of avail queue as the hint for virtio device to
net/virtio: add Rx interrupt enable/disable functions
This patch implements interrupt enable/disable functions for each Rx queue. And we rely on flags of avail queue as the hint for virtio device to interrupt virtio driver or not.
Signed-off-by: Jianfeng Tan <[email protected]> Tested-by: Lei Yao <[email protected]> Acked-by: Yuanhan Liu <[email protected]>
show more ...
|
|
Revision tags: v16.11, v16.11-rc3, v16.11-rc2, v16.11-rc1, v16.07, v16.07-rc5, v16.07-rc4, v16.07-rc3, v16.07-rc2, v16.07-rc1, v16.04, v16.04-rc4, v16.04-rc3, v16.04-rc2, v16.04-rc1, v2.2.0, v2.2.0-rc4, v2.2.0-rc3, v2.2.0-rc2, v2.2.0-rc1, v2.1.0, v2.1.0-rc4, v2.1.0-rc3, v2.1.0-rc2, v2.1.0-rc1 |
|
| #
2f7fdb9d |
| 15-Jul-2015 |
Bernard Iremonger <[email protected]> |
virtio: check virtqueue parameter when detaching
If vq is NULL, there is a segmentation fault.
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Changchun Ouyang <changchun.o
virtio: check virtqueue parameter when detaching
If vq is NULL, there is a segmentation fault.
Signed-off-by: Bernard Iremonger <[email protected]> Acked-by: Changchun Ouyang <[email protected]> Acked-by: Stephen Hemminger <[email protected]>
show more ...
|
| #
6c3169a3 |
| 15-May-2015 |
Bruce Richardson <[email protected]> |
virtio: move to drivers/net/
Move virtio PMD to drivers/net directory
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: John McNamara <[email protected]> Acked-by: Thomas
virtio: move to drivers/net/
Move virtio PMD to drivers/net directory
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: John McNamara <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|