Bug 15184 - In smb.conf, interfaces option has no way to just disable RSS
Summary: In smb.conf, interfaces option has no way to just disable RSS
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.13.14
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-22 20:52 UTC by suinn
Modified: 2022-09-23 00:23 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description suinn 2022-09-22 20:52:16 UTC
On my QNAP setup, its running Samba Version 4.13.14 and has multichannel enabled with "server multi channel support = yes" in the smb.conf file.

I'm trying to disable RSS for the various interfaces and am currently using the entry of: 
interfaces = "eth0;capability=RDMA" "eth2;capability=RDMA" "eth4;capability=RDMA"

This will disable the RSS flag in the IOCTL FSCTL_QUERY_NETWORK_INTERFACE_INFO

I find there is no way in that interfaces line to just turn off RSS for that interface.

This line should work:
interfaces = "eth0;capability=" "eth2;capability=" "eth4;capability="

but the packet traces show that RSS is still on.  

Do we need something like
interfaces = "eth0;capability=NO_RSS" "eth2;capability=NO_RSS" "eth4;capability=NO_RSS"

Or just fix the case of "capability="