[ovs-dev] [PATCH V3 03/24] datapath: do not update max_headroom if new headroom is equal to old headroom
Yi-Hung Wei
yihung.wei at gmail.com
Mon Sep 28 21:45:25 UTC 2020
On Wed, Sep 16, 2020 at 10:33 AM Greg Rose <gvrose8192 at gmail.com> wrote:
>
> From: Taehee Yoo <ap420073 at gmail.com>
>
> Upstream commit:
> commit 6b660c4177aaebdc73df7a3378f0e8b110aa4b51
> Author: Taehee Yoo <ap420073 at gmail.com>
> Date: Sat Jul 6 01:08:09 2019 +0900
>
> net: openvswitch: do not update max_headroom if new headroom is equal to old headroom
>
> When a vport is deleted, the maximum headroom size would be changed.
> If the vport which has the largest headroom is deleted,
> the new max_headroom would be set.
> But, if the new headroom size is equal to the old headroom size,
> updating routine is unnecessary.
>
> Signed-off-by: Taehee Yoo <ap420073 at gmail.com>
> Tested-by: Greg Rose <gvrose8192 at gmail.com>
> Reviewed-by: Greg Rose <gvrose8192 at gmail.com>
> Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Cc: Taehee Yoo <ap420073 at gmail.com>
> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
> ---
LGTM.
Acked-by: Yi-Hung Wei <yihung.wei at gmail.com>
More information about the dev
mailing list