From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8560867251065376913==" MIME-Version: 1.0 From: ramesh.thomas at intel.com Subject: [Accel-config] [PATCH v1 0/6] Add backward compatibility Date: Sat, 23 Jan 2021 00:35:36 -0500 Message-ID: <20210123053542.615622-1-ramesh.thomas@intel.com> To: accel-config@lists.01.org List-ID: --===============8560867251065376913== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Ramesh Thomas 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 --===============8560867251065376913==--