All of lore.kernel.org
 help / color / mirror / Atom feed
From: ramesh.thomas at intel.com
To: accel-config@lists.01.org
Subject: [Accel-config] [PATCH v1 0/6] Add backward compatibility
Date: Sat, 23 Jan 2021 00:35:36 -0500	[thread overview]
Message-ID: <20210123053542.615622-1-ramesh.thomas@intel.com> (raw)

[-- 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

                 reply	other threads:[~2021-01-23  5:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210123053542.615622-1-ramesh.thomas@intel.com \
    --to=accel-config@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.