[ovs-dev] [PATCH v5] Avoid dp_hash recirculation for balance-tcp bond selection mode

Matteo Croce mcroce at redhat.com
Sat Aug 10 00:36:43 UTC 2019


On Thu, Aug 8, 2019 at 10:57 AM Vishal Deep Ajmera
<vishal.deep.ajmera at ericsson.com> wrote:
> --- a/ofproto/bond.c
> +++ b/ofproto/bond.c
> @@ -1939,3 +1959,9 @@ bond_get_changed_active_slave(const char *name, struct eth_addr *mac,
>
>      return false;
>  }
> +
> +bool
> +bond_get_cache_mode(const struct bond *bond)
> +{
> +    return bond->use_bond_cache;
> +}

Hi,

why not a static function in the header file? So it gets inlined.

Regards,
-- 
Matteo Croce
per aspera ad upstream


More information about the dev mailing list