Build kernel modules in CI.#98
Conversation
Signed-off-by: fruffy <fruffy@nyu.edu>
88cf6ab to
a7fbb6b
Compare
|
@fruffy -- attached is the diff that allows the kernel modules from SDE-9.13.4 to compile on Ubuntu-22.04 with Linux kernel 6.8.0 and Gcc-12. I think it should work on open-p4studio as well. Unfortunately, I cannot verify its correctness beyond being able to compile and load bf-knet module, since I do not have access to the hardware. But basically these are all trivial changes that make the newer gcc happy, that's all. |
Signed-off-by: fruffy <fruffy@nyu.edu>
Signed-off-by: fruffy <fruffy@nyu.edu>
|
Good catch, @fruffy -- I replaced a number of |
vgurevich
left a comment
There was a problem hiding this comment.
I approve, but it would be really nice if someone with the access to the HW can actually test these.
Signed-off-by: fruffy <fruffy@nyu.edu> Signed-off-by: Fabian Ihle <fabian.ihle@uni-tuebingen.de>
Hi there! I can confirm that the changed files work on the actual HW (tested on a Tofino 2). I applied the same procedure I described in #101 to test it. Feel free to ping me if you need some tests on the HW done in the future! :) |
Signed-off-by: fruffy <fruffy@nyu.edu> Signed-off-by: Fabian Ihle <fabian.ihle@uni-tuebingen.de>
Signed-off-by: fruffy <fruffy@nyu.edu> Signed-off-by: Fabian Ihle <fabian.ihle@uni-tuebingen.de>
Signed-off-by: fruffy <fruffy@nyu.edu>
Signed-off-by: fruffy <fruffy@nyu.edu> Signed-off-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu>
Let's see what breaks.