[dpdk-dev] [PATCH v6 0/9] Support VxLAN on Fortville

Jijiang Liu jijiang.liu at intel.com
Tue Oct 21 10:45:59 CEST 2014


The patch set supports VxLAN on Fortville based on latest rte_mbuf structure.

It includes:
 - Support VxLAN packet identification by configuring UDP tunneling port.
 - Support VxLAN packet filters. It uses MAC and VLAN to point
   to a queue. The filter types supported are listed below:
   1. Inner MAC and Inner VLAN ID
   2. Inner MAC address, inner VLAN ID and tenant ID.
   3. Inner MAC and tenant ID
   4. Inner MAC address
   5. Outer MAC address, tenant ID and inner MAC
 - Support VxLAN TX checksum offload, which include outer L3(IP), inner L3(IP) and inner L4(UDP,TCP and SCTP)
 
Change notes:
 
 v6)  * Split the rte_mbuf structure changes as a seperate patch.
      * Remove the initialization configuration of VXLAN UDP port.
      * Change the filter_type field in rte_eth_tunnel_filter_conf to "uint16_t" type. 
      * Add more descriptions about some API comments and commit logs.


Jijiang Liu (9):
  rte_mbuf structure changes
  add VxLAN packet identification API in librte_ether
  support VxLAN packet identification in librte_pmd_i40e
  test VxLAN packet identification in testpmd.
  add data structures of tunneling filter in rte_eth_ctrl.h
  implement the API of VxLAN packet filter in librte_pmd_i40e
  test VxLAN packet filter
  support VxLAN Tx checksum offload
  test VxLAN Tx checksum offload

 app/test-pmd/cmdline.c            |  230 ++++++++++++++++++++++++-
 app/test-pmd/config.c             |    6 +-
 app/test-pmd/csumonly.c           |  195 +++++++++++++++++++--
 app/test-pmd/parameters.c         |   13 ++
 app/test-pmd/rxonly.c             |   49 ++++++
 app/test-pmd/testpmd.c            |    8 +
 app/test-pmd/testpmd.h            |    4 +
 lib/librte_ether/rte_eth_ctrl.h   |   64 +++++++
 lib/librte_ether/rte_ethdev.c     |   63 +++++++
 lib/librte_ether/rte_ethdev.h     |   63 +++++++
 lib/librte_ether/rte_ether.h      |    8 +
 lib/librte_mbuf/rte_mbuf.h        |   26 +++-
 lib/librte_pmd_i40e/i40e_ethdev.c |  341 ++++++++++++++++++++++++++++++++++++-
 lib/librte_pmd_i40e/i40e_ethdev.h |    8 +-
 lib/librte_pmd_i40e/i40e_rxtx.c   |   55 ++++++-
 15 files changed, 1101 insertions(+), 32 deletions(-)

-- 
1.7.7.6



More information about the dev mailing list