[RFC 17/18] net/hinic3: add FDIR flow control module
Stephen Hemminger
stephen at networkplumber.org
Fri Apr 18 20:27:15 CEST 2025
On Fri, 18 Apr 2025 17:06:03 +0800
Feifei Wang <wff_light at vip.163.com> wrote:
> + u8 pause_set; /**< Flag of PAUSE frame setting. */
> + pthread_mutex_t pause_mutuex;
> + struct nic_pause_config nic_pause;
> +
Please don't use pthread functions unless there is a special reason
to do so. Why not a simple spinlock.
PS: the spelling of mutex is wrong here.
More information about the dev
mailing list