Thank you for your helpful reply. I know how to start ovs with enable-dpdk manual, do you mean there is no way to start ovs service with enable-dpdk with rpm install? Because I can not append parameter to ovs-vswitchd when I typed 'systemctl start/restart openvswitch'.
Thank you -----邮件原件----- 发件人: Panu Matilainen [mailto:pmati...@redhat.com] 发送时间: 2016年8月25日 19:59 收件人: lifuqiong; discuss@openvswitch.org 抄送: f...@sysclose.org; b...@ovn.org; vincent.jar...@6wind.com 主题: Re: Making an ovs rpm with dpdk, but after installing the rpm , there's no --dpdk parameter in ovs-vswitchd process; Why On 08/25/2016 07:44 AM, lifuqiong wrote: > Hi, > > I making an ovs rpm with dpdk according > http://openvswitch.org/pipermail/dev/2015-November/062732.html and > http://openvswitch.org/pipermail/dev/2016-January/065097.html; > > > > And the rpm with dpdk was made successfully, But when I installing it > using rpm –ivh openvswitch-xxx.rpm; and started the service, the > ovs-vswitchd process has no –dpdk parameter and > > There is still has openvswitch kernel module using command ‘lsmod | > grep openvswitch’; which means the openvswitch service is not running > in dpdk mode; > > > > > > How can I install the ovs rpm with dpdk worked ? Thank you. > > > > My openvswitch’s version is 2.5.0 > > > > SPEC file is using the openvswitch.spec, and change the configure > parameter with dpdk. > The spec change is only about building OVS with DPDK support, configuring it to use is a different and more complicated topic. With OVS 2.5, you'll need to start ovs-vswitchd manually with --dpdk and whatever options you need. Refer to INSTALL.DPDK.md for details. In OVS 2.6 it'll be more integrated and controllable through db options. - Panu - _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss