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

[vs]: Increase swiotlb size to support multi-asic VS #6674

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

SuvarnaMeenakshi
Copy link
Contributor

- Why I did it
Current mutli-asic vs hwsku consists of 6 asics with each asic having 32 interfaces.
When bringing this up, below issue was seen:
When all 32 interfaces in each namespace (sonic interfaces and linux interface) is set to 9100 mtu, DMA error is seen "DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:06:03.0" which can be fixed by updating swiotlb=65536 in /host/grub/grub.cfg .

- How I did it
Add ONIE_PLATFORM_EXTRA_CMDLINE_LINUX parameter in virtual platform's installer.conf which will get picked up in install.sh.

- How to verify it
Bring up a single asic/multi-asic VS, check the file /host/grub/grub.cfg. This file should have swiotlb=65536.
Also, dmesg logs after boot up should have swiotlb added in kernel cmdline.

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

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

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

@lguohan lguohan merged commit 2a92701 into sonic-net:master Feb 4, 2021
abdosi pushed a commit that referenced this pull request Feb 26, 2021
…6674)

Current mutli-asic vs hwsku consists of 6 asics with each asic having 32 interfaces.
When bringing this up, below issue was seen:
When all 32 interfaces in each namespace (sonic interfaces and linux interface) is set to 9100 mtu, DMA error is seen "DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:06:03.0" which can be fixed by updating swiotlb=65536 in /host/grub/grub.cfg .

Signed-off-by: SuvarnaMeenakshi <[email protected]>
@SuvarnaMeenakshi SuvarnaMeenakshi deleted the masic_swiotlb branch September 2, 2022 17:33
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.

3 participants