Lines Matching refs:mode

259  * 1) TxDring mode:
260 * In versions < v1.6 of VIO Protocol, we support only TxDring mode. In this
261 * mode, we create a transmit descriptor ring and export it to the peer through
267 * is mapped by this device as its receive ring. In this mode, in a given data
273 * 2) RxDringData mode:
274 * In versions >= v1.6 of VIO Protocol, we also support RxDringData mode. In
275 * this mode, we create a receive descriptor ring and export it to the peer
284 * along with its buffer area. In this mode, in a given data transfer
289 * We enable RxDringData mode during handshake negotiations if LDC supports
291 * which is required to support RxDringData mode.
300 * In RxDringData mode, # of buffers is determined by multiplying the # of
329 * that determines the sizes based on MTU. Used in TxDring mode only.
435 static char smode_propname[] = "vsw-switch-mode";
686 * switch mode is setup.
691 * Setup the required switching mode, based on the mdprops that we read
833 * If we have started a thread to setup the switching mode, stop it, if
835 * mode, then we need to clean up some additional things if we are
836 * running in L2 mode: first free up any hybrid resources; then stop
1015 * Read the 'vsw-switch-mode' property from the specified MD node.
1020 vsw_get_md_smodes(vsw_t *vswp, md_t *mdp, mde_cookie_t node, uint8_t *mode)
1029 * Get the switch-mode property. The modes are listed in
1030 * decreasing order of preference, i.e. prefered mode is
1037 * Unable to get switch-mode property from MD, nothing
1040 cmn_err(CE_WARN, "!vsw%d: Unable to get switch mode property"
1049 * programmed mode.
1051 * promiscuous mode.
1053 * in non-promiscuous mode.
1058 *mode = VSW_LAYER2;
1060 *mode = VSW_LAYER2 | VSW_LAYER2_PROMISC;
1062 *mode = VSW_LAYER3;
1064 cmn_err(CE_WARN, "!vsw%d: Unknown switch mode %s, "
1065 "setting to default switched mode",
1067 *mode = VSW_LAYER2;
1072 D2(vswp, "%s: %d mode", __func__, *mode);
1106 * able to operate in some other mode.
1202 * If the switching mode has not been setup yet, just
1211 /* if in layer2 mode, program unicast address. */
1765 "defaulting to 'switched' mode",
2166 * the vsw is being changed to 'routed' mode.
2230 D2(vswp, "%s: switching mode changed from %d to %d",
2314 * Stop any pending thread to setup switching mode.
2346 * Update array with the new switch mode values.
2366 * Unable to setup switching mode.
2710 * VSW_MACRX_PROMISC -- Check if the promisc mode set or not.
2734 * the interface is in the PROMISC mode.