Instead of using static mapping in code, introduce a helper routine to map a value to string. Signed-off-by: Parav Pandit <parav@nvidia.com> Signed-off-by: David Ahern <dsahern@kernel.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| devlink.c | ||
| mnlg.c | ||
| mnlg.h | ||
Instead of using static mapping in code, introduce a helper routine to map a value to string. Signed-off-by: Parav Pandit <parav@nvidia.com> Signed-off-by: David Ahern <dsahern@kernel.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| devlink.c | ||
| mnlg.c | ||
| mnlg.h | ||