[PATCH] mem: close rtemap files

2022-10-06 Thread huzaifa.rahman
rence and therefore maintains the file as locked. The fix is just to close the file after it is setup. Signed-off-by: huzaifa.rahman --- lib/eal/linux/eal_memalloc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/eal/linux/eal_memalloc.c b/lib/eal/linux/eal_memalloc.c index f8b15

[PATCH] mlx5: initially reading xstats does not cause seg fault

2022-08-18 Thread huzaifa.rahman
: huzaifa.rahman --- drivers/net/mlx5/mlx5_stats.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_stats.c b/drivers/net/mlx5/mlx5_stats.c index f64fa3587b..bccfec10fb 100644 --- a/drivers/net/mlx5/mlx5_stats.c +++ b/drivers/net/mlx5/mlx5_stats.c @@ -40,7 +40,6

[PATCH] memif: memif driver does not crashes when there's different N of TX and RX queues

2022-07-26 Thread huzaifa.rahman
X, S2C rings are selected and for TX, C2S rings are selected. Signed-off-by: huzaifa.rahman --- drivers/net/memif/rte_eth_memif.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c index dd951b8296..e56df84

[PATCH] docs: change the doc to highlight the allowed multicast addresses

2022-07-01 Thread huzaifa.rahman
mention of it in the docs Added the mcast_group_table in the docs so user would know which IPs are allowed. Signed-off-by: huzaifa.rahman --- doc/guides/sample_app_ug/ipv4_multicast.rst | 8 +++- examples/ipv4_multicast/main.c | 2 ++ 2 files changed, 9 insertions(+), 1 deletion

[PATCH] ethtool: correct format strings according to the arguments

2022-03-23 Thread huzaifa.rahman
The corrected format strings are not consistent with the given arguments. So they are changed accordingly. Signed-off-by: huzaifa.rahman --- examples/ethtool/ethtool-app/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ethtool/ethtool-app/main.c b

[PATCH v2] ethtool: added help command to list all available

2022-03-22 Thread huzaifa.rahman
Help command is not available for ethtool example. It is needed so user can see all the available commands directly from the command line along with the formats. Signed-off-by: huzaifa.rahman --- doc/guides/sample_app_ug/ethtool.rst | 1 + examples/ethtool/ethtool-app/ethapp.c | 38

[PATCH] ethtool: added list command to list all available commands

2022-03-21 Thread huzaifa.rahman
From: Huzaifa696 help command is needed so user can see all the available commands directly from the command line along with the formats. Signed-off-by: Huzaifa696 --- doc/guides/sample_app_ug/ethtool.rst | 1 + examples/ethtool/ethtool-app/ethapp.c | 38 +++ 2 files