Skip to content

Conversation

@Kalimuthu-Velappan
Copy link
Contributor

@Kalimuthu-Velappan Kalimuthu-Velappan commented Dec 4, 2020

It provides generic library support for filtering the netlink message using eBPF based packet filtering.
Linux netlink messaging system is a broadcast domain, every netlink message is broadcasted to all the subscribed applications regardless of whether the application is interested in it or not.

In a scaled scenario, more than 1 million messages is being broadcasted across applications.
This framework helps to filter the unwanted netlink message at the kernel space itself and eliminates the unnecessary passing of message to the user space application and then it gets dropped. This improves the system
performance and scales the system to a higher level.

It has dependent PR:
sonic-net/sonic-linux-kernel#178

- Why I did it

- How I did it

- How to verify it

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems 4.9 kernel?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIxed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.19

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIxed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not amd64, use CONFIGURED_ARCH

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIxed

It provides a generic library support for filtering the netlink message
using eBPF based packet filtering.
Linux netlink messaging system is a broadcast domain, every netlink
message is broadcasted to all the subscribed appplications regardless
whether the application is interested in it or not.
In a scaled scenario, more than 1 million message is being broadcasted
across applications.
This framework helps to filter the unwanted netlink message at the
kernel space itself and eliminates the unnecessary passing of message to the user space
application and then it get dropped. This improves the system
performance and scale the system to higher level.
@Kalimuthu-Velappan
Copy link
Contributor Author

Fixed the review comments

@Kalimuthu-Velappan
Copy link
Contributor Author

retest this please

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants