> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Viswanath Alikonda > Sent: Tuesday, March 25, 2014 11:55 AM > To: dev at dpdk.org > Subject: [dpdk-dev] Using flow director to distrbute vlan traffic > > Hi, > > I am using DPDK 1.4 and trying to distribute traffic based on (IP,vlan). I > expect the traffic of (IP,vlan) goes to one core. The code looks like this:
Can't know for sure what the specific issue is in this case, but a general point to watch out for with the flow director APIs is byte ordering - check that the parameters are specified in network byte order where appropriate, e.g. vlan tag. [See cmd_pkt_filter_parsed() function inside the testpmd app to see how the parameters to the flow director filter need to be set.] /Bruce