Re: [dpdk-dev] [PATCH v3] ethdev: report error on name truncation

2019-01-17 Thread Ferruh Yigit
On 1/17/2019 3:38 PM, Thomas Monjalon wrote: > 17/01/2019 15:13, Nithin Kumar Dabilpuram: >> Currently this api doesn't report error if name is >> truncated and so user is not sure about uniqueness >> of name. This change reports error to help user. >> >> Signed-off-by: Nithin Dabilpuram >> --- >>

Re: [dpdk-dev] [PATCH v3] ethdev: report error on name truncation

2019-01-17 Thread Thomas Monjalon
17/01/2019 15:13, Nithin Kumar Dabilpuram: > Currently this api doesn't report error if name is > truncated and so user is not sure about uniqueness > of name. This change reports error to help user. > > Signed-off-by: Nithin Dabilpuram > --- > + rc = snprintf(z_name, sizeof(z_name), "eth_p%d