Skip to content

Commit efebe4a

Browse files
committed
main: don't probe devices on fslmc bus
Like pci bus, we should not probe any devices on fslmc bus. Let's add a fake device in the allowed list of DPDK. Note: This series doesn't work as fslmc bus do nothing to plug or unplug a device. [1]. So it should not be merged until it has been fixed in the DPDK. [1] https://git.dpdk.org/dpdk/tree/drivers/bus/fslmc/fslmc_bus.c#n591 Signed-off-by: Maxime Leroy <[email protected]>
1 parent 718df0c commit efebe4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main/dpdk.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ int dpdk_init(void) {
138138
gr_vec_add(eal_args, "-l");
139139
gr_vec_add(eal_args, main_lcore);
140140
gr_vec_add(eal_args, "-a");
141-
gr_vec_add(eal_args, "0000:00:00.0");
141+
gr_vec_add(eal_args, "pci:0000:00:00.0");
142+
gr_vec_add(eal_args, "-a");
143+
gr_vec_add(eal_args, "fslmc:dpni.65535");
142144

143145
if (gr_config.test_mode) {
144146
gr_vec_add(eal_args, "--no-shconf");

0 commit comments

Comments
 (0)