]> git.ipfire.org Git - thirdparty/linux.git/commit
libie: add adminq helper for converting err to str
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Fri, 25 Apr 2025 06:08:06 +0000 (08:08 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 24 Jul 2025 16:38:29 +0000 (09:38 -0700)
commit5feaa7a07b85ebbef418ba4b80e4e0d23dc379f5
treeec9079e4ff2af18cd2416ab65443380a8189e552
parent0eb61b3569229c31b06c58fd3bb58a79721ba91a
libie: add adminq helper for converting err to str

Add a new module for common handling of Admin Queue related logic.
Start by a helper for error to string conversion. This lives inside
libie/, but is a separate module what follows our logic of splitting
into topical modules, to avoid pulling in not needed stuff, and have
better organization in general.

Olek suggested how to better solve the error to string conversion.

It will be used in follow-up patches in ice, i40e and iavf.

Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Suggested-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/libie/Kconfig
drivers/net/ethernet/intel/libie/Makefile
drivers/net/ethernet/intel/libie/adminq.c [new file with mode: 0644]
include/linux/net/intel/libie/adminq.h