Re: [PATCH 1/2] net/hns3: fix error code for repeatedly create counter

2024-11-07 Thread Stephen Hemminger
On Thu, 7 Nov 2024 19:56:44 +0800 Jie Hai wrote: > From: Dengdui Huang > > Return EINVAL instead of ENOSPC when the same counter ID is > used for multiple times to create a counter. > > Fixes: fcba820d9b9e ("net/hns3: support flow director") > Cc: sta...@dpdk.org > > Signed-off-by: Dengdui Hu

[PATCH 1/2] net/hns3: fix error code for repeatedly create counter

2024-11-07 Thread Jie Hai
From: Dengdui Huang Return EINVAL instead of ENOSPC when the same counter ID is used for multiple times to create a counter. Fixes: fcba820d9b9e ("net/hns3: support flow director") Cc: sta...@dpdk.org Signed-off-by: Dengdui Huang Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_flow.c | 2 +-