InterfaceSettings.CreateInterfaceSettings Method
A static method to create an NL2 interface.
Namespace:
IntervalZero.MaxRT.NL2.Config
Assembly:
IntervalZero.MaxRT.NL2.Config (in IntervalZero.MaxRT.NL2.Config.dll) Version: 1.0.0.0 (File version: 1.0.1)
Syntax
public static InterfaceSettings CreateInterfaceSettings(
string name,
string driver,
string pciBusLocation,
string deviceInstanceID
)
Parameters
name
Type: String
The new interface name.
driver
Type: String
The path to the network device driver DLL.
pciBusLocation
Type: String
The hardware location for the physical NIC.
deviceInstanceID
Type: String
The hardware ID.
Return Value
Type: InterfaceSettings
Returns an InterfaceSettings instance.
Remarks
The default values of the following properties will be set by the CreateInterfaceSettings method:
- Enabled = true
- JumboEnabled = false
- JumboMaxPacketSize = 15868
- SpeedDuplex = AUTO_NEGOTIATE_UNRESTRICTED
- FlowControl = FLOW_CONTROL_HARDWARE_DEFAULT
- HardwareTimestampingEnabled = false
- IngressTimestampingRule = RTFW_ITR_TIMESTAMP_ALL_FRAMES
- IngressTimestampingUDPPort = STANDARD_UDP_PORT
- IngressTimestampingEtherType = STANDARD_ETHERTYPE
- InterruptType = RTIN_MSI
- NonMSIXIstIdealProcessor = RTFW_DEFAULT_RTSS_PROCESSOR
- NonMSIXIstPriority = 66
- MSIXNonQueueMessageId = 0
- TxQueues[0].Size = sizeof(RTFW_NL2_INTERFACE_TXQUEUE)
- TxQueues[0].Index = 0
- TxQueues[0].Enabled = true
- TxQueues[0].BufferCount = 0
- TxQueues[0].TimestampingEnabled = false
- TxQueues[0].ManagementThreadIdealProcessor = RTFW_DEFAULT_RTSS_PROCESSOR
- TxQueues[0].ManagementThreadPriority = 66
- TxQueues[0].MSIXQueueMessageId = 0
- RxQueues[0].Size = sizeof(RTFW_NL2_INTERFACE_RXQUEUE)
- RxQueues[0].Index = 0
- RxQueues[0].Enabled = true
- RxQueues[0].BufferCount = 0
- RxQueues[0].TimestampingEnabled = false
- RxQueues[0].ManagementThreadIdealProcessor = RTFW_DEFAULT_RTSS_PROCESSOR
- RxQueues[0].ManagementThreadPriority = 66
- RxQueues[0].MSIXQueueMessageId = 0
- MSIXMessages[0].Size = sizeof(RTFW_NL2_INTERFACE_MSIXMESSAGE)
- MSIXMessages[0].Enabled = true
- MSIXMessages[0].MSIXMessageID = 0
- MSIXMessages[0].ISTIdealProcessor = RTFW_DEFAULT_RTSS_PROCESSOR
- MSIXMessages[0].ISTPriority = 66
See Also: