Netdev List
 help / color / mirror / Atom feed
From: Quentin Monnet <quentin.monnet@netronome.com>
To: Jakub Kicinski <jakub.kicinski@netronome.com>, netdev@vger.kernel.org
Cc: daniel@iogearbox.net, jiri@resnulli.us, oss-drivers@netronome.com
Subject: Re: [oss-drivers] [PATCH net 0/2] cls_bpf: fix offload state tracking with block callbacks
Date: Wed, 20 Dec 2017 11:33:55 +0000	[thread overview]
Message-ID: <c05df04c-f0b2-66ba-a170-aee24fe1e596@netronome.com> (raw)
In-Reply-To: <20171219213214.1084-1-jakub.kicinski@netronome.com>

2017-12-19 13:32 UTC-0800 ~ Jakub Kicinski <jakub.kicinski@netronome.com>
> Hi!
>
> After introduction of block callbacks classifiers can no longer track
> offload state.  cls_bpf used to do that in an attempt to move common
> code from drivers to the core.  Remove that functionality and fix
> drivers.
>
> The user-visible bug this is fixing is that trying to offload a second
> filter would trigger a spurious DESTROY and in turn disable the already
> installed one.
>
>
> Jakub Kicinski (2):
>   cls_bpf: fix offload assumptions after callback conversion
>   nfp: bpf: keep track of the offloaded program
>
>  drivers/net/ethernet/netronome/nfp/bpf/main.c | 55 ++++++++++++----
>  drivers/net/ethernet/netronome/nfp/bpf/main.h |  8 +++
>  include/net/pkt_cls.h                         |  5 +-
>  net/sched/cls_bpf.c                           | 93 +++++++++++----------------
>  4 files changed, 92 insertions(+), 69 deletions(-)
>

Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>

  parent reply	other threads:[~2017-12-20 11:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 21:32 [PATCH net 0/2] cls_bpf: fix offload state tracking with block callbacks Jakub Kicinski
2017-12-19 21:32 ` [PATCH net 1/2] cls_bpf: fix offload assumptions after callback conversion Jakub Kicinski
2017-12-20  6:05   ` Jiri Pirko
2017-12-19 21:32 ` [PATCH net 2/2] nfp: bpf: keep track of the offloaded program Jakub Kicinski
2017-12-20 11:33 ` Quentin Monnet [this message]
2017-12-20 18:32 ` [PATCH net 0/2] cls_bpf: fix offload state tracking with block callbacks David Miller

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=c05df04c-f0b2-66ba-a170-aee24fe1e596@netronome.com \
    --to=quentin.monnet@netronome.com \
    --cc=daniel@iogearbox.net \
    --cc=jakub.kicinski@netronome.com \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@netronome.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