From: Jiri Pirko <jiri@resnulli.us>
To: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: davem@davemloft.net, xiyou.wangcong@gmail.com, jhs@mojatatu.com,
gerlitz.or@gmail.com, netdev@vger.kernel.org,
oss-drivers@netronome.com,
John Hurley <john.hurley@netronome.com>
Subject: Re: [PATCH net-next v2 7/7] net: sched: call reoffload op on block callback reg
Date: Mon, 25 Jun 2018 23:37:17 +0200 [thread overview]
Message-ID: <20180625213717.GO2161@nanopsycho> (raw)
In-Reply-To: <20180625213010.13266-8-jakub.kicinski@netronome.com>
Mon, Jun 25, 2018 at 11:30:10PM CEST, jakub.kicinski@netronome.com wrote:
>From: John Hurley <john.hurley@netronome.com>
>
>Call the reoffload tcf_proto_op on all tcf_proto nodes in all chains of a
>block when a callback tries to register to a block that already has
>offloaded rules. If all existing rules cannot be offloaded then the
>registration is rejected. This replaces the previous policy of rejecting
>such callback registration outright.
>
>On unregistration of a callback, the rules are flushed for that given cb.
>The implementation of block sharing in the NFP driver, for example,
>duplicates shared rules to all devs bound to a block. This meant that
>rules could still exist in hw even after a device is unbound from a block
>(assuming the block still remains active).
>
>Signed-off-by: John Hurley <john.hurley@netronome.com>
>Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
next prev parent reply other threads:[~2018-06-25 21:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-25 21:30 [PATCH net-next v2 0/7] net: sched: support replay of filter offload when binding to block Jakub Kicinski
2018-06-25 21:30 ` [PATCH net-next v2 1/7] net: sched: pass extack pointer to block binds and cb registration Jakub Kicinski
2018-06-25 21:35 ` Jiri Pirko
2018-06-25 21:30 ` [PATCH net-next v2 2/7] net: sched: add tcf_proto_op to offload a rule Jakub Kicinski
2018-06-25 21:35 ` Jiri Pirko
2018-06-25 21:30 ` [PATCH net-next v2 3/7] net: sched: cls_flower: implement offload tcf_proto_op Jakub Kicinski
2018-06-25 21:36 ` Jiri Pirko
2018-06-25 21:30 ` [PATCH net-next v2 4/7] net: sched: cls_matchall: " Jakub Kicinski
2018-06-25 21:36 ` Jiri Pirko
2018-06-25 21:30 ` [PATCH net-next v2 5/7] net: sched: cls_u32: " Jakub Kicinski
2018-06-25 21:30 ` [PATCH net-next v2 6/7] net: sched: cls_bpf: " Jakub Kicinski
2018-06-25 21:30 ` [PATCH net-next v2 7/7] net: sched: call reoffload op on block callback reg Jakub Kicinski
2018-06-25 21:37 ` Jiri Pirko [this message]
2018-06-26 14:21 ` [PATCH net-next v2 0/7] net: sched: support replay of filter offload when binding to block 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=20180625213717.GO2161@nanopsycho \
--to=jiri@resnulli.us \
--cc=davem@davemloft.net \
--cc=gerlitz.or@gmail.com \
--cc=jakub.kicinski@netronome.com \
--cc=jhs@mojatatu.com \
--cc=john.hurley@netronome.com \
--cc=netdev@vger.kernel.org \
--cc=oss-drivers@netronome.com \
--cc=xiyou.wangcong@gmail.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