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

node-neigh: Query once netlink for neigh discovery device #15431

Merged
merged 1 commit into from Mar 26, 2021

Conversation

brb
Copy link
Member

@brb brb commented Mar 23, 2021

This commit calls netlink.LinkByName() only once to retrieve a netdev used for arpinging neighbors. We can optimize this, because the configuration of cilium does not change during runtime.

This commit calls netlink.LinkByName only once to retrieve a netdev used
for arpinging neighbors. We can optimize this, because the configuration
of cilium does not change during runtime.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
@brb brb added area/daemon Impacts operation of the Cilium daemon. release-note/minor This PR changes functionality that users may find relevant to operating Cilium. needs-backport/1.7 labels Mar 23, 2021
@brb brb requested review from a team and jrfastab March 23, 2021 09:01
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Mar 23, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.9 Mar 23, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.9.6 Mar 23, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.7.16 Mar 23, 2021
@brb
Copy link
Member Author

brb commented Mar 23, 2021

test-me-please

@brb
Copy link
Member Author

brb commented Mar 23, 2021

test-net-next

Copy link
Member

@pchaigno pchaigno left a comment

Choose a reason for hiding this comment

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

LGTM!

pkg/datapath/linux/node.go Show resolved Hide resolved
@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 26, 2021
@brb brb merged commit 8f9a0bc into master Mar 26, 2021
1.10.0 automation moved this from In progress to Done Mar 26, 2021
@brb brb deleted the pr/brb/do-not-query-netlink-neigh-ins branch March 26, 2021 13:14
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.7 in 1.7.16 Mar 31, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.7 to Needs backport from master in 1.7.16 Mar 31, 2021
@aanm aanm mentioned this pull request Mar 31, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.6 Apr 1, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.8 in 1.8.9 Apr 1, 2021
@brb brb mentioned this pull request Apr 1, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed this from Needs backport from master in 1.7.16 Apr 1, 2021
@brb
Copy link
Member Author

brb commented Apr 1, 2021

Removing the 1.7 backport label, as we don't do the periodic ARP refresh in 1.7.

@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.9 Apr 14, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.9 to Backport done to v1.9 in 1.9.6 Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon Impacts operation of the Cilium daemon. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
No open projects
1.8.9
Backport done to v1.8
1.9.6
Backport done to v1.9
Development

Successfully merging this pull request may close these issues.

None yet

5 participants