Hi Berna, You can also try: set interface rx-mode Summary/usage set interface rx-mode <interface> [queue <n>] [polling | interrupt | adaptive]. Description This command is used to assign the RX packet processing mode (polling, interrupt, adaptive) of the a given interface, and optionally a given queue. If the 'queue' is not provided, the 'mode' is applied to all queues of the interface. Not all interfaces support all modes. To display the current rx-mode use the command 'show interface rx-placement'. Example usage Example of how to assign rx-mode to all queues on an interface: vpp# set interface rx-mode VirtualEthernet0/0/12 polling Example of how to assign rx-mode to one queue of an interface: vpp# set interface rx-mode VirtualEthernet0/0/12 queue 0 interrupt Example of how to display the rx-mode of all interfaces: vpp# show interface rx-placement Thread 1 (vpp_wk_0): node dpdk-input: GigabitEthernet7/0/0 queue 0 (polling) node vhost-user-input: VirtualEthernet0/0/12 queue 0 (interrupt) VirtualEthernet0/0/12 queue 2 (polling) VirtualEthernet0/0/13 queue 0 (polling) VirtualEthernet0/0/13 queue 2 (polling) Thread 2 (vpp_wk_1): node dpdk-input: GigabitEthernet7/0/1 queue 0 (polling) node vhost-user-input: VirtualEthernet0/0/12 queue 1 (polling) VirtualEthernet0/0/12 queue 3 (polling) VirtualEthernet0/0/13 queue 1 (polling) VirtualEthernet0/0/13 queue 3 (polling)
De : <vpp-dev@lists.fd.io> au nom de Berna Demir <berna.demirs...@gmail.com> Date : samedi 25 mai 2019 à 14:49 À : "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Objet : Re: [vpp-dev] VPP in interrupt mode I found it. there is parameter to add sleep time in poll mode. poll-sleep-usec <n> https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/users/configuring/startup.html#unix On Sat, May 25, 2019 at 3:56 PM Berna Demir <berna.demirs...@gmail.com<mailto:berna.demirs...@gmail.com>> wrote: Hi Is there any way to configure vpp in interrupt mode for test purpose. I know vpp as dpdk application should read NIC in pooling mode but I have limited CPU resource in my development machine. Thanks, Berna
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13149): https://lists.fd.io/g/vpp-dev/message/13149 Mute This Topic: https://lists.fd.io/mt/31760235/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-