[Accel-config] [PATCH v1 0/6] Add backward compatibility
ramesh.thomas at intel.com
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
From: Ramesh Thomas <ramesh.thomas(a)intel.com> This patch set provides backward compatibility for older kernels that does not support mdev. If mdev feature is not available, following actions are taken: - The library will disable mdev features and will return -NOENT - The mdev commands would print an error message and exit - The test program would skip mdev tests Ramesh Thomas (6): accel-config: Combine symbols in same release into single group accel-config: Allow other functionality if mdev support unavailable accel-config: Add API to check for mdev support availability accel-config: Add check for mdev support availability in commands accel-config: Make idxd_mdev module optional accel-config: Disable mdev operations if mdev support unavailable accfg/lib/libaccel-config.sym | 7 ++--- accfg/lib/libaccfg.c | 20 +++++++++++++-- accfg/libaccel_config.h | 1 + accfg/mdev.c | 10 ++++++++ test/libaccfg.c | 48 +++++++++++++++++++++++++---------- 5 files changed, 66 insertions(+), 20 deletions(-) -- 2.26.2