+29
−41
+28
−39
Loading
Both get_opts and set_opts use very similar macros to achieve almost the same thing, so it makes sense to extract it to a separate function. Additionally, it'll be also useful in subsequent patches introducing per-sock impl_opts, as there will be more places when we want to copy impl_opts. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I8ab27298d62ea0118463ee945c708acd91aa5104 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13658 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>