DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] net/softnic: add flow classification support
@ 2017-11-30 20:08 Jasvinder Singh
  2017-11-30 20:08 ` [dpdk-dev] [PATCH 1/2] net/softnic: enable flow classification function Jasvinder Singh
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jasvinder Singh @ 2017-11-30 20:08 UTC (permalink / raw)
  To: dev; +Cc: cristian.dumitrescu, ferruh.yigit

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-12-08  9:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30 20:08 [dpdk-dev] [PATCH 0/2] net/softnic: add flow classification support Jasvinder Singh
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

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).