Methods and apparatus for device driver operation in non-kernel space

    公开(公告)号:US11829303B2

    公开(公告)日:2023-11-28

    申请号:US16936143

    申请日:2020-07-22

    Applicant: Apple Inc.

    CPC classification number: G06F12/1458 G06F9/5016 G06F9/5022

    Abstract: Methods and apparatus for device driver operation in non-kernel space. In one embodiment, an apparatus configured to configured to interface to a component device driver within non-kernel space is disclosed. The exemplary embodiment restricts device drivers to fewer privileges than kernel processes, while still providing acceptable real-time performance. In another embodiment, mechanisms for non-kernel space device driver operation are described. In one exemplary embodiment, a shared memory interface between kernel space and device drivers enables e.g., a zero-copy device driver architecture.

    METHODS AND APPARATUS FOR SINGLE ENTITY BUFFER POOL MANAGEMENT

    公开(公告)号:US20190303204A1

    公开(公告)日:2019-10-03

    申请号:US16144992

    申请日:2018-09-27

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for efficient data transfer within a user space network stack. Unlike prior art monolithic networking stacks, the exemplary networking stack architecture described hereinafter includes various components that span multiple domains (both in-kernel, and non-kernel). For example, unlike traditional “socket” based communication, disclosed embodiments can transfer data directly between the kernel and user space domains. Direct transfer reduces the per-byte and per-packet costs relative to socket based communication. A user space networking stack is disclosed that enables extensible, cross-platform-capable, user space control of the networking protocol stack functionality. The user space networking stack facilitates tighter integration between the protocol layers (including TLS) and the application or daemon. Exemplary systems can support multiple networking protocol stack instances (including an in-kernel traditional network stack).

    METHODS AND APPARATUS FOR DEVICE DRIVER OPERATION IN NON-KERNEL SPACE

    公开(公告)号:US20210097006A1

    公开(公告)日:2021-04-01

    申请号:US16936143

    申请日:2020-07-22

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for device driver operation in non-kernel space. In one embodiment, an apparatus configured to configured to interface to a component device driver within non-kernel space is disclosed. The exemplary embodiment restricts device drivers to fewer privileges than kernel processes, while still providing acceptable real-time performance. In another embodiment, mechanisms for non-kernel space device driver operation are described. In one exemplary embodiment, a shared memory interface between kernel space and device drivers enables e.g., a zero-copy device driver architecture.

    METHODS AND APPARATUS FOR DYNAMIC PACKET POOL CONFIGURATION IN NETWORKING STACK INFRASTRUCTURES

    公开(公告)号:US20190306087A1

    公开(公告)日:2019-10-03

    申请号:US16363495

    申请日:2019-03-25

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for dynamic packet pool configuration in networking stack architectures. Unlike prior art monolithic memory allocations, embodiments of the present disclosure enable packet pools associated with non-kernel space applications to dynamically allocate additional memory allocations to a given non-kernel space application, or conversely, de-allocate memory allocations to a given non-kernel space application. Variants also disclose the splitting up of a memory allocation into device accessible portions and kernel accessible portions. Other variants disclose sizing certain segment allocations so as to be a multiple of a physical address page size. Such a variant enables a single input/output (I/O) bus address lookup for the given segment so as to minimize look up costs associated with an I/O lookup for the given segment.

Patent Agency Ranking