Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH v2] Misc fast path optimizations #281

Closed
wants to merge 6 commits into from
Closed

[PATCH v2] Misc fast path optimizations #281

wants to merge 6 commits into from

Commits on Nov 15, 2017

  1. configure: disable debug by default and print configured value

    Disable debug checks by default for optimal performance.
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    MatiasElo committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    4098581 View commit details
    Browse the repository at this point in the history
  2. linux-gen: dpdk: reorganize pkt_dpdk_t struct

    Reorder pkt_dpdk_t members so that all struct members used in fast path
    are located on the same cache line.
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    MatiasElo committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    5a7ff72 View commit details
    Browse the repository at this point in the history
  3. linux-gen: buffer: remove data size member from odp_buffer_hdr_t

    Data size is constant for all buffers from the same pool, so there is no
    need to store the value in the buffer header.
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    MatiasElo committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    4627a3a View commit details
    Browse the repository at this point in the history
  4. linux-gen: pool: remove unnecessary pool_entry_from_hdl() calls

    Pool entry pointer is already stored in the odp_buffer_hdr_t struct.
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    MatiasElo committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    8d8038c View commit details
    Browse the repository at this point in the history
  5. linux-gen: pool: add inlined accessors for selected pool parameters

    Add inlined accessors for pool_t members pool_hdl and uarea_size. This
    enables removing the matching members from odp_buffer_hdr_t, and thus
    reduces per buffer overhead.
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    MatiasElo committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    f8d68d6 View commit details
    Browse the repository at this point in the history
  6. linux-gen: pktio: add pktio capability to pktio_entry_t

    Since odp_pktio_capability_t is common for all pktio implementations move
    it inside pktio_entry_t.
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    MatiasElo committed Nov 15, 2017
    Configuration menu
    Copy the full SHA
    0bd28be View commit details
    Browse the repository at this point in the history