| 6a87d036 | 16-Feb-2022 |
Bruce Richardson <[email protected]> |
dma/idxd: configure maximum batch size to high value
When configuring an Intel DSA instance using the utility script dpdk_idxd_cfg.py, explicitly set the max supported batch size value to a high val
dma/idxd: configure maximum batch size to high value
When configuring an Intel DSA instance using the utility script dpdk_idxd_cfg.py, explicitly set the max supported batch size value to a high value, to ensure large bursts are supported if so desired. The default in the linux kernel is now just 32 [1], which may not be sufficient for all DPDK apps.
[1] https://lore.kernel.org/r/163528473483.3926048.7950067926287180976.stgit@djiang5-desk3.ch.intel.com
Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Kevin Laatz <[email protected]>
show more ...
|
| 03390445 | 17-Feb-2022 |
Chengwen Feng <[email protected]> |
dma/hisilicon: use common PCI device naming
For DMA device 0000:7d:0.0, the original generated dmadev name starts with the "7d:0.0", which is not expected. This patch uses rte_pci_device_name API to
dma/hisilicon: use common PCI device naming
For DMA device 0000:7d:0.0, the original generated dmadev name starts with the "7d:0.0", which is not expected. This patch uses rte_pci_device_name API to generates the dmadev name.
Cc: [email protected]
Signed-off-by: Chengwen Feng <[email protected]>
show more ...
|
| 63990aeb | 11-Jan-2022 |
Bruce Richardson <[email protected]> |
dma/idxd: fix wrap-around in burst capacity calculation
The burst capacity calculation code assumes that the write and read (i.e. ids_returned) values both wrap at the ring-size, but the read value
dma/idxd: fix wrap-around in burst capacity calculation
The burst capacity calculation code assumes that the write and read (i.e. ids_returned) values both wrap at the ring-size, but the read value instead wraps as UINT16_MAX. Therefore, instead of just adding ring-size to the write value in case the read is greater, we need to just always mask the result to ensure a correct, in-range, value.
Fixes: 9459de4edc99 ("dma/idxd: add burst capacity") Cc: [email protected]
Reported-by: Sunil Pai G <[email protected]> Signed-off-by: Bruce Richardson <[email protected]> Tested-by: Sunil Pai G <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
| 32776763 | 11-Jan-2022 |
Bruce Richardson <[email protected]> |
dma/idxd: fix paths to driver sysfs directory
Recent kernel changes[1][2] mean that we cannot guarantee that the paths in sysfs used for creating/binding a DSA or workqueue instance will be as given
dma/idxd: fix paths to driver sysfs directory
Recent kernel changes[1][2] mean that we cannot guarantee that the paths in sysfs used for creating/binding a DSA or workqueue instance will be as given in the utility script, since they are now "compatibility-mode only". Update script to support both new paths and compatibility ones.
[1] https://lore.kernel.org/all/162637445139.744545.6008938867943724701.stgit@djiang5-desk3.ch.intel.com/ [2] https://lore.kernel.org/all/162637468705.744545.4399080971745974435.stgit@djiang5-desk3.ch.intel.com/
Fixes: 01863b9d2354 ("raw/ioat: include example configuration script") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
| 3340c3e2 | 03-Nov-2021 |
Radha Mohan Chintakuntla <[email protected]> |
dma/cnxk: add scatter-gather copy
Add the copy_sg function that will do the multiple DMA transfers of different sizes and different source/destination as well.
Signed-off-by: Radha Mohan Chintakunt
dma/cnxk: add scatter-gather copy
Add the copy_sg function that will do the multiple DMA transfers of different sizes and different source/destination as well.
Signed-off-by: Radha Mohan Chintakuntla <[email protected]>
show more ...
|
| 9e16317a | 02-Nov-2021 |
Chengwen Feng <[email protected]> |
dma/hisilicon: add probing
This patch add dmadev instances create during the PCI probe, and destroy them during the PCI remove. Internal structures and HW definitions was also included.
Signed-off-
dma/hisilicon: add probing
This patch add dmadev instances create during the PCI probe, and destroy them during the PCI remove. Internal structures and HW definitions was also included.
Signed-off-by: Chengwen Feng <[email protected]>
show more ...
|