[Edited Message Follows] Hi Team, I have written a plugin attached to device_input and running before ethernet_input. I am receiving all the packets for that particular physical interface. Actually this is working as we expected and okay.
Now I have a requirement to get packets only for a particular sub interface/VLAN interface. If I want to receive the packets(Layer2 level) from VLAN interface where should I attach my plugin? I know attaching at device_input we are getting VLAN packets also but we don't want to get all the packets to plugin, because the plugin with become bottleneck for whole my system. Next question I have is, Is it okay to implement multi thread approach in plugin, because my system must reach line speed? In multi thread approach, My plugin can spawn one thread for one interface(could be VLAN) its monitoring, Like that it will spawn several threads depending on the requirement. Do you think is it feasible approach? do you have any better approach to handle this situation? If we can't do parallel processing, I think we can not achieve line speed in my system, please advice me //Ravi
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16770): https://lists.fd.io/g/vpp-dev/message/16770 Mute This Topic: https://lists.fd.io/mt/74987897/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
