次の標準化された INF キーワードは、ネットワーク アダプターの仮想マシン キュー (VMQ) 機能のサポートを有効または無効にするために定義されています。
*VMQ
デバイスが VMQ 機能を有効または無効にしたかどうかを示す値。
*VMQLookaheadSplit
受信バッファーを先読みバッファーと先読み後バッファーに分割する機能がデバイスで有効または無効になっているかどうかを示す値。 The miniport driver reports this capability with the NDIS_RECEIVE_FILTER_LOOKAHEAD_SPLIT_SUPPORTED flag in the SupportedQueueProperties member of the NDIS_RECEIVE_FILTER_CAPABILITIES structure. この機能の詳細については、「 受信バッファーの共有メモリ」を参照してください。
Note Starting with NDIS 6.30, splitting packet data into separate lookahead buffers is no longer supported. Windows Server 2012 以降では、この INF キーワードは廃止されています。
*VMQVlanFiltering
デバイスが、メディア アクセス制御 (MAC) ヘッダーの VLAN 識別子を使用してネットワーク パケットをフィルター処理する機能を有効または無効にしたかどうかを示す値。 The miniport driver reports this capability with the NDIS_RECEIVE_FILTER_MAC_HEADER_VLAN_ID_SUPPORTED flag in SupportedMacHeaderFields member of the NDIS_RECEIVE_FILTER_CAPABILITIES structure.
*RssOrVmqPreference
受信側スケーリング (RSS) 機能の代わりに VMQ 機能を有効にするかどうかを定義する値。
This is a hidden keyword value that must not be specified in the INF file and is not displayed in Advanced property page for the network adapter. 詳細については、「 VMQ および RSS INF キーワードの処理」を参照してください。
VMQ 標準化 INF キーワードは列挙キーワードです。 次の表では、VMQ で標準化された INF キーワードに使用できる INF エントリについて説明します。
| SubkeyName | ParamDesc | Value | EnumDesc |
|---|---|---|---|
| *VMQ | 仮想マシン キュー | 0 | Disabled |
| 1 (Default) | Enabled | ||
| *VMQLookaheadSplit | VMQ 先読み分割 | 0 | Disabled Note Starting with NDIS 6.30, this keyword is no longer supported. |
| 1 (Default) | Enabled | ||
| *VMQVlanFiltering | VMQ VLAN フィルタリング | 0 | Disabled |
| 1 (Default) | Enabled | ||
| *RssOrVmqPreference | 注: このサブキーの ParamDesc エントリと EnumDesc エントリは、INF ファイルまたはユーザー インターフェイスでは使用できません。 詳細については、「 VMQ および RSS INF キーワードの処理」を参照してください。 | 0 (Default) | Note Report RSS capabilities |
| 1 | Note Report VMQ capabilities |
この表の列では、列挙キーワードの次の属性について説明します。
SubkeyName
INF ファイルで指定する必要があるキーワードの名前。 This name also appears in the registry under the NDI\params key for the network adapter.
ParamDesc
SubkeyName INF エントリに関連付けられている表示テキスト。
Note The independent hardware vendor (IHV) can define any descriptive text for the SubkeyName.
Value
リスト内の各 SubkeyName に関連付けられている列挙整数値。
EnumDesc
The display text that is associated with each value that appears in the Advanced property page.
標準化された INF キーワードの詳細については、「 ネットワーク デバイスの標準化された INF キーワード」を参照してください。
VMQ と RSS INF キーワードの処理
VMQ と受信側スケーリング (RSS) をサポートするネットワーク アダプターでは、これらの機能を同時に使用することはできません。 オペレーティング システムでは、次の方法で RSS または VMQ 機能を使用できます。
ネットワーク アダプターが TCP/IP スタックにバインドされている場合、操作によって RSS 機能の使用が有効になります。
ネットワーク アダプターが Hyper-V 拡張可能スイッチ ドライバー スタックにバインドされている場合、オペレーティング システムは VMQ 機能の使用を有効にします。
詳細については、「 Hyper-V 拡張可能スイッチ」を参照してください。
ネットワーク アダプターは無効ではなく、TCP/IP スタックからバインド解除され、Hyper-V ドライバー スタック (または逆) にバインドされている場合に再度有効になるため、このようなネットワーク アダプターで VMQ と RSS を自動的に切り替えすることはできません。
When NDIS calls the MiniportInitializeEx function, the miniport driver follows these steps before it reports its currently-enabled VMQ or RSS capabilities to NDIS:
The miniport driver reads the *RssOrVmqPreference keyword before reporting its currently-enabled capabilities to NDIS.
If the value of the *RssOrVmqPreference keyword is 1, the miniport driver is configured for VMQ preference.
If the value of the *RssOrVmqPreference keyword is zero or the keyword is not present, the miniport driver is configured for RSS preference.
If the miniport driver is configured for VMQ preference, it must read the *VMQ keyword to determine if VMQ is enabled on the network adapter. キーワードが 1 に設定されている場合、ドライバーは現在有効な VMQ 設定を報告します。 ミニポート ドライバーが VMQ 設定を報告する方法の詳細については、「 ネットワーク アダプターの VMQ 機能の決定」を参照してください。
VMQ キーワードの詳細については、「VMQ の標準化された INF キーワード」を参照してください。
Note If the miniport driver is configured for VMQ preference, it must not read any of the RSS standardized keywords.
If the miniport driver is configured for RSS preference, it must read the *RSS keyword to determine if RSS is enabled on the network adapter. キーワードが 1 に設定されている場合、ドライバーは現在有効になっている RSS 設定を報告します。 For more information on how the miniport driver reports RSS settings, see RSS Configuration.
RSS キーワードの詳細については、「RSS の 標準化された INF キーワード」を参照してください。
Note If the miniport driver is configured for RSS preference, it must not read any of the VMQ standardized keywords.
次の表では、ミニポート ドライバーが RSS または VMQ の基本設定を決定し、レジストリ キーワードに基づいて機能をアドバタイズする方法について説明します。
| *RssOrVmqPreference | *VMQ | *RSS | アドバタイズされた VMQ または RSS 機能 |
|---|---|---|---|
| 1 | 1 | N/A | VMQ |
| 1 | 0 | N/A | None |
| 0、またはレジストリに存在しない | N/A | 1 | RSS |
| 0、またはレジストリに存在しない | N/A | 0 | None |
Note The miniport driver must always report the complete RSS and VMQ hardware capabilities regardless of the values of these keywords. これらのキーワード設定は、ドライバーが現在有効な RSS および VMQ 機能を報告する方法にのみ影響します。
予約レジストリ のキーワード
ミニポート ドライバーが VMQ をサポートし、VMQ インターフェイスがネットワーク アダプターで有効になっている場合、ドライバーは次の RSS INF エントリを読み取る必要があります。
| SubkeyName | ParamDesc | Value |
|---|---|---|
| *RssMaxProcNumber | RSS インターフェイスの最大プロセッサ数。 | 0 ~ (MAXIMUM_PROC_PER_GROUP-1) |
| *MaxRssProcessors | RSS プロセッサの最大数。 | 1 ~ MAXIMUM_PROC_PER_SYSTEM。 |
The miniport driver that supports VMQ must not read the following subkeys under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMSMP\Parameters registry key.
| SubkeyName | ParamDesc | Value |
|---|---|---|
| *TenGigVmqEnabled | すべての 10 ギガビット/秒 (Gbps) ネットワーク アダプターで VMQ を有効または無効にします。 | 0 = システムの既定値 (Windows Server 2008 R2 では無効)。 |
| 1=Enabled. | ||
| 2=Explicitly disabled. | ||
| *BelowTenGigVmqEnabled | 10 Gbps 未満をサポートするすべてのネットワーク アダプターで VMQ を有効または無効にします。 | 0 = システムの既定値 (Windows Server 2008 R2 では無効)。 |
| 1=Enabled. | ||
| 2=Explicitly disabled. | ||
| *RssMaxProcNumber | RSS インターフェイスの最大プロセッサ数。 | 0 ~ (MAXIMUM_PROC_PER_GROUP-1) |
| *MaxRssProcessors | RSS プロセッサの最大数。 | 1 ~ MAXIMUM_PROC_PER_SYSTEM。 |