Configure vlan subif(s), and configure L2 mode. Attach your feature code to the L2 input feature arc(s), and enable on the indicated sw_if_index(es):
.arc_name = "l2-input-ip4", .arc_name = "l2-input-ip6", .arc_name = "l2-input-nonip", Before you mess around spinning up threads, see if the standard (aka zero-work) approach provides sufficient performance. Hardware RSS hashing across a set of standard worker threads tends to scale linearly with the number of worker threads, up to some ridiculous PPS rates. Note that any specific NIC type may not handle small packets at line rate due to PCI-bus limitations. You can’t win at that game. FWIW... Dave From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of RaviKiran Veldanda Sent: Tuesday, June 23, 2020 8:39 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Sub Interface/VLAN receiving packets directly from the Interface and multi thread approach Hi Team, Any advice or pointer helps us to progress on this issue. //Ravi
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16792): https://lists.fd.io/g/vpp-dev/message/16792 Mute This Topic: https://lists.fd.io/mt/74987897/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-