> -----原始邮件----- > 发件人: "Stephen Hemminger" <step...@networkplumber.org> > 发送时间: 2025-07-10 00:09:30 (星期四) > 收件人: "Jie Liu" <liuj...@linkdatatechnology.com> > 抄送: dev@dpdk.org > 主题: Re: [PATCH v4 04/14] net/sxe: add link, flow ctrl, mac ops, mtu ops function > > On Wed, 9 Jul 2025 04:43:04 -0400 > Jie Liu <liuj...@linkdatatechnology.com> wrote: > > > + RTE_ATOMIC(bool)link_thread_running; > > + RTE_ATOMIC(bool)is_stopping; > > Despite what checkpatch says, need space here: > RTE_ATOMIC(bool) is_stopping; > > > + rte_thread_t link_thread_tid; > > + rte_atomic32_t link_thread_running; > > Don't use old rte atomics, instead use RTE_ATOMIC() consistently > > > + rte_atomic32_t is_stopping; > > + pthread_t link_thread_tid; > > Two struct elements with same name, how does that work? > > > + bool is_stopped; This will be fully revised in the 14th patch, so please don't worry.</liuj...@linkdatatechnology.com></liuj...@linkdatatechnology.com></step...@networkplumber.org>
- [PATCH v3 08/14] net/sxe: add dcb function Jie Liu
- [PATCH v3 09/14] net/sxe: support ptp Jie Liu
- [PATCH v3 10/14] net/sxe: add xstats function Jie Liu
- [PATCH v3 12/14] net/sxe: add simd function Jie Liu
- [PATCH v3 11/14] net/sxe: add custom cmd led ctrl Jie Liu
- [PATCH v3 14/14] net/sxe: add Solve compilation problems... Jie Liu
- Re: [PATCH v3 14/14] net/sxe: add Solve compilation... Stephen Hemminger
- Re: [PATCH v3 14/14] net/sxe: add Solve compilation... Stephen Hemminger
- [PATCH v4 1/2] net/sxe: add base driver directory a... Jie Liu
- [PATCH v4 04/14] net/sxe: add link, flow ctrl, ... Jie Liu
- Re: Re: [PATCH v4 04/14] net/sxe: add link,... 刘洁
- [PATCH v4 05/14] net/sxe: support vlan filter Jie Liu
- [PATCH v4 06/14] net/sxe: add filter function Jie Liu
- [PATCH v4 07/14] net/sxe: support rss offload Jie Liu
- [PATCH v4 09/14] net/sxe: support ptp Jie Liu
- [PATCH v4 08/14] net/sxe: add dcb function Jie Liu
- [PATCH v4 10/14] net/sxe: add xstats function Jie Liu
- [PATCH v4 11/14] net/sxe: add custom cmd led ct... Jie Liu
- [PATCH v4 12/14] net/sxe: add simd function Jie Liu
- [PATCH v4 14/14] net/sxe: add Solve compilation... Jie Liu
- Re: [PATCH v4 14/14] net/sxe: add Solve com... Stephen Hemminger