qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: sfeldma@gmail.com, qemu-devel@nongnu.org
Cc: jiri@resnulli.us, dsahern@gmail.com
Subject: Re: [Qemu-devel] [PATCH 4/4] qmp/hmp: add rocker device support
Date: Sat, 20 Jun 2015 23:16:03 +0200	[thread overview]
Message-ID: <5585D813.8040007@redhat.com> (raw)
In-Reply-To: <1431583614-20100-5-git-send-email-sfeldma@gmail.com>



On 14/05/2015 08:06, sfeldma@gmail.com wrote:
> +    case ROCKER_OF_DPA_GROUP_TYPE_L2_REWRITE:
> +        ngroup->has_index = true;
> +        ngroup->index = ROCKER_GROUP_INDEX_LONG_GET(group->id);
> +        ngroup->has_group_id = true;
> +        ngroup->group_id = group->l2_rewrite.group_id;
> +        if (group->l2_rewrite.vlan_id) {
> +            ngroup->has_set_vlan_id = true;
> +            ngroup->set_vlan_id = ntohs(group->l2_rewrite.vlan_id);
> +        }
> +        break;

Misplaced break?

Paolo

> +        if (memcmp(group->l2_rewrite.src_mac.a, zero_mac.a, ETH_ALEN)) {
> +            ngroup->has_set_eth_src = true;
> +            ngroup->set_eth_src =
> +                qemu_mac_strdup_printf(group->l2_rewrite.src_mac.a);
> +        }
> +        if (memcmp(group->l2_rewrite.dst_mac.a, zero_mac.a, ETH_ALEN)) {
> +            ngroup->has_set_eth_dst = true;
> +            ngroup->set_eth_dst =
> +                qemu_mac_strdup_printf(group->l2_rewrite.dst_mac.a);
> +        }
> +    case ROCKER_OF_DPA_GROUP_TYPE_L2_FLOOD:

      parent reply	other threads:[~2015-06-20 21:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14  6:06 [Qemu-devel] [PATCH 0/4] rocker device updates sfeldma
2015-05-14  6:06 ` [Qemu-devel] [PATCH 1/4] rocker: Add support for phys name sfeldma
2015-05-19 13:37   ` Stefan Hajnoczi
2015-05-14  6:06 ` [Qemu-devel] [PATCH 2/4] rocker: update tests using hw-derived interface names sfeldma
2015-05-19 13:38   ` Stefan Hajnoczi
2015-05-14  6:06 ` [Qemu-devel] [PATCH 3/4] rocker: bring link up/down on PHY enable/disable sfeldma
2015-05-19 13:38   ` Stefan Hajnoczi
2015-05-14  6:06 ` [Qemu-devel] [PATCH 4/4] qmp/hmp: add rocker device support sfeldma
2015-05-19 13:59   ` Stefan Hajnoczi
2015-06-20 21:16   ` Paolo Bonzini [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=5585D813.8040007@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=dsahern@gmail.com \
    --cc=jiri@resnulli.us \
    --cc=qemu-devel@nongnu.org \
    --cc=sfeldma@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;
as well as URLs for NNTP newsgroup(s).