[dpdk-dev] [PATCH 0/6] Support new flow director modes on Intel x550 NIC

Wenzhuo Lu wenzhuo.lu at intel.com
Fri Sep 25 08:05:19 CEST 2015


This patch set adds 2 new flow director modes on Intel x550 NIC.
The 2 new fdir modes are mac vlan mode and cloud mode.
The mac vlan mode can direct the flow based on the MAC address and VLAN
TCI.
The cloud mode provides the support for VxLAN and NVGRE. x550 can recognize
VxLAN and NVGRE packets, and direct the packets based on the MAC address,
VLAN TCI, TNI/VNI.
Surely, the MAC address, VLAN TCI, TNI/VNI can be masked, so, the flow
can be directed based on the left conditions. For example, if we want to
direct the flow based on the MAC address, we can use mac vlan mode with
VLAN TCI masked.
Now, only x550 supports these 2 modes. We should not use the new mode on
other NICs. If so, the ports will not be initialized successfully.

Wenzhuo Lu (6):
  lib/librte_ether: modify the structures for fdir new modes
  app/testpmd: initialize the new fields for fdir mask
  app/testpmd: new fdir modes for testpmd parameter
  app/testpmd: modify the output of CLI show port fdir
  app/testpmd: modify and add fdir filter and mask CLIs for new modes
  ixgbe: implementation for fdir new modes' config

 app/test-pmd/cmdline.c           | 293 +++++++++++++++++++++++++++++++++++++--
 app/test-pmd/config.c            |  44 ++++--
 app/test-pmd/parameters.c        |   7 +-
 app/test-pmd/testpmd.c           |   3 +
 drivers/net/ixgbe/ixgbe_ethdev.h |   3 +
 drivers/net/ixgbe/ixgbe_fdir.c   | 241 ++++++++++++++++++++++++++------
 lib/librte_ether/rte_eth_ctrl.h  |  68 ++++++---
 7 files changed, 569 insertions(+), 90 deletions(-)1.9.3



More information about the dev mailing list