> -----原始邮件-----
&gt; 发件人: "Stephen Hemminger" <[email protected]>
&gt; 发送时间: 2025-07-10 00:09:30 (星期四)
&gt; 收件人: "Jie Liu" <[email protected]>
&gt; 抄送: [email protected]
&gt; 主题: Re: [PATCH v4 04/14] net/sxe: add link, flow ctrl, mac ops, mtu ops 
function
&gt; 
&gt; On Wed,  9 Jul 2025 04:43:04 -0400
&gt; Jie Liu <[email protected]> wrote:
&gt; 
&gt; &gt; +     RTE_ATOMIC(bool)link_thread_running;
&gt; &gt; +     RTE_ATOMIC(bool)is_stopping;
&gt; 
&gt; Despite what checkpatch says, need space here:
&gt;    RTE_ATOMIC(bool) is_stopping;
&gt; 
&gt; &gt; +     rte_thread_t link_thread_tid;
&gt; &gt; +     rte_atomic32_t link_thread_running;
&gt; 
&gt; Don't use old rte atomics, instead use RTE_ATOMIC() consistently
&gt; 
&gt; &gt; +     rte_atomic32_t is_stopping;
&gt; &gt; +     pthread_t link_thread_tid;
&gt; 
&gt; Two struct elements with same name, how does that work?
&gt; 
&gt; &gt; +     bool is_stopped;

This will be fully revised in the 14th patch, so please don't 
worry.</[email protected]></[email protected]></[email protected]>

Reply via email to