| 61669ecb | 16-Mar-2020 |
David Christensen <[email protected]> |
pci: fix build on ppc
The include file rte_debug.h is pulled into x86 builds through the following callchain:
lib/librte_eal/common/include/generic/rte_cycles.h:17, lib/librte_eal/common/include/ar
pci: fix build on ppc
The include file rte_debug.h is pulled into x86 builds through the following callchain:
lib/librte_eal/common/include/generic/rte_cycles.h:17, lib/librte_eal/common/include/arch/x86/rte_cycles.h:13, lib/librte_eal/common/include/arch/x86/rte_spinlock.h:18, lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13,
The PPC specific version of the same callchain does not include rte_debug.h. Add rte_debug.h back into the C files that require it.
Fixes: 0dcba5256287 ("pci: remove unneeded includes in public header file") Cc: [email protected]
Signed-off-by: David Christensen <[email protected]> Tested-by: David Wilder <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| dc384b50 | 16-Apr-2019 |
Rosen Xu <[email protected]> |
bus/ifpga: support AFU device search by name
In many scenarios, AFU is needed searched by name, this function add the feature.
Signed-off-by: Rosen Xu <[email protected]> Signed-off-by: Andy Pei <
bus/ifpga: support AFU device search by name
In many scenarios, AFU is needed searched by name, this function add the feature.
Signed-off-by: Rosen Xu <[email protected]> Signed-off-by: Andy Pei <[email protected]>
show more ...
|
| fb87e55a | 18-Jan-2019 |
Andy Pei <[email protected]> |
bus/ifpga: fix AFU probe failure handler
In the original code, when an AFU device probe a driver, if the first driver in the driver list does not support this device or some error happens, bus probe
bus/ifpga: fix AFU probe failure handler
In the original code, when an AFU device probe a driver, if the first driver in the driver list does not support this device or some error happens, bus probe returns an error.
With this patch, a device will try to match driver in the driver list one by one until an appropriate driver is found.
If some error happens, the error is returned. If the current driver does not support the device, just try the next driver in the list.
If all the drivers in the list are tried and no driver matches, 0 is returned. Otherwise, the error code is returned.
Fixes: 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library") Cc: [email protected]
Signed-off-by: Andy Pei <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]> Acked-by: Rosen Xu <[email protected]>
show more ...
|