eck the flag to determine whether the corresponding disable
> operation needs to be executed. If the flag is set before the operation is
> completed, the driver will not execute the operation when it checks the flag,
> as it will find that the flag has already been set.
>
> 发件人:
will find that the flag has already been set.
发件人: Stephen Hemminger
发送时间: 2025年5月8日 13:35
收件人: Sunyang Wu
抄送: dev ; Thomas Monjalon ; Ferruh Yigit
; Andrew Rybchenko
主题: Re: [PATCH] ethdev: optimize how the values of the flag variables are
assigned
External Mail: This email originated fr
; Ferruh Yigit
; Andrew Rybchenko
主题: Re: [PATCH] ethdev: optimize how the values of the flag variables are
assigned
External Mail: This email originated from OUTSIDE of the organization!
Do not click links, open attachments or provide ANY information unless you
recognize the sender and know the
Why bother? This is not critical path.
Original code looked fine
On Thu, May 8, 2025, 11:34 Sunyang Wu wrote:
> Set the values of the promiscuous and all_multicast variables
> according to the return value.
>
> Signed-off-by: Sunyang Wu
> ---
> lib/ethdev/rte_ethdev.c | 9 +++--
> 1 file c
Set the values of the promiscuous and all_multicast variables
according to the return value.
Signed-off-by: Sunyang Wu
---
lib/ethdev/rte_ethdev.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index d4197322a0..b1f5
5 matches
Mail list logo