Skip to content

nic firmware compilation #1

Description

@petrarce

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions