Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

XDP Tx ring disable timeout when loader is stopped #324

@QuiiBz

Description

@QuiiBz

Hello, I've discovered in /var/log/syslog that when the loader program is stopped, there is a disable timeout, and then the i40e driver enters allmulti mode:

Apr 26 15:26:55 SRV-PVE-2 kernel: [895028.655165] i40e 0000:01:00.0: VSI seid 404 XDP Tx ring 33 disable timeout
Apr 26 15:26:57 SRV-PVE-2 kernel: [895030.595925] i40e 0000:01:00.0: entering allmulti mode.

I'm using the same loader code as in this example. I have a few maps in my BPF program:

  • 3x PerfMap with 1024 max_entries
  • 2x HashMap with 1 max_entries
  • 1x PerCpuHashMap with 1_000_000 max_entries

I suspect the last one caused the issue - it's used as a rate limit for each saddr as a key, and a counter as the value.

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