Re: [PATCH] child process synchronization NIC startup parameters

2024-06-13 Thread Stephen Hemminger
On Wed, 5 Jul 2023 17:35:14 +0800 Kaisen You wrote: > > +/* get cmdline form PID. Read process info form /proc/$PID. */ > +static char *get_cmdline_from_pid(pid_t pid, char *buf, int len) > +{ > + char filename[PATH_MAX]; > + char *name = NULL; > + int fd; > + int ret; > + > +

RE: [PATCH] child process synchronization NIC startup parameters

2023-07-06 Thread You, KaisenX
> -Original Message- > From: Yang, Qiming > Sent: 2023年7月6日 10:17 > To: You, KaisenX ; dev@dpdk.org > Cc: Zhou, YidingX ; sta...@dpdk.org > Subject: RE: [PATCH] child process synchronization NIC startup parameters > > Hi, kaisen > Your patch missed prefix ap

Re: [PATCH] child process synchronization NIC startup parameters

2023-07-06 Thread Stephen Hemminger
On Wed, 5 Jul 2023 17:35:14 +0800 Kaisen You wrote: > In meson_test, because the child process does not synchronize > the NIC startup parameters of the parent process at startup, > it uses all NICs bound by vfio as startup parameters by default, > and an exception occurs in the subsequent hugefi

RE: [PATCH] child process synchronization NIC startup parameters

2023-07-05 Thread Yang, Qiming
Hi, kaisen Your patch missed prefix app/test. > -Original Message- > From: You, KaisenX > Sent: Wednesday, July 5, 2023 5:35 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; You, KaisenX ; > sta...@dpdk.org > Subject: [PATCH] child process synchronization NIC startup parameter