Page MenuHomeFreeBSD

Add HW RSS support to VNIC driver
ClosedPublic

Authored by zbb on May 5 2016, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 17 2024, 9:15 AM
Unknown Object (File)
Mar 17 2024, 8:53 AM
Unknown Object (File)
Mar 10 2024, 3:34 PM
Unknown Object (File)
Jan 8 2024, 6:22 PM
Unknown Object (File)
Jan 8 2024, 6:22 PM
Unknown Object (File)
Jan 8 2024, 6:22 PM
Unknown Object (File)
Jan 8 2024, 6:22 PM
Unknown Object (File)
Jan 8 2024, 6:10 PM
Subscribers

Details

Summary

Based on v1.0 driver provided by Cavium under BSD license.
Support in-hardware RSS to distribute IP, UDP and TCP traffic
among available RX Queues and hence multiple CPUs.

Reviewed by:
Obtained from: Semihalf
Sponsored by: Cavium

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zbb retitled this revision from to Add HW RSS support to VNIC driver.
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added a reviewer: wma.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added a subscriber: arm64.
wma edited edge metadata.
wma added inline comments.
sys/dev/vnic/nic.h
195 ↗(On Diff #15941)

If this really needs to be cache aligned (I doubt it, though) we need to fix CACHE_LINE_SIZE. That define is 64b while on ThunderX we've got 128b lines.

This revision is now accepted and ready to land.May 6 2016, 7:39 AM
sys/dev/vnic/nic.h
195 ↗(On Diff #15941)

Copy paste from the reference code. Can be removed. Also please change the cache line size definition. I thought it was done long ago already and is as for AMD64

zbb edited edge metadata.

Removed unnecessary cache alignment

This revision now requires review to proceed.May 11 2016, 1:08 PM
This revision was automatically updated to reflect the committed changes.