Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

snd_ctl_make_virtual_master(9) [centos man page]

SND_CTL_MAKE_VIRTUAL(9) 					 Control/Mixer API					   SND_CTL_MAKE_VIRTUAL(9)

NAME
snd_ctl_make_virtual_master - Create a virtual master control SYNOPSIS
struct snd_kcontrol * snd_ctl_make_virtual_master(char * name, const unsigned int * tlv); ARGUMENTS
name name string of the control element to create tlv optional TLV int array for dB information DESCRIPTION
Creates a virtual master control with the given name string. After creating a vmaster element, you can add the slave controls via snd_ctl_add_slave or snd_ctl_add_slave_uncached. The optional argument tlv can be used to specify the TLV information for dB scale of the master control. It should be a single element with #SNDRV_CTL_TLVT_DB_SCALE, #SNDRV_CTL_TLV_DB_MINMAX or #SNDRV_CTL_TLVT_DB_MINMAX_MUTE type, and should be the max 0dB. RETURN
The created control element, or NULL for errors (ENOMEM). COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SND_CTL_MAKE_VIRTUAL(9)

Check Out this Related Man Page

lldptool(8)							       Linux							       lldptool(8)

NAME
evb - Show / manipulate EVB TLV configuration SYNOPSIS
lldptool -t -i ethx -V evbCfg -c enableTx lldptool -T -i ethx -V evbCfg -c enableTx=[yes|no] lldptool -t -i ethx -V evbCfg -c fmode lldptool -T -i ethx -V evbCfg -c fmode=[bridge|reflectiverelay] lldptool -t -i ethx -V evbCfg -c capabilities lldptool -T -i ethx -V evbCfg -c capabilities=[rte|ecp|vdp|none] lldptool -t -i ethx -V evbCfg -c rte lldptool -T -i ethx -V evbCfg -c rte=[<rte>] lldptool -t -i ethx -V evbCfg -c vsis lldptool -T -i ethx -V evbCfg -c vsis=[<number of vsis>] DESCRIPTION
The EVB TLV is a TLV to announce the station and bridge's edge virtual bridging (evb) capabilities and request the bridge forwarding mode. If both sides have agree on edge control protocol (ECP), VSI discovery protocol (VDP) capabilities, both sides can exchange VDP TLV using ECP frames. The vsis parameter will set the maximum number of VSIs and show the number of currently configured VSIs. ARGUMENTS
enableTx Enables the EVB TLV to be transmitted fmode shows or sets the forwarding mode between bridge (default) or reflectiverelay (RR). capabilities shows or sets the local capabilities that are announced to the adjacent switch in the TLV. This parameter will accept any combina- tion of rte, vdp or ecp, separated by ",". Use the keyword "none" if you do not want to set any capabilities. rte shows or set the local run time exponent (RTE). The RTE will be used as the base for the timing of the ECP and VDP protocols. vsis shows or sets the number of virtual station interfaces (VSIs) that are announced to the adjacent switch in the TLV. This parameter expects a number between 0 and 65535. Theory of Operation The EVB TLV is used to announce and exchange supported parameters between the station and an adjacent switch. If "reflectiverelay" is set as forwarding mode, the switch will allow "reflection" of frames coming from different sources at the same port back to the port. This will allow communication between virtual machines on the same host via the switch. The capabilities parameter is used to set RTE, ECP and VDP support. VDP TLVs in ECP frames can only be exchanged if both sides agree on ECP and VDP as capabilities. RTE will be used as the base timing parameter for ECP and VDP. EXAMPLE &; USAGE Display locally configured values for eth8 lldptool -t -i eth8 -V evbCfg Display remotely configured values for eth8 lldptool -n -t -i eth8 -V evbCfg Display wether evb tlv is configured for tx on eth8 lldptool -t -i eth8 -V evbCfg -c enableTx Display the currently requested forwarding mode for eth8 lldptool -t -i eth8 -V evbCfg -c fmode Set the forwarding mode to reflective relay lldptool -T -i eth8 -V evbCfg -c fmode=reflectiverelay Display the currently configured capabilities lldptool -t -i ethx -V evbCfg -c capabilities Set the locally possible capabilities to RTE, ECP and VDP lldptool -T -i ethx -V evbCfg -c capabilities=rte,ecp,vdp Resets the locally possible capabilities to "none" lldptool -T -i ethx -V evbCfg -c capabilities=none Display the locally configured value for RTE lldptool -t -i ethx -V evbCfg -c rte Set the value for RTE lldptool -T -i ethx -V evbCfg -c rte=[<rte>] Display the configured maximum number of VSIs lldptool -t -i ethx -V evbCfg -c vsis Set the maximum number of VSIs lldptool -T -i ethx -V evbCfg -c vsis=[<number of vsis>] SOURCE
o IEEE 802.1Qbg (http://www.ieee802.org/1/pages/802.1bg.html) NOTES
Currently the code in lldpad reflects draft 0 of the upcoming standard. EVB TLVs on the wire can be decoded with wireshark > v1.6. SEE ALSO
lldptool-vdp(8), lldptool(8), lldpad(8) AUTHOR
Jens Osterkamp open-lldp February 2010 lldptool(8)
Man Page

Featured Tech Videos