DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jasvinder Singh <jasvinder.singh@intel.com>
To: dev@dpdk.org
Cc: cristian.dumitrescu@intel.com, ferruh.yigit@intel.com
Subject: [dpdk-dev] [PATCH 0/2] net/softnic: add flow classification support
Date: Thu, 30 Nov 2017 20:08:41 +0000	[thread overview]
Message-ID: <20171130200843.98621-1-jasvinder.singh@intel.com> (raw)

This patchset extends the softnic device by implementing
the software fallback for flow classification as defined
using Flow APIs. When feature is enabled, softnic classifies
and executes actions on the received packets based on flow
rules specified using rte_flow.h.

The motivation behind this feature is to implement metering
and policing function in softnic which requires each flow to
be classified at the preceding stage of the packet processing
pipeline. Another aspect is to  support classification of the
greater number of flows (For e.g. 64K) which is not feasible
in some hardware due to resource limitation such as memory, etc.

This feature, inherently, uses the abstraction provided by dpdk
librte_table library to create hash table for classification,
and allows users to validate, add and delete flow rules. Current
version does not implement all functions and will be completed
in the next version.

Jasvinder Singh (2):
  net/softnic: add flow classification support
  net/softnic: add flow classification ops

 drivers/net/softnic/Makefile                    |   2 +-
 drivers/net/softnic/rte_eth_softnic.c           | 389 +++++++++++++-
 drivers/net/softnic/rte_eth_softnic.h           |  16 +
 drivers/net/softnic/rte_eth_softnic_fc.c        | 680 ++++++++++++++++++++++++
 drivers/net/softnic/rte_eth_softnic_internals.h | 162 +++++-
 mk/rte.app.mk                                   |   2 +
 6 files changed, 1240 insertions(+), 11 deletions(-)
 create mode 100644 drivers/net/softnic/rte_eth_softnic_fc.c

-- 
2.9.3

             reply	other threads:[~2017-11-30 19:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30 20:08 Jasvinder Singh [this message]
2017-11-30 20:08 ` [dpdk-dev] [PATCH 1/2] net/softnic: enable flow classification function Jasvinder Singh
2017-12-07 21:02   ` Ferruh Yigit
2017-12-07 22:16     ` Thomas Monjalon
2017-12-08  9:53     ` Singh, Jasvinder
2017-11-30 20:08 ` [dpdk-dev] [PATCH 2/2] net/softnic: add flow classification ops Jasvinder Singh
2017-12-07 21:02 ` [dpdk-dev] [PATCH 0/2] net/softnic: add flow classification support Ferruh Yigit
2017-12-08  9:50   ` Singh, Jasvinder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171130200843.98621-1-jasvinder.singh@intel.com \
    --to=jasvinder.singh@intel.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).