[PATCH v4 28/28] common/cnxk: add support for per-port RQ in inline device

2022-05-07 Thread Nithin Dabilpuram
Add support for per port RQ in inline device thereby using Aura/Pool attributes from that port specific first RQ. When inline device is used with channel masking, it will fallback to single RQ for all ethdev ports. Also remove clamping up of CQ size for LBK ethdev when inline inbound is enabled as

[PATCH v4 04/28] common/cnxk: support to configure the ts pkind in CPT

2022-05-07 Thread Nithin Dabilpuram
From: Vidya Sagar Velumuri Add new API to configure the SA table entries with new CPT PKIND when timestamp is enabled. Signed-off-by: Vidya Sagar Velumuri Acked-by: Ray Kinsella --- drivers/common/cnxk/roc_nix_inl.c | 59 ++ drivers/common/cnxk/roc_nix_inl

[PATCH v4 27/28] net/cnxk: fix hotplug detach sequence for first device

2022-05-07 Thread Nithin Dabilpuram
Fix hotplug detach sequence to handle case where first PCI device that is hosting NPA LF is being destroyed while in use. Fixes: 5a4341c84979 ("net/cnxk: add platform specific probe and remove") Cc: sta...@dpdk.org Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn10k_ethdev.c | 6 +-

[PATCH v4 26/28] net/cnxk: fix multi-seg extraction in vwqe path

2022-05-07 Thread Nithin Dabilpuram
Fix multi-seg extraction in vwqe path to avoid updating mbuf[] array until it is used via cq0 path. Fixes: 7fbbc981d54f ("event/cnxk: support vectorized Rx event fast path") Cc: pbhagavat...@marvell.com Cc: sta...@dpdk.org Signed-off-by: Nithin Dabilpuram Acked-by: Pavan Nikhilesh --- drivers/

[PATCH v4 25/28] net/cnxk: perform early MTU setup for eventmode

2022-05-07 Thread Nithin Dabilpuram
Perform early MTU setup for event mode path in order to update the Rx/Tx offload flags before Rx adapter setup starts. Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn10k_ethdev.c | 11 +++ drivers/net/cnxk/cn9k_ethdev.c | 11 +++ 2 files changed, 22 insertions(+) diff

[PATCH v4 24/28] net/cnxk: add support for flow control for outbound inline

2022-05-07 Thread Nithin Dabilpuram
Add support for flow control in outbound inline path using fc updates from CPT. Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn10k_ethdev.c | 3 +++ drivers/net/cnxk/cn10k_ethdev.h | 1 + drivers/net/cnxk/cn10k_tx.h | 37 - drivers/net/cnxk/cnxk

[PATCH v4 23/28] net/cnxk: support security stats

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal Enabled rte_security stats operation based on the configuration of SA options set while creating session. Signed-off-by: Vamsi Attunuru Signed-off-by: Akhil Goyal --- drivers/net/cnxk/cn10k_ethdev_sec.c | 56 ++--- 1 file changed, 52 insertion

[PATCH v4 22/28] net/cnxk: add capabilities for IPsec options

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal Added supported capabilities for various IPsec SA options. Signed-off-by: Akhil Goyal Signed-off-by: Vamsi Attunuru --- drivers/net/cnxk/cn10k_ethdev_sec.c | 57 ++--- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/drivers/net/

[PATCH v4 21/28] net/cnxk: add capabilities for IPsec crypto algos

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal Added supported crypto algorithms for inline IPsec offload. Signed-off-by: Akhil Goyal --- drivers/net/cnxk/cn10k_ethdev_sec.c | 166 1 file changed, 166 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c b/drivers/net/cnxk/c

[PATCH v4 20/28] net/cnxk: update olflags with L3/L4 csum offload

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal When the packet is processed with inline IPsec offload, the ol_flags were updated only with RTE_MBUF_F_RX_SEC_OFFLOAD. But the hardware can also update the L3/L4 csum offload flags. Hence, ol_flags are updated with RTE_MBUF_F_RX_IP_CKSUM_GOOD, RTE_MBUF_F_RX_L4_CKSUM_GOOD, etc ba

[PATCH v4 19/28] net/cnxk: optimize Rx fast path for security pkts

2022-05-07 Thread Nithin Dabilpuram
Optimize Rx fast path for security pkts by preprocessing most of the operations such as sa pointer compute, inner wqe pointer fetch and ucode completion translation before the pkt is characterized as inbound inline pkt. Preprocessed info will be discarded if pkt is not found to be security pkt. Als

[PATCH v4 18/28] net/cnxk: support decrement TTL for inline IPsec

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal Added support for decrementing TTL(IPv4)/hoplimit(IPv6) while doing inline IPsec processing if the security session sa options is enabled with dec_ttl. Signed-off-by: Akhil Goyal --- drivers/net/cnxk/cn10k_ethdev.h | 3 ++- drivers/net/cnxk/cn10k_ethdev_sec.c | 1 + drive

[PATCH v4 17/28] net/cnxk: reset offload flag if reassembly is disabled

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal The rx offload flag need to be reset if IP reassembly flag is not set while calling reassembly_conf_set. Signed-off-by: Akhil Goyal --- drivers/net/cnxk/cn10k_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/cnxk/cn10k_ethdev.c b/drivers/net/cnxk

[PATCH v4 16/28] net/cnxk: change env for debug IV

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal Changed environment variable name for specifying debug IV for unit testing of inline IPsec offload with known test vectors. Signed-off-by: Akhil Goyal --- drivers/net/cnxk/cn10k_ethdev_sec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/

[PATCH v4 15/28] net/cnxk: update inline device in ethdev telemetry

2022-05-07 Thread Nithin Dabilpuram
From: Rakesh Kudurumalla inline pf func is updated in ethdev_tel_handle_info when inline device is attached to any dpdk process Signed-off-by: Rakesh Kudurumalla --- drivers/net/cnxk/cnxk_ethdev_telemetry.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/cnxk/cnxk_ethdev_tel

[PATCH v4 14/28] net/cnxk: fix roundup size with transport mode

2022-05-07 Thread Nithin Dabilpuram
For transport mode, roundup needs to be based on L4 data and shouldn't include L3 length. By including l3 length, rlen that is calculated and put in send hdr would cross the final length of the packet in some scenarios where padding is necessary. Also when outer and inner checksum offload flags are

[PATCH v4 13/28] net/cnxk: disable default inner chksum for outb inline

2022-05-07 Thread Nithin Dabilpuram
Disable default inner L3/L4 checksum generation for outbound inline path and enable based on SA options or RTE_MBUF flags as per the spec. Though the checksum generation is not impacting much performance, it is overwriting zero checksum for UDP packets which is not always good. Signed-off-by: Nith

[PATCH v4 12/28] net/cnxk: add barrier after meta batch free in scalar

2022-05-07 Thread Nithin Dabilpuram
Add barrier after meta batch free in scalar routine when lmt lines are exactly full to make sure that next LMT line user in Tx only starts writing the lines only when previous stoerl's are complete. Fixes: 4382a7ccf781 ("net/cnxk: support Rx security offload on cn10k") Cc: sta...@dpdk.org Signed-

[PATCH v4 11/28] net/cnxk: update LBK ethdev link info

2022-05-07 Thread Nithin Dabilpuram
Update link info of LBK ethdev i.e AF's VF's as always up and 100G. This is because there is no phy for the LBK interfaces and we won't get a link update notification for the same. Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cnxk_link.c | 11 +++ 1 file changed, 11 insertions(+

[PATCH v4 10/28] net/cnxk: support loopback mode on AF VF's

2022-05-07 Thread Nithin Dabilpuram
Support internal loopback mode on AF VF's using RoC by setting Tx channel same as Rx channel. Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cnxk_ethdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c index bd31a

[PATCH v4 09/28] common/cnxk: use aggregate level rr prio from mbox

2022-05-07 Thread Nithin Dabilpuram
Use aggregate level Round Robin Priority from mbox response instead of fixing it to single macro. This is useful when kernel AF driver changes the constant. Signed-off-by: Nithin Dabilpuram --- drivers/common/cnxk/roc_nix_priv.h | 5 +++-- drivers/common/cnxk/roc_nix_tm.c | 3 ++- driv

[PATCH v4 08/28] common/cnxk: convert warning to debug print

2022-05-07 Thread Nithin Dabilpuram
From: Akhil Goyal Inbound SA SPI if not in min-max range specified in devargs, was marked as a warning. But this is not converted to debug print because if the entry is found to be duplicate in the mask, it will give another error print. Hence, warning print is not needed and is now converted to

[PATCH v4 07/28] common/cnxk: fix issues in soft expiry disable path

2022-05-07 Thread Nithin Dabilpuram
Fix issues in mode where soft expiry is disabled in RoC. When soft expiry support is not enabled in inline device, memory is not allocated for the ring base array and should not be accessed. Fixes: bea5d990a93b ("net/cnxk: support outbound soft expiry notification") Signed-off-by: Nithin Dabilpura

[PATCH v4 06/28] common/cnxk: skip probing SoC environment for CN9k

2022-05-07 Thread Nithin Dabilpuram
From: Rakesh Kudurumalla SoC run platform file is not present in CN9k so probing is done for CN10k devices Signed-off-by: Rakesh Kudurumalla --- drivers/common/cnxk/roc_model.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/common/cnxk/roc_model.c b/drivers/common/cnxk/ro

[PATCH v4 05/28] common/cnxk: fix SQ flush sequence

2022-05-07 Thread Nithin Dabilpuram
From: Satha Rao Fix SQ flush sequence to issue NIX RX SW Sync after SMQ flush. This sync ensures that all the packets that were inflight are flushed out of memory. This patch also fixes NULL return issues reported by static analysis tool in Traffic Manager and sync's mbox to that of Kernel versi

[PATCH v4 03/28] common/cnxk: add new pkind for CPT when ts is enabled

2022-05-07 Thread Nithin Dabilpuram
From: Vidya Sagar Velumuri With Timestamp enabled, time stamp will be added to second pass packets from CPT. NPC needs different configuration to parse second pass packets with and without timestamp. New pkind is defined for CPT when time stamp is enabled on NIX. CPT should use this PKIND for sec

[PATCH v4 02/28] net/cnxk: add receive channel backpressure for SDP

2022-05-07 Thread Nithin Dabilpuram
From: Radha Mohan Chintakuntla The SDP interfaces also need to be configured for NIX receive channel backpressure for packet receive. Signed-off-by: Radha Mohan Chintakuntla --- drivers/common/cnxk/roc_nix_fc.c | 11 +-- drivers/net/cnxk/cnxk_ethdev.c | 3 +++ 2 files changed, 8 ins

[PATCH v4 01/28] common/cnxk: add multi channel support for SDP send queues

2022-05-07 Thread Nithin Dabilpuram
From: Subrahmanyam Nilla Currently only base channel number is configured as default channel for all the SDP send queues. Due to this, packets sent on different SQ's are landing on the same output queue on the host. Channel number in the send queue should be configured according to the number of

[PATCH v6] lib/eal/ppc fix compilation for musl

2022-05-07 Thread Duncan Bellamy
musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/common/eal_private.h | 7 ++ lib/eal/linux/

[PATCH v5] lib/eal/ppc fix compilation for musl

2022-05-07 Thread Duncan Bellamy
musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/common/eal_private.h | 7 +++ lib/eal/linux

RE: [PATCH v5 1/3] eal: add basic thread ID and current thread identifier API

2022-05-07 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.v.anan...@yandex.ru] > Sent: Saturday, 7 May 2022 15.58 > > Hi Morten, > > >> From: Konstantin Ananyev [mailto:konstantin.v.anan...@yandex.ru] > >> Sent: Friday, 6 May 2022 21.38 > >> > >> 05/05/2022 08:11, Tyler Retzlaff пишет: > >>> On Wed, May 04,

[PATCH v4] lib/eal/ppc fix compilation for musl

2022-05-07 Thread Duncan Bellamy
musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/common/eal_private.h | 7 ++ lib/eal/linux/

[PATCH] libpcapng: fix timestamp wrapping in output files

2022-05-07 Thread Quentin Armitage
In pcap_tsc_to_ns(), delta * NSEC_PER_SEC will overflow approx 8 seconds after pcap_init is called when using a TSC with a frequency of 2.5GHz. To avoid the overflow, reread the time and TSC once delta * NSEC_PER_SEC > (1 << 63). In order to ensure that there is no overflow if there is a several s

Re: [PATCH v5 1/3] eal: add basic thread ID and current thread identifier API

2022-05-07 Thread Konstantin Ananyev
Hi Morten, From: Konstantin Ananyev [mailto:konstantin.v.anan...@yandex.ru] Sent: Friday, 6 May 2022 21.38 05/05/2022 08:11, Tyler Retzlaff пишет: On Wed, May 04, 2022 at 11:55:57PM +0100, Konstantin Ananyev wrote: 04/05/2022 16:46, Tyler Retzlaff пишет: Provide a portable type-safe thread i

[PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX descriptor

2022-05-07 Thread Yiding Zhou
Some kernel drivers return the capability VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC when IAVF_RXDID_COMMS_OVS_1 is not supported. This causes PMD to use rx_pkt_burst that handles the Flex Receive Descriptor format, but actually configures the RXDID into IAVF_RXDID_LEGACY_1, then the fields of rte_mbuf Will

Re: [PATCH 1/1] net/cnxk: enable 3des-cbc capability

2022-05-07 Thread Jerin Jacob
On Sat, Apr 30, 2022 at 10:30 AM Vamsi Attunuru wrote: > > Patch enables 3DES-CBC capability of inline crypto device. > > Signed-off-by: Vamsi Attunuru Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/for-next-net. Thanks > --- > drivers/common/cnxk/cnxk_security.c | 3 +++ > drivers/net/c

Re: [PATCH v3 28/28] common/cnxk: add support for per-port RQ in inline device

2022-05-07 Thread Jerin Jacob
On Thu, May 5, 2022 at 6:29 PM Nithin Dabilpuram wrote: > > Add support for per port RQ in inline device thereby using > Aura/Pool attributes from that port specific first RQ. > When inline device is used with channel masking, it will > fallback to single RQ for all ethdev ports. > > Also remove c

Re: [dpdk-dev][PATCH v2 3/3] net/cnxk: adding cnxk support to configure custom sa index

2022-05-07 Thread Jerin Jacob
On Wed, May 4, 2022 at 2:14 PM Ray Kinsella wrote: > > > kirankum...@marvell.com writes: > > > From: Kiran Kumar K > > > > Adding cnxk device driver support to configure custom sa index. > > Custom sa index can be configured as part of the session create > > as SPI, and later original SPI can be

[PATCH v3] lib/eal/ppc fix compilation for musl

2022-05-07 Thread Duncan Bellamy
musl lacks __ppc_get_timebase() but has __builtin_ppc_get_timebase() the __ppc_get_timebase_freq() is taken from: https://git.alpinelinux.org/aports/commit/?id=06b03f70fb94972286c0c9f6278df89e53903833 Signed-off-by: Duncan Bellamy --- lib/eal/common/eal_private.h | 7 ++ lib/eal/linux/

[PATCH v2 2/2] config/arm: disable SVE ACLE for cn10k

2022-05-07 Thread Rahul Bhansali
This disable the sve_acle flag for cn10k. Performance impact:- With l3fwd example, lpm lookup performance increased by ~21% if Neon is used instead of SVE. Signed-off-by: Rahul Bhansali --- Changes in v2: - Renamed the flag to sve_acle from sve config/arm/meson.build | 3 ++- 1 file changed, 2

[PATCH v2 1/2] config/arm: add SVE ACLE control flag

2022-05-07 Thread Rahul Bhansali
This add the control flag for SVE ACLE to enable or disable RTE_HAS_SVE_ACLE macro in the build. Signed-off-by: Rahul Bhansali --- Changes in v2: - Renamed the flag to sve_acle from sve - Added double-indent. config/arm/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -

RE: [PATCH v5 1/3] eal: add basic thread ID and current thread identifier API

2022-05-07 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.v.anan...@yandex.ru] > Sent: Friday, 6 May 2022 21.38 > > 05/05/2022 08:11, Tyler Retzlaff пишет: > > On Wed, May 04, 2022 at 11:55:57PM +0100, Konstantin Ananyev wrote: > >> 04/05/2022 16:46, Tyler Retzlaff пишет: > >>> Provide a portable type-safe th

[PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX descriptor

2022-05-07 Thread Yiding Zhou
Some kernel drivers return the capability VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC when IAVF_RXDID_COMMS_OVS_1 is not supported. This causes PMD to use rx_pkt_burst that handles the Flex Receive Descriptor format, but actually configures the RXDID into IAVF_RXDID_LEGACY_1, then the fields of rte_mbuf Will

[PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX descriptor

2022-05-07 Thread Yiding Zhou
Some kernel drivers return the capability VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC when IAVF_RXDID_COMMS_OVS_1 is not supported. This causes PMD to use rx_pkt_burst that handles the Flex Receive Descriptor format, but actually configures the RXDID into IAVF_RXDID_LEGACY_1, then the fields of rte_mbuf Will

RE: [PATCH] net/ice: Modify DCF state checking mechanism and error code

2022-05-07 Thread Zhang, Peng1X
Hi Qi, The Aim of change error code from EAGAIN to EBUSY is to mention user as reporter wished ' something more along the lines of device being busy '. Br, Peng > -Original Message- > From: Zhang, Qi Z > Sent: Saturday, May 7, 2022 3:10 PM > To: Zhang, Peng1X ; Yang, Qiming > ; Zhou,

RE: [PATCH] net/ice: Modify DCF state checking mechanism and error code

2022-05-07 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Peng1X > Sent: Thursday, May 5, 2022 11:40 PM > To: Yang, Qiming ; Zhang, Qi Z > ; Zhou, YidingX ; > dev@dpdk.org > Cc: Zhang, Peng1X ; sta...@dpdk.org > Subject: [PATCH] net/ice: Modify DCF state checking mechanism and error > code > > From: Peng Zh

[RFC 9/9] net/idpf: support RSS

2022-05-07 Thread Junfeng Guo
Add RSS support. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 106 + drivers/net/idpf/idpf_ethdev.h | 18 +- drivers/net/idpf/idpf_vchnl.c | 93 + 3 files changed, 216 insertions(+),

[RFC 8/9] net/idpf: support basic Rx/Tx

2022-05-07 Thread Junfeng Guo
Add basic RX & TX support in split queue mode and single queue mode. Using split queue mode by default. Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 93 drivers/net/idpf/idpf_rxtx.c | 877 ++

[RFC 7/9] net/idpf: support link update

2022-05-07 Thread Junfeng Guo
Add ops link_update. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 22 ++ drivers/net/idpf/idpf_ethdev.h | 2 ++ 2 files changed, 24 insertions(+) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c inde

[RFC 6/9] net/idpf: support packet type getting

2022-05-07 Thread Junfeng Guo
Add ops dev_supported_ptypes_get. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 3 ++ drivers/net/idpf/idpf_rxtx.c | 51 ++ drivers/net/idpf/idpf_rxtx.h | 3 ++ 3 files changed, 57 insertions(+) diff --git a/dri

[RFC 5/9] net/idpf: support getting device information

2022-05-07 Thread Junfeng Guo
Add ops dev_infos_get. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c index 511770ed4f..c58a40e7ab 10

[RFC 4/9] net/idpf: support queue ops

2022-05-07 Thread Junfeng Guo
Add queue ops for IDPF PMD: rx_queue_start rx_queue_stop tx_queue_start tx_queue_stop rx_queue_setup rx_queue_release tx_queue_setup tx_queue_release Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo -

[RFC 3/9] net/idpf: support device initialization

2022-05-07 Thread Junfeng Guo
Support dev init and add dev ops for IDPF PMD: dev_configure dev_start dev_stop dev_close Signed-off-by: Beilei Xing Signed-off-by: Xiaoyun Li Signed-off-by: Xiao Wang Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 652 +

[RFC 2/9] net/idpf/base: add OS specific implementation

2022-05-07 Thread Junfeng Guo
Add some MACRO definations and small functions which are specific for DPDK. Signed-off-by: Beilei Xing Signed-off-by: Junfeng Guo --- drivers/net/idpf/base/iecm_osdep.h | 365 + 1 file changed, 365 insertions(+) create mode 100644 drivers/net/idpf/base/iecm_osdep.h

[RFC 0/9] add support for idpf PMD in DPDK

2022-05-07 Thread Junfeng Guo
This is a draft of idpf (Infrastructure Data Path Function) PMD in DPDK for Intel Device ID of 0x1452. Junfeng Guo (9): net/idpf/base: introduce base code net/idpf/base: add OS specific implementation net/idpf: support device initialization net/idpf: support queue ops net/idpf: support g