DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/2] net/enic: a couple new features
@ 2019-09-23 14:41 Hyong Youb Kim
  2019-09-23 14:41 ` [dpdk-dev] [PATCH v2 1/2] net/enic: enable Geneve with options offload Hyong Youb Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hyong Youb Kim @ 2019-09-23 14:41 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev, John Daley, Hyong Youb Kim

The first patch enables Geneve offload that supports Geneve header
options. Previous Geneve offload does not work when options are
present.

The second patch adds the new flow implementation based on Flow
Manager. So the driver now has two implementations: one based on the
old filter API, and this new one based on Flow Manager. Flow Manager
is newer firmware interface with more actions and match items than the
filter API. enic_fm_flow.c is quite large but self contained. We tried
to break it up into multiple patches, but it did not really make sense
in the end. So sending the whole file in one patch.

checkpatches complains about these errors. We checked and found it
safe to ignore them (false positives).

CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses

Thanks.
-Hyong

v2: add FMOP_NOP to the flowman header, which was missing in v1

Hyong Youb Kim (2):
  net/enic: enable Geneve with options offload
  net/enic: add flow implementation based on Flow Manager API

 doc/guides/nics/enic.rst               |   21 +
 doc/guides/rel_notes/release_19_11.rst |    5 +
 drivers/net/enic/Makefile              |    1 +
 drivers/net/enic/base/vnic_dev.c       |   90 +-
 drivers/net/enic/base/vnic_dev.h       |    2 +
 drivers/net/enic/base/vnic_devcmd.h    |   19 +
 drivers/net/enic/base/vnic_flowman.h   |  365 ++++
 drivers/net/enic/enic.h                |   24 +-
 drivers/net/enic/enic_ethdev.c         |   25 +-
 drivers/net/enic/enic_fm_flow.c        | 2459 ++++++++++++++++++++++++
 drivers/net/enic/enic_main.c           |   30 +-
 drivers/net/enic/enic_res.c            |   13 +-
 drivers/net/enic/meson.build           |    1 +
 13 files changed, 3047 insertions(+), 8 deletions(-)
 create mode 100644 drivers/net/enic/base/vnic_flowman.h
 create mode 100644 drivers/net/enic/enic_fm_flow.c

-- 
2.22.0


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

end of thread, other threads:[~2019-10-10 12:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-23 14:41 [dpdk-dev] [PATCH v2 0/2] net/enic: a couple new features Hyong Youb Kim
2019-09-23 14:41 ` [dpdk-dev] [PATCH v2 1/2] net/enic: enable Geneve with options offload Hyong Youb Kim
2019-09-23 14:41 ` [dpdk-dev] [PATCH v2 2/2] net/enic: add flow implementation based on Flow Manager API Hyong Youb Kim
2019-10-10 12:19 ` [dpdk-dev] [PATCH v2 0/2] net/enic: a couple new features Ferruh Yigit

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