src/dpdk/drivers/net/cxgbe/base/t4_hw.c
int t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port,
		unsigned int pf, unsigned int vf, unsigned int nmac, u8 *mac,
		unsigned int *rss_size, u8 *vivld, u8 *vin)
{
	return t4_alloc_vi_func(adap, mbox, port, pf, vf, nmac, mac, rss_size,
				FW_VI_FUNC_ETH, 0, vivld, vin);
}
/**
 * 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,
		unsigned int *rss_size, u8 *vivld, u8 *vin)
{
	return t4_alloc_vi_func(adap, mbox, port, pf, vf, nmac, mac, rss_size,
				FW_VI_FUNC_ETH, 0, vivld, vin);
}
int t4_alloc_vi ( struct adapter * adap , unsigned int mbox , unsigned int port , unsigned int pf , unsigned int vf , unsigned int nmac , u8 * mac , unsigned int * rss_size , u8 * vivld , u8 * vin ) { return t4_alloc_vi_func ( adap , mbox , port , pf , vf , nmac , mac , rss_size , FW_VI_FUNC_ETH , 0 , vivld , vin ) ; }
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