From: Simon Horman <simon.horman@netronome.com>
To: dev@openvswtich.org, netdev@vger.kernel.org
Cc: Pravin Shelar <pshelar@nicira.com>,
Jesse Gross <jesse@nicira.com>, Thomas Graf <tgraf@suug.ch>,
Simon Horman <simon.horman@netronome.com>
Subject: [PATCH/RFC 8/8] hack: ofproto: enable odp select action
Date: Thu, 18 Sep 2014 10:52:33 +0900 [thread overview]
Message-ID: <1411005153-11041-9-git-send-email-simon.horman@netronome.com> (raw)
In-Reply-To: <1411005153-11041-1-git-send-email-simon.horman@netronome.com>
This is a quick hack to enable the datapath group select action.
It is in lieu of some combination of:
* probing
* run-time configuration by the end-use.
* run-time heuristic to use the action as appropriate
Signed-off-by: Simon Horman <simon.horman@netronome.com>
---
ofproto/ofproto-dpif-xlate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index b08a821..eca617d 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -2896,7 +2896,7 @@ xlate_select_group_userspace(struct xlate_ctx *ctx, struct group_dpif *group)
static void
xlate_select_group(struct xlate_ctx *ctx, struct group_dpif *group)
{
- if (ctx->xbridge->dp_select_group) {
+ if (true /*ctx->xbridge->dp_select_group*/ ) {
xlate_select_group_datapath(ctx, group);
} else {
xlate_select_group_userspace(ctx, group);
--
2.0.1
prev parent reply other threads:[~2014-09-18 1:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 1:52 [PATCH/RFC 0/8] Open vSwtich ODP Select Group Action Simon Horman
2014-09-18 1:52 ` [PATCH/RFC 1/8] odp: select group action attributes Simon Horman
2014-09-18 1:52 ` [PATCH/RFC 2/8] netlink: Allow suppression of warnings for duplicate attributes Simon Horman
2014-09-18 1:52 ` [PATCH/RFC 3/8] odp-util: formatting of datapath select group action Simon Horman
2014-09-18 1:52 ` [PATCH/RFC 4/8] datapath: execution of " Simon Horman
2014-09-18 1:52 ` [PATCH/RFC 5/8] datapath: Move last_action() helper to datapath.h Simon Horman
2014-09-18 1:52 ` [PATCH/RFC 6/8] datapath: validation of select group action Simon Horman
2014-09-18 1:52 ` [PATCH/RFC 7/8] ofproto: translate datapath " Simon Horman
2014-09-18 1:52 ` Simon Horman [this message]
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=1411005153-11041-9-git-send-email-simon.horman@netronome.com \
--to=simon.horman@netronome.com \
--cc=dev@openvswtich.org \
--cc=jesse@nicira.com \
--cc=netdev@vger.kernel.org \
--cc=pshelar@nicira.com \
--cc=tgraf@suug.ch \
/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;
as well as URLs for NNTP newsgroup(s).