FreeBSD/sys/dev/cxgbe/common/t4_hw.c
/**
 *      t4_alloc_vi - allocate an [Ethernet Function] virtual interface
 *      @adap: the adapter
 *      @mbox: mailbox to use for the FW command
 *      @port: physical port associated with the VI
 *      @pf: the PF owning the VI
 *      @vf: the VF owning the VI
 *      @nmac: number of MAC addresses needed (1 to 5)
 *      @mac: the MAC addresses of the VI
 *      @rss_size: size of RSS table slice associated with this VI
 *
 *	backwards compatible and convieniance routine to allocate a Virtual
 *	Interface with a Ethernet Port Application Function and Intrustion
 *	Detection System disabled.
 */


backwards compatible and convieniance routine to allocate a Virtual
Interface with a Ethernet Port Application Function and Intrustion
Detection System disabled.
backwards compatible and convieniance routine to allocate a Virtual Interface with a Ethernet Port Application Function and Intrustion Detection System disabled .
int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port,
		unsigned int pf, unsigned int vf, unsigned int nmac, u8 *mac,
		u16 *rss_size)
{
	return t4_alloc_vi_func(adap, mbox, port, pf, vf, nmac, mac, rss_size,
				FW_VI_FUNC_ETH, 0);
}
int t4_alloc_vi ( struct adapter * adap , unsigned int mbox , unsigned int port , unsigned int pf , unsigned int vf , unsigned int nmac , u8 * mac , u16 * rss_size ) { return t4_alloc_vi_func ( adap , mbox , port , pf , vf , nmac , mac , rss_size , FW_VI_FUNC_ETH , 0 ) ; }
t4_alloc_vi - allocate an [Ethernet Function] virtual interface
      @adap: the adapter
      @mbox: mailbox to use for the FW command
      @port: physical port associated with the VI
      @pf: the PF owning the VI
      @vf: the VF owning the VI
      @nmac: number of MAC addresses needed (1 to 5)
      @mac: the MAC addresses of the VI
      @rss_size: size of RSS table slice associated with this VI
t4_alloc_vi - allocate an [ Ethernet Function ] virtual interface @adap : the adapter @mbox : mailbox to use for the FW command @port : physical port associated with the VI @pf : the PF owning the VI @vf : the VF owning the VI @nmac : number of MAC addresses needed ( 1 to 5 ) @mac : the MAC addresses of the VI @rss_size : size of RSS table slice associated with this VI