net/vhost: enable promiscuous and multicast by default
authorXiaolong Ye <xiaolong.ye@intel.com>
Wed, 26 Feb 2020 13:45:34 +0000 (21:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:07 +0000 (13:57 +0200)
commita2154606ffa6b5ddacbebd8714facc7e2fda3262
tree95db5cf9788b5e862628e2a6209697c61d8e7e86
parentf5f093d1c54e80cc1a911c26b5a099fb9203340a
net/vhost: enable promiscuous and multicast by default

With this patch, the promiscuous and multicast fields are initialized as
enabled for vhost PMD by default, this allows the devices to be used
when running applications that attempt to enable promiscuous or
multicast mode.
Similar things have done for other virtual PMDs by commit f165210321c4
("drivers/net: enable promiscuous and multicast by default")

Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/vhost/rte_eth_vhost.c