[ovs-dev] [PATCH v3 06/13] lib: Refactor mac-learning updates.

Ben Pfaff blp at ovn.org
Wed Sep 14 00:14:42 UTC 2016


On Mon, Sep 12, 2016 at 01:52:36PM -0700, Jarno Rajahalme wrote:
> Make mac table update functions part of the mac-learning module, which
> also helps in figuring what is the minimal set of struct flow fields
> needed for the update.  Use this to change the xlate cache entry for
> XC_NORMAL to not take a copy of the struct flow, but only save the
> in_port, dl_src, and some auxiliary fields.  This reduces the memory
> burden of XC_NORMAL by roughly 0.5kb.
> 
> Signed-off-by: Jarno Rajahalme <jarno at ovn.org>
> ---
> v3: New patch for v3.

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list