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

xdp: introduce bulking for page_pool tx return path #272

Closed
wants to merge 5 commits into from

Commits on Oct 27, 2020

  1. adding ci files

    kernel-patches-bot committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    5e2c4b0 View commit details
    Browse the repository at this point in the history
  2. net: xdp: introduce bulking for xdp tx return path

    Introduce bulking capability in xdp tx return path (XDP_REDIRECT).
    xdp_return_frame is usually run inside the driver NAPI tx completion
    loop so it is possible batch it.
    Current implementation considers only page_pool memory model.
    Convert mvneta driver to xdp_return_frame_bulk APIs.
    
    Suggested-by: Jesper Dangaard Brouer <brouer@redhat.com>
    Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
    LorenzoBianconi authored and kernel-patches-bot committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    ed1b177 View commit details
    Browse the repository at this point in the history
  3. net: page_pool: add bulk support for ptr_ring

    Introduce the capability to batch page_pool ptr_ring refill since it is
    usually run inside the driver NAPI tx completion loop.
    
    Suggested-by: Jesper Dangaard Brouer <brouer@redhat.com>
    Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
    LorenzoBianconi authored and kernel-patches-bot committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    e293ce8 View commit details
    Browse the repository at this point in the history
  4. net: mvpp2: add xdp tx return bulking support

    Convert mvpp2 driver to xdp_return_frame_bulk APIs.
    
    XDP_REDIRECT (upstream codepath): 1.79Mpps
    XDP_REDIRECT (upstream codepath + bulking APIs): 1.93Mpps
    
    Tested-by: Matteo Croce <mcroce@microsoft.com>
    Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
    LorenzoBianconi authored and kernel-patches-bot committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    de88b55 View commit details
    Browse the repository at this point in the history
  5. net: mlx5: add xdp tx return bulking support

    Convert mlx5 driver to xdp_return_frame_bulk APIs.
    
    XDP_REDIRECT (upstream codepath): 8.5Mpps
    XDP_REDIRECT (upstream codepath + bulking APIs): 10.1Mpps
    
    Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
    LorenzoBianconi authored and kernel-patches-bot committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    0f898f7 View commit details
    Browse the repository at this point in the history