[ipoib] Use localized strings inside the inx file. (mlnx: 3306)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 15 Oct 2008 15:15:14 +0000 (15:15 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 15 Oct 2008 15:15:14 +0000 (15:15 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1652 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/netipoib.inx

index f288f2a..a6a2439 100644 (file)
@@ -69,7 +69,7 @@ HKR, Ndi,                       Service,    0, "ipoib"
 HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"\r
 HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"\r
 \r
-HKR, Ndi\Params\RqDepth,               ParamDesc,      0, "Receive Queue Depth"\r
+HKR, Ndi\Params\RqDepth,               ParamDesc,      0, %RQ_DEPTH_STR%\r
 HKR, Ndi\Params\RqDepth,               Type,           0, "dword"\r
 HKR, Ndi\Params\RqDepth,               Default,        0, "512"\r
 HKR, Ndi\Params\RqDepth,               Optional,       0, "0"\r
@@ -77,7 +77,7 @@ HKR, Ndi\Params\RqDepth,              Min,            0, "128"
 HKR, Ndi\Params\RqDepth,               Max,            0, "1024"\r
 HKR, Ndi\Params\RqDepth,               Step,           0, "128"\r
 \r
-HKR, Ndi\Params\RqLowWatermark,        ParamDesc,      0, "Receive Queue Low Watermark"\r
+HKR, Ndi\Params\RqLowWatermark,        ParamDesc,      0, %RQ_WATERMARK_STR%\r
 HKR, Ndi\Params\RqLowWatermark,        Type,           0, "dword"\r
 HKR, Ndi\Params\RqLowWatermark,        Default,        0, "4"\r
 HKR, Ndi\Params\RqLowWatermark,        Optional,       0, "0"\r
@@ -85,7 +85,7 @@ HKR, Ndi\Params\RqLowWatermark,       Min,            0, "2"
 HKR, Ndi\Params\RqLowWatermark,        Max,            0, "8"\r
 HKR, Ndi\Params\RqLowWatermark,        Step,           0, "1"\r
 \r
-HKR, Ndi\Params\SqDepth,               ParamDesc,      0, "Send Queue Depth"\r
+HKR, Ndi\Params\SqDepth,               ParamDesc,      0, %SQ_DEPTH_STR%\r
 HKR, Ndi\Params\SqDepth,               Type,           0, "dword"\r
 HKR, Ndi\Params\SqDepth,               Default,        0, "512"\r
 HKR, Ndi\Params\SqDepth,               Optional,       0, "0"\r
@@ -93,71 +93,71 @@ HKR, Ndi\Params\SqDepth,            Min,            0, "128"
 HKR, Ndi\Params\SqDepth,               Max,            0, "1024"\r
 HKR, Ndi\Params\SqDepth,               Step,           0, "128"\r
 \r
-HKR, Ndi\Params\SendChksum,            ParamDesc,      0, "Send Checksum Offload"\r
+HKR, Ndi\Params\SendChksum,            ParamDesc,      0, %SQ_CSUM_STR%\r
 HKR, Ndi\Params\SendChksum,            Type,           0, "enum"\r
 HKR, Ndi\Params\SendChksum,            Default,        0, "1"\r
 HKR, Ndi\Params\SendChksum,            Optional,       0, "0"\r
-HKR, Ndi\Params\SendChksum\enum,       "0",    0, "Disabled"\r
-HKR, Ndi\Params\SendChksum\enum,       "1",    0, "Enabled (if supported by HW)"\r
-HKR, Ndi\Params\SendChksum\enum,       "2",    0, "Bypass"\r
+HKR, Ndi\Params\SendChksum\enum,       "0",    0, %DISABLED_STR%\r
+HKR, Ndi\Params\SendChksum\enum,       "1",    0, %ENABLED_IF_STR%\r
+HKR, Ndi\Params\SendChksum\enum,       "2",    0, %BYPASS_STR%\r
 \r
-HKR, Ndi\Params\RecvChksum,            ParamDesc,      0, "Recv Checksum Offload"\r
+HKR, Ndi\Params\RecvChksum,            ParamDesc,      0, %RQ_CSUM_STR%\r
 HKR, Ndi\Params\RecvChksum,            Type,           0, "enum"\r
 HKR, Ndi\Params\RecvChksum,            Default,        0, "1"\r
 HKR, Ndi\Params\RecvChksum,            Optional,       0, "0"\r
-HKR, Ndi\Params\RecvChksum\enum,       "0",    0, "Disabled"\r
-HKR, Ndi\Params\RecvChksum\enum,       "1",    0, "Enabled (if supported by HW)"\r
-HKR, Ndi\Params\RecvChksum\enum,       "2",    0, "Bypass"\r
+HKR, Ndi\Params\RecvChksum\enum,       "0",    0, %DISABLED_STR%\r
+HKR, Ndi\Params\RecvChksum\enum,       "1",    0, %ENABLED_IF_STR%\r
+HKR, Ndi\Params\RecvChksum\enum,       "2",    0, %BYPASS_STR%\r
 \r
-HKR, Ndi\Params\lso,           ParamDesc,      0, "Large Send Offload"\r
+HKR, Ndi\Params\lso,           ParamDesc,      0, %LSO_STR%\r
 HKR, Ndi\Params\lso,           Type,           0, "enum"\r
 HKR, Ndi\Params\lso,           Default,        0, "0"\r
 HKR, Ndi\Params\lso,           Optional,       0, "0"\r
-HKR, Ndi\Params\lso\enum,      "0",    0, "Disabled"\r
-HKR, Ndi\Params\lso\enum,      "1",    0, "Enabled"\r
+HKR, Ndi\Params\lso\enum,      "0",    0, %DISABLED_STR%\r
+HKR, Ndi\Params\lso\enum,      "1",    0, %ENABLED_STR%\r
 \r
 \r
-HKR, Ndi\Params\SaTimeout,             ParamDesc,      0, "SA Query Timeout (ms)"\r
+HKR, Ndi\Params\SaTimeout,             ParamDesc,      0, %SA_QUERY_TO_STR%\r
 HKR, Ndi\Params\SaTimeout,             Type,           0, "dword"\r
 HKR, Ndi\Params\SaTimeout,             Default,        0, "1000"\r
 HKR, Ndi\Params\SaTimeout,             Optional,       0, "0"\r
 HKR, Ndi\Params\SaTimeout,             Min,            0, "500"\r
 HKR, Ndi\Params\SaTimeout,             Step,           0, "250"\r
 \r
-HKR, Ndi\Params\SaRetries,             ParamDesc,      0, "SA Query Retry Count"\r
+HKR, Ndi\Params\SaRetries,             ParamDesc,      0, %SA_QUERY_RETRY_STR%\r
 HKR, Ndi\Params\SaRetries,             Type,           0, "dword"\r
 HKR, Ndi\Params\SaRetries,             Default,        0, "10"\r
 HKR, Ndi\Params\SaRetries,             Optional,       0, "0"\r
 HKR, Ndi\Params\SaRetries,             Min,            0, "1"\r
 \r
-HKR, Ndi\Params\RecvRatio,             ParamDesc,      0, "Receive Pool Ratio"\r
+HKR, Ndi\Params\RecvRatio,             ParamDesc,      0, %RECV_RATIO_STR%\r
 HKR, Ndi\Params\RecvRatio,             Type,           0, "dword"\r
 HKR, Ndi\Params\RecvRatio,             Default,        0, "1"\r
 HKR, Ndi\Params\RecvRatio,             Optional,       0, "0"\r
 HKR, Ndi\Params\RecvRatio,             Min,            0, "1"\r
 HKR, Ndi\Params\RecvRatio,             Max,            0, "10"\r
 \r
-HKR, Ndi\Params\PayloadMtu,            ParamDesc,      0, "Payload Mtu size"\r
+HKR, Ndi\Params\PayloadMtu,            ParamDesc,      0, %MTU_STR%\r
 HKR, Ndi\Params\PayloadMtu,            Type,           0, "dword"\r
 HKR, Ndi\Params\PayloadMtu,            Default,        0, "2044"\r
 HKR, Ndi\Params\PayloadMtu,            Min,            0, "60"\r
 HKR, Ndi\Params\PayloadMtu,            Max,            0, "4092"\r
 \r
-HKR, Ndi\Params\MCLeaveRescan,         ParamDesc,      0, "MC leave rescan (sec)"\r
+HKR, Ndi\Params\MCLeaveRescan,         ParamDesc,      0, %MC_RESCAN_STR%\r
 HKR, Ndi\Params\MCLeaveRescan,         Type,           0, "dword"\r
 HKR, Ndi\Params\MCLeaveRescan,         Default,        0, "260"\r
 HKR, Ndi\Params\MCLeaveRescan,         Optional,       0, "0"\r
 HKR, Ndi\Params\MCLeaveRescan,         Min,            0, "1"\r
 HKR, Ndi\Params\MCLeaveRescan,         Max,            0, "3600"\r
 \r
-HKR, Ndi\Params\guid_mask,             ParamDesc,      0, "GUID bitwise mask"\r
+HKR, Ndi\Params\guid_mask,             ParamDesc,      0, %GUID_MASK_STR%\r
 HKR, Ndi\Params\guid_mask,             Type,           0, "dword"\r
 HKR, Ndi\Params\guid_mask,             Default,        0, "0"\r
 HKR, Ndi\Params\guid_mask,             Optional,       0, "0"\r
 HKR, Ndi\Params\guid_mask,             Min,            0, "0"\r
 HKR, Ndi\Params\guid_mask,             Max,            0, "252"\r
 \r
-HKR, Ndi\Params\BCJoinRetry,           ParamDesc,      0, "Number of retries connecting to bc"\r
+HKR, Ndi\Params\BCJoinRetry,           ParamDesc,      0, %BC_JOIN_RETRY_STR%\r
 HKR, Ndi\Params\BCJoinRetry,           Type,           0, "dword"\r
 HKR, Ndi\Params\BCJoinRetry,           Default,        0, "50"\r
 HKR, Ndi\Params\BCJoinRetry,           Optional,       0, "0"\r
@@ -250,3 +250,22 @@ DIRID_DRIVERS        = 12
 DIRID_SYSTEM_X86     = 16425\r
 REG_DWORD            = 0x00010001\r
 REG_DWORD_NO_CLOBBER = 0x00010003\r
+\r
+RQ_DEPTH_STR           = "Receive Queue depth"\r
+RQ_WATERMARK_STR       = "Receive Queue Low Watermark"\r
+SQ_DEPTH_STR           = "Send Queue Depth"\r
+SQ_CSUM_STR            = "Send Checksum Offload"\r
+RQ_CSUM_STR            = "Recv Checksum Offload"\r
+LSO_STR                        = "Large Send Offload"\r
+SA_QUERY_TO_STR                = "SA Query Timeout (ms)"\r
+SA_QUERY_RETRY_STR     = "SA Query Retry Count"\r
+RECV_RATIO_STR         = "Receive Pool Ratio"\r
+MTU_STR                        = "Payload Mtu size"\r
+MC_RESCAN_STR          = "MC leave rescan (sec)"\r
+GUID_MASK_STR          = "GUID bitwise mask"\r
+BC_JOIN_RETRY_STR   = "Number of retries connecting to bc"\r
+\r
+ENABLED_IF_STR         = "Enabled (if supported by HW)"\r
+ENABLED_STR            = "Enabled"\r
+DISABLED_STR           = "Disabled"\r
+BYPASS_STR             = "Bypass"
\ No newline at end of file