Content-Type: multipart/mixed; boundary="===============2173180635236675453==" MIME-Version: 1.0 From: Jiang, Dave Subject: [Accel-config] Re: [PATCH v2 00/12] accel-config: Add mdev support Date: Mon, 07 Dec 2020 15:25:00 +0000 Message-ID: <49ea265eead74ab3b35a7f1953e73581@intel.com> In-Reply-To: 20201205053830.312760-1-ramesh.thomas@intel.com To: accel-config@lists.01.org List-ID: --===============2173180635236675453== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: ramesh.thomas(a)intel.com > Sent: Friday, December 4, 2020 10:38 PM > To: accel-config(a)lists.01.org > Cc: Luck, Tony ; Jiang, Dave ; > Thomas, Ramesh > Subject: [PATCH v2 00/12] accel-config: Add mdev support > = > From: Ramesh Thomas Entire series Reviewed-by: Dave Jiang > = > Implements vfio mdev support for wqs. This implementation uses wqs > internally and user does not need to attach wqs. Mdevs are stored and lis= ted > in the context of devices. > = > Initially 2 types of mdevs, 1dwq and 1swq are supported. > 1swq uses shared wq type while 1dwq uses dedicaed wq. > = > Implements both library and command interfaces. > = > Added improvements in test case management and clears up stale state > after test failures. > = > Added support for "locked" wq state. > = > Added unit tests and man pages. > = > = > Ramesh Thomas (12): > accel-config: Add mdev path to device context > accel-config: Create mdev structures and load mdevs into device > context > accel-config: Add lib functions to list mdevs and retrieve mdev > properties > accel-config: Add mdev json support > accel-config: Implement create and remove mdev library API > accel-config: Add mdev create and remove commands > accel-config: Improve management of test cases > accel-config: Unit tests for mdev support > accel-config: Add wq locked state support > accel-config: Add documentation for wq options > accel-config: Add documentation for mdev commands > accel-config: Clear conditions blocking unit test after failure > = > .../accfg/accel-config-config-wq.txt | 15 + > .../accfg/accel-config-create-mdev.txt | 32 +- > .../accfg/accel-config-remove-mdev.txt | 26 +- > accfg/config.c | 5 +- > accfg/enable.c | 4 +- > accfg/lib/libaccel-config.sym | 11 + > accfg/lib/libaccfg.c | 228 +++++++++++++- > accfg/lib/private.h | 9 + > accfg/libaccel_config.h | 28 +- > accfg/mdev.c | 123 +++++++- > test/libaccfg.c | 277 +++++++++++++++--- > util/json.c | 44 ++- > 12 files changed, 738 insertions(+), 64 deletions(-) > = > -- > v2: > Split documentation batch into wq-config and mdev create/remove > = > 2.26.2 --===============2173180635236675453==--