Skip to content

Conversation

@alan-maguire
Copy link
Member

net_buffer_tuner.so was failing to load BTF due to a failure to find netdev_max_backlog ksym.

netdev_max_backlog was an int prior to 6.9 then it got added to a netdev hotpath struct; rather than using it in calculations retrieve the sysctl value and set a bpf global for use in bpf prog context; update it in userspace when we bump sysctl value.

Reported-by: HippieMitch https://github.com/HippieMitch

net_buffer_tuner.so was failing to load BTF due to a failure
to find netdev_max_backlog ksym.

netdev_max_backlog was an int prior to 6.9 then it got added
to a netdev hotpath struct; rather than using it in calculations
retrieve the sysctl value and set a bpf global for use in bpf
prog context; update it in userspace when we bump sysctl value.

Reported-by: HippieMitch <https://github.com/HippieMitch>
Signed-off-by: Alan Maguire <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 17, 2024
@alan-maguire alan-maguire merged commit 83115c5 into main May 17, 2024
@alan-maguire alan-maguire deleted the net_buffer_backlog branch December 2, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant