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

[test_vrf1_neigh_with_new_router_mac] increase socket size to receive jumbograms #5669

Merged

Conversation

vboykox
Copy link
Member

@vboykox vboykox commented May 17, 2022

Signed-off-by: Volodymyr Boyko volodymyrx.boiko@intel.com

Description of PR

Summary:
Fixes # (issue)
vrf test sends packets of size 9k; need to increase packet socket recv size accordingly, otherwise received packets get truncated to 4096 (default receive size)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Verified by manually checking if the packet received during test_vrf1_neigh_with_new_router_mac.
With this change it fails with:

"Exception: Pkt sent from 30.0.0.1 to 192.168.0.2 on port 2 was rcvd pkt on 1 which is one of the expected ports, but the src mac doesn't match, expected 00:12:34:56:78:9a, got 00:90:fb:5e:d6:be",

instead of no packet received.
The reason why the test still fails and ongoing discussion in these issues:
sonic-net/SONiC#409 (comment)
sonic-net/sonic-swss#1833

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@vboykox vboykox requested a review from a team as a code owner May 17, 2022 23:46
@vboykox vboykox force-pushed the vboykox/increase-sock-size-again branch from 07843c3 to bd110db Compare May 18, 2022 08:39
@vboykox
Copy link
Member Author

vboykox commented May 18, 2022

/azp run Azure.sonic-mgmt

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 5669 in repo Azure/sonic-mgmt

@vboykox vboykox force-pushed the vboykox/increase-sock-size-again branch from bd110db to ea5e0aa Compare May 18, 2022 15:36
@vboykox
Copy link
Member Author

vboykox commented May 18, 2022

@yejianquan please review

… jumbogram

Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
@yejianquan
Copy link
Collaborator

@vboykox It looks safe and reasonable, but please fill in the "How did you verify/test it?" section by describing how did you test it and the test results?

@vboykox
Copy link
Member Author

vboykox commented May 23, 2022

@vboykox It looks safe and reasonable, but please fill in the "How did you verify/test it?" section by describing how did you test it and the test results?

done

Copy link
Collaborator

@yejianquan yejianquan left a comment

Choose a reason for hiding this comment

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

LGTM

@yejianquan yejianquan merged commit 147b978 into sonic-net:master May 23, 2022
@vboykox vboykox deleted the vboykox/increase-sock-size-again branch May 23, 2022 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants