Tested-by:huilong,xu <huilongx.xu at intel.com> Os: 3.11.10-301.fc20.x86_64 Gcc: gcc version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC) Package: d2c08067240baf27f2447bf4981b9ab58ce74d35 + l2payload patch NIC: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ [8086:1583] Test case Summary: 1 case passed Test sets: 1. build dpdk with x86_64 gcc target 2. set hugpage and bind igb_uio to Fortville nic 3. ./testpmd -c ffff -n 4 -- -I --portmask=0x3 --disable-rss --rxq=2 --txq=2 --nbcores=8 --pkt-filter-mode=perfect 4. exec testpmd cmdline a) set verbose 1 b) set fwd rxonly c) flow_director_filter 0 add flow l2_payload ether 0x0806 flexbytes () fwd queue 1 fd 1 d) start 5. send a arp package to port 0 6. testpmd print port 0 queue 1 received a pachage
> -----Original Message----- > From: Wu, Jingjing > Sent: Tuesday, June 16, 2015 11:44 AM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Xu, HuilongX > Subject: [PATCH v2 0/4] extend flow director to support L2_paylod type > > This patch set extends flow director to support L2_paylod type in i40e > driver. > > v2 change: > - remove the flow director VF filtering from this patch to avoid breaking > ABI. > > Jingjing Wu (4): > ethdev: add struct rte_eth_l2_flow to support l2_payload flow type > i40e: extend flow diretcor to support l2_payload flow type > testpmd: extend commands > doc: extend commands in testpmd > > app/test-pmd/cmdline.c | 48 > +++++++++++++++++++++++++++-- > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 ++- > drivers/net/i40e/i40e_fdir.c | 24 +++++++++++++-- > lib/librte_ether/rte_eth_ctrl.h | 8 +++++ > 4 files changed, 78 insertions(+), 7 deletions(-) > > -- > 1.9.3