[ovs-dev] [PATCH 1/6] ofproto-dpif: New function ofproto_receive().

Jesse Gross jesse at nicira.com
Thu Dec 27 18:19:37 UTC 2012


On Wed, Dec 26, 2012 at 8:16 PM, Ethan Jackson <ethan at nicira.com> wrote:
> +ofproto_receive(const struct dpif_backer *backer, struct ofpbuf *packet,
> +                const struct nlattr *key, size_t key_len,
> +                struct flow *flow, struct ofproto_dpif **ofproto,
> +                uint32_t *odp_in_port, ovs_be16 *initial_tci)
> +
[...]
> +    port = odp_port_to_ofport(backer, flow->in_port);
> +    if (!port) {
> +        VLOG_INFO_RL(&rl, "received packet on an unassociated port %"PRIu32,
> +                     flow->in_port);

I think we only want to log this in the miss upcall case.  In the
sFlow and trace cases it's possible for it to happen in normal
situations.



More information about the dev mailing list