[ovs-discuss] Megaflow Inspection

Ben Pfaff blp at ovn.org
Tue Jan 7 23:06:33 UTC 2020


Well, those particular fields are always present in the megaflow, see
xlate_wc_init():

    /* Some fields we consider to always be examined. */
    WC_MASK_FIELD(ctx->wc, packet_type);
    WC_MASK_FIELD(ctx->wc, in_port);
    WC_MASK_FIELD(ctx->wc, dl_type);
    if (is_ip_any(&ctx->xin->flow)) {
        WC_MASK_FIELD_MASK(ctx->wc, nw_frag, FLOW_NW_FRAG_MASK);
    }

However, they also don't have very many likely values.  Among IPv4/6 and
fragmented/not-fragmented, that's only 4 megaflows per port at most.  I
doubt that's your real problem.  Probably, it's some other field that's
going into the megaflow that's causing the issues you're seeing.  Is
that the case, and can you tell us any more detail?


More information about the discuss mailing list