All of lore.kernel.org
 help / color / mirror / Atom feed
* [Accel-config] [PATCH v1 0/6] Add backward compatibility
@ 2021-01-23  5:35 ramesh.thomas
  0 siblings, 0 replies; only message in thread
From: ramesh.thomas @ 2021-01-23  5:35 UTC (permalink / raw)
  To: accel-config

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-23  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-23  5:35 [Accel-config] [PATCH v1 0/6] Add backward compatibility ramesh.thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.