[dpdk-dev] [PATCH v13 2/2] vhost: Add VHOST PMD

2016-03-22 Thread Tetsuya Mukawa
On 2016/03/22 0:40, Loftus, Ciara wrote: >> + >> +static void >> +eth_dev_info(struct rte_eth_dev *dev, >> + struct rte_eth_dev_info *dev_info) >> +{ >> +dev_info->driver_name = drivername; >> +dev_info->max_mac_addrs = 1; >> +dev_info->max_rx_pktlen = (uint32_t)-1; >> +

[dpdk-dev] [PATCH v13 2/2] vhost: Add VHOST PMD

2016-03-22 Thread Loftus, Ciara
> > On 2016/03/22 10:55, Tetsuya Mukawa wrote: > > On 2016/03/22 0:40, Loftus, Ciara wrote: > >>> + > >>> +static void > >>> +eth_dev_info(struct rte_eth_dev *dev, > >>> + struct rte_eth_dev_info *dev_info) > >>> +{ > >>> + dev_info->driver_name = drivername; > >>> + dev_info->max_mac_addrs

[dpdk-dev] [PATCH v13 2/2] vhost: Add VHOST PMD

2016-03-21 Thread Loftus, Ciara
chardson, Bruce ; > ann.zhuangyanying at huawei.com; thomas.monjalon at 6wind.com; Tetsuya > Mukawa > Subject: [dpdk-dev] [PATCH v13 2/2] vhost: Add VHOST PMD > > The patch introduces a new PMD. This PMD is implemented as thin wrapper > of librte_vhost. It means librte_vhost is also neede

[dpdk-dev] [PATCH v13 2/2] vhost: Add VHOST PMD

2016-03-21 Thread Tetsuya Mukawa
The patch introduces a new PMD. This PMD is implemented as thin wrapper of librte_vhost. It means librte_vhost is also needed to compile the PMD. The vhost messages will be handled only when a port is started. So start a port first, then invoke QEMU. The PMD has 2 parameters. - iface: The