mbox series

[0/2] small RIB optimizations

Message ID 20220413020935.90499-1-stephen@networkplumber.org (mailing list archive)
Headers
Series small RIB optimizations |

Message

Stephen Hemminger April 13, 2022, 2:09 a.m. UTC
  A couple of small micro optimizations on the RIB code.

Stephen Hemminger (2):
  rib: mark error checks with unlikely
  rib6: mark error tests with unlikely

 lib/rib/rte_rib.c  | 26 +++++++++++++-------------
 lib/rib/rte_rib6.c | 25 ++++++++++++-------------
 2 files changed, 25 insertions(+), 26 deletions(-)
  

Comments

Morten Brørup April 13, 2022, 6:45 a.m. UTC | #1
> From: Stephen Hemminger [mailto:stephen@networkplumber.org]
> Sent: Wednesday, 13 April 2022 04.10
> 
> A couple of small micro optimizations on the RIB code.
> 
> Stephen Hemminger (2):
>   rib: mark error checks with unlikely
>   rib6: mark error tests with unlikely
> 
>  lib/rib/rte_rib.c  | 26 +++++++++++++-------------
>  lib/rib/rte_rib6.c | 25 ++++++++++++-------------
>  2 files changed, 25 insertions(+), 26 deletions(-)
> 
> --
> 2.35.1
> 

Series-Acked-by: Morten Brørup <mb@smartsharesystems.com>
  
Thomas Monjalon June 1, 2022, 8:58 a.m. UTC | #2
13/04/2022 08:45, Morten Brørup:
> > From: Stephen Hemminger [mailto:stephen@networkplumber.org]
> > Sent: Wednesday, 13 April 2022 04.10
> > 
> > A couple of small micro optimizations on the RIB code.
> > 
> > Stephen Hemminger (2):
> >   rib: mark error checks with unlikely
> >   rib6: mark error tests with unlikely
> 
> Series-Acked-by: Morten Brørup <mb@smartsharesystems.com>

Squashed and applied, thanks.