Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nic firmware compilation #1

Open
petrarce opened this issue Mar 2, 2020 · 0 comments
Open

nic firmware compilation #1

petrarce opened this issue Mar 2, 2020 · 0 comments

Comments

@petrarce
Copy link

petrarce commented Mar 2, 2020

Hi everyone!

I am trying to compile netronome firmware from scratch, but after i am loading the firmware to the i am not able to load any bpf filter. Loading original firmware doesn't have such a problem.

Here are steps i am performing to compile and load firmware:

  make nic/nic_AMDA0099-0001_2x10.nffw
  cp ./firmware/nffw/nic/nic_AMDA0099-0001_2x10.nffw /opt/netronome/agilio-bpf-firmware/ic_AMDA0099-0001_2x10.nffw
  rmmod nfp
  modprobe nfp

But when i am trying to load ebpf filter i am getting

bpf: bpf(BPF_PROG_LOAD): Invalid argument

Is there something i am missing during compilation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant