68 lines
2.3 KiB
Mathematica
68 lines
2.3 KiB
Mathematica
/* 02comp_ipnet_ifproxy.cdf - configuration for the ifproxy
|
|
END2 Enhanced Network Driver */
|
|
|
|
/*
|
|
* Copyright (c) 2010 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute, modify or otherwise make use
|
|
* of this software may be licensed only pursuant to the terms
|
|
* of an applicable Wind River license agreement.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01c,22nov10,spw fix VIP build warnings
|
|
01b,05oct10,spw network configuration changes.
|
|
01a,27may10,spw written.
|
|
*/
|
|
|
|
#ifdef _WRS_CONFIG_COMPONENT_IFPROXY
|
|
|
|
Component INCLUDE_IFPROXY {
|
|
NAME Ifproxy Network Device
|
|
SYNOPSIS Ifproxy END device and interprocess communication module.
|
|
REQUIRES INCLUDE_MIPC_SM
|
|
MODULES ifproxy.o
|
|
CONFIGLETTES ifproxy_config.c
|
|
INIT_RTN ifproxy_init (IFPROXY_BUS_NAME, IFPROXY_CTRL_PORT, IFPROXY_PORT_CFG_STR);
|
|
_INIT_ORDER usrNetAppInit
|
|
_CHILDREN FOLDER_DRIVERS
|
|
CFG_PARAMS IFPROXY_BUS_NAME \
|
|
IFPROXY_CTRL_PORT \
|
|
IFPROXY_PORT_CFG_STR
|
|
}
|
|
|
|
Parameter IFPROXY_BUS_NAME {
|
|
NAME MIPC bus to use for ifproxy device / protocol
|
|
SYNOPSIS Name of the MIPC bus used for OS communication.
|
|
TYPE char *
|
|
DEFAULT "main"
|
|
}
|
|
|
|
Parameter IFPROXY_CTRL_PORT {
|
|
NAME MIPC port to use for ifproxy device / protocol
|
|
SYNOPSIS MIPC port on which this node is listening for interface \
|
|
registration requests.
|
|
TYPE int
|
|
DEFAULT 30
|
|
}
|
|
|
|
Parameter IFPROXY_PORT_CFG_STR {
|
|
NAME Forwarder ports and cores configuration
|
|
SYNOPSIS A string listing the ports that participate in accelerated \
|
|
forwarding, and the forwarder cores that will poll them. \
|
|
The string should have a value such as \
|
|
"proxy1 3; proxy2 3; proxy3 7; proxy4 7; proxy8 5 6" \
|
|
to indicate that ports proxy2 and proxy3 are polled by a \
|
|
forwarder running on CPU 3, ports proxy4 and proxy5 are \
|
|
polled by a forwarder running on CPU 7, and port proxy8 \
|
|
is polled by forwarders running on CPUs 5 and 6. CPUs \
|
|
outside of the configured range will be ignored. CPU 0 \
|
|
cannot run a forwarder ...
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
#endif
|