19 11:52 PM
>>> To: adrien.mazarg...@6wind.com
>>> Cc: dev@dpdk.org; Stephen Hemminger
>>> Subject: [dpdk-dev] [PATCH] rte_flow: mark rte_flow_error_set as cold
>>>
>>> A minor optimization that save a few cycles during flow setup.
>>>
>>
dpdk.org; Stephen Hemminger
> > Subject: [dpdk-dev] [PATCH] rte_flow: mark rte_flow_error_set as cold
> >
> > A minor optimization that save a few cycles during flow setup.
> >
> > Use the GCC cold attribute for the rte_flow_error_set function.
> > This a
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger
> Sent: Monday, May 20, 2019 11:52 PM
> To: adrien.mazarg...@6wind.com
> Cc: dev@dpdk.org; Stephen Hemminger
> Subject: [dpdk-dev] [PATCH] rte_flow: mark rte_flow_error_set as
A minor optimization that save a few cycles during flow setup.
Use the GCC cold attribute for the rte_flow_error_set function.
This attribute implicitly marks all code paths that arrive at
this function as unlikely.
Signed-off-by: Stephen Hemminger
---
lib/librte_ethdev/rte_flow.h | 8 +++-
4 matches
Mail list logo