- 论坛徽章:
- 0
|
本帖最后由 84500316 于 2013-09-24 15:03 编辑
mr_king06 发表于 2013-09-24 13:39 ![]()
只有16个队列是因为HW RSS最大只支持16.
大于16的队列是用HW FLOW DIRECTOR实现的,它是在同一条数据流的发 ...
>只有16个队列是因为HW RSS最大只支持16.
>大于16的队列是用HW FLOW DIRECTOR实现的,它是在同一条数据流的发送时来设置相应的接收数据的队列的。也就是说如果一条流只有接收,没有响应,则大于16的队列就无效。
意思是说 可以把reply方向的数据流分配到第>16cpu上是吧? 老的ixgbe驱动有这个开关, 新版本好像找不到, 请明示.- version: 3.17.3
- license: GPL
- description: Intel(R) 10 Gigabit PCI Express Network Driver
- author: Intel Corporation, <linux.nics@intel.com>
- srcversion: 7945D3AF56331F0642022E6
- alias: pci:v00008086d00001557sv*sd*bc*sc*i*
- alias: pci:v00008086d0000154Fsv*sd*bc*sc*i*
- alias: pci:v00008086d0000154Dsv*sd*bc*sc*i*
- alias: pci:v00008086d00001528sv*sd*bc*sc*i*
- alias: pci:v00008086d000010F8sv*sd*bc*sc*i*
- alias: pci:v00008086d0000151Csv*sd*bc*sc*i*
- alias: pci:v00008086d00001529sv*sd*bc*sc*i*
- alias: pci:v00008086d0000152Asv*sd*bc*sc*i*
- alias: pci:v00008086d000010F9sv*sd*bc*sc*i*
- alias: pci:v00008086d00001514sv*sd*bc*sc*i*
- alias: pci:v00008086d00001507sv*sd*bc*sc*i*
- alias: pci:v00008086d000010FBsv*sd*bc*sc*i*
- alias: pci:v00008086d00001517sv*sd*bc*sc*i*
- alias: pci:v00008086d000010FCsv*sd*bc*sc*i*
- alias: pci:v00008086d000010F7sv*sd*bc*sc*i*
- alias: pci:v00008086d00001508sv*sd*bc*sc*i*
- alias: pci:v00008086d000010DBsv*sd*bc*sc*i*
- alias: pci:v00008086d000010F4sv*sd*bc*sc*i*
- alias: pci:v00008086d000010E1sv*sd*bc*sc*i*
- alias: pci:v00008086d000010F1sv*sd*bc*sc*i*
- alias: pci:v00008086d000010ECsv*sd*bc*sc*i*
- alias: pci:v00008086d000010DDsv*sd*bc*sc*i*
- alias: pci:v00008086d0000150Bsv*sd*bc*sc*i*
- alias: pci:v00008086d000010C8sv*sd*bc*sc*i*
- alias: pci:v00008086d000010C7sv*sd*bc*sc*i*
- alias: pci:v00008086d000010C6sv*sd*bc*sc*i*
- alias: pci:v00008086d000010B6sv*sd*bc*sc*i*
- depends: dca
- vermagic: 2.6.32.27 686 4KSTACKS
- parm: InterruptType:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X), default IntMode (deprecated) (array of int)
- parm: IntMode:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X), default 2 (array of int)
- parm: MQ:Disable or enable Multiple Queues, default 1 (array of int)
- parm: DCA:Disable or enable Direct Cache Access, 0=disabled, 1=descriptor only, 2=descriptor and data (array of int)
- parm: RSS:Number of Receive-Side Scaling Descriptor Queues, default 0=number of cpus (array of int)
- parm: VMDQ:Number of Virtual Machine Device Queues: 0/1 = disable, 2-16 enable (default=8) (array of int)
- parm: InterruptThrottleRate:Maximum interrupts per second, per vector, (0,1,956-488281), default 1 (array of int)
- parm: LLIPort:Low Latency Interrupt TCP Port (0-65535) (array of int)
- parm: LLIPush:Low Latency Interrupt on TCP Push flag (0,1) (array of int)
- parm: LLISize:Low Latency Interrupt on Packet Size (0-1500) (array of int)
- parm: LLIEType:Low Latency Interrupt Ethernet Protocol Type (array of int)
- parm: LLIVLANP:Low Latency Interrupt on VLAN priority threshold (array of int)
- parm: FdirPballoc:Flow Director packet buffer allocation level:
- 1 = 8k hash filters or 2k perfect filters
- 2 = 16k hash filters or 4k perfect filters
- 3 = 32k hash filters or 8k perfect filters (array of int)
- parm: AtrSampleRate:Software ATR Tx packet sample rate (array of int)
- parm: LRO:Large Receive Offload (0,1), default 1 = on (array of int)
- parm: allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599 based adapters, default 0 = Disable (array of int)
复制代码 >如果有明确的流分类规则,可以类似下面的试一下:
>ethtool -K ethX ntuple on
>ethtool -U ethX flow-type tcp4 src-ip 168.0.0.1 action 1 --〈队列1〉
有兴趣, 我尝试, 不过我ethtool不support这个, 看了下patch有点大, 要消化下.
>另外,如果有兴趣,可以用驱动的接口实现5-tuple流分类,最多支持128条。
有兴趣, 是否有资料 |
|