From: "Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>
To: Vasily Philipov <vasilyf@mellanox.com>
Cc: dev@dpdk.org, Adrien Mazarguil <adrien.mazarguil@6wind.com>
Subject: Re: [PATCH 2/2] net/mlx4: support basic flow items and actions
Date: Wed, 22 Feb 2017 11:10:01 +0100 [thread overview]
Message-ID: <20170222101001.GJ23344@autoinstall.dev.6wind.com> (raw)
In-Reply-To: <20170222083742.GI23344@autoinstall.dev.6wind.com>
On Wed, Feb 22, 2017 at 09:37:42AM +0100, Nélio Laranjeiro wrote:
> On Tue, Feb 21, 2017 at 02:07:03PM +0000, Vasily Philipov wrote:
> > Adding support for the next items: eth, vlan, ipv4, udp, tcp and for the
> > next actions: queue, drop
> >
> > Signed-off-by: Vasily Philipov <vasilyf@mellanox.com>
> > ---
> > drivers/net/mlx4/Makefile | 3 +-
> > drivers/net/mlx4/mlx4.c | 60 ++-
> > drivers/net/mlx4/mlx4.h | 3 +
> > drivers/net/mlx4/mlx4_flow.c | 1053 ++++++++++++++++++++++++++++++++++++++++++
> > drivers/net/mlx4/mlx4_flow.h | 104 +++++
> > 5 files changed, 1220 insertions(+), 3 deletions(-)
> > create mode 100644 drivers/net/mlx4/mlx4_flow.c
> > create mode 100644 drivers/net/mlx4/mlx4_flow.h
> >
>[...]
> > diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
> > index 82ccac8..cc2ebfa 100644
> > --- a/drivers/net/mlx4/mlx4.c
> > +++ b/drivers/net/mlx4/mlx4.c
> > @@ -3985,8 +3989,9 @@ struct txq_mp2mr_mbuf_check_data {
> > return -ret;
> > } while ((--r) && ((rxq = (*priv->rxqs)[++i]), i));
> > priv_dev_interrupt_handler_install(priv, dev);
> > + err = mlx4_priv_flow_start(priv);
> > priv_unlock(priv);
> > - return 0;
> > + return -err;
>[...]
Hi Vasily,
There is an issue in this mlx4_dev_start() when flows cannot be
re-applied (like in mlx5 [1][2]). Can you fix it in a v2 please?
Thanks,
[1] http://dpdk.org/ml/archives/dev/2017-February/058111.html
[2] http://dpdk.org/dev/patchwork/patch/20664/
--
Nélio Laranjeiro
6WIND
next prev parent reply other threads:[~2017-02-22 10:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-21 14:07 [PATCH 1/2] net/mlx4: split the definitions to the header file Vasily Philipov
2017-02-21 14:07 ` [PATCH 2/2] net/mlx4: support basic flow items and actions Vasily Philipov
2017-02-22 8:37 ` Nélio Laranjeiro
2017-02-22 10:10 ` Nélio Laranjeiro [this message]
2017-02-22 8:37 ` [PATCH 1/2] net/mlx4: split the definitions to the header file Nélio Laranjeiro
2017-02-22 13:42 ` [PATCH v2 " Vasily Philipov
2017-02-22 19:04 ` Ferruh Yigit
2017-02-23 10:44 ` Vasily Philipov
2017-03-06 9:24 ` Ferruh Yigit
2017-02-22 13:42 ` [PATCH v2 2/2] net/mlx4: support basic flow items and actions Vasily Philipov
2017-03-05 7:51 ` [PATCH v3 1/2] net/mlx4: split the definitions to the header file Vasily Philipov
2017-03-20 9:19 ` Nélio Laranjeiro
2017-03-20 14:18 ` Ferruh Yigit
2017-03-05 7:51 ` [PATCH v3 2/2] net/mlx4: support basic flow items and actions Vasily Philipov
2017-03-20 9:19 ` Nélio Laranjeiro
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=20170222101001.GJ23344@autoinstall.dev.6wind.com \
--to=nelio.laranjeiro@6wind.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=vasilyf@mellanox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.