All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Awogbemila <awogbemila@google.com>
To: netdev@vger.kernel.org
Cc: David Awogbemila <awogbemila@google.com>
Subject: [PATCH net-next v7 0/4] GVE Raw Addressing
Date: Wed, 18 Nov 2020 15:20:10 -0800	[thread overview]
Message-ID: <20201118232014.2910642-1-awogbemila@google.com> (raw)

Patch 1: Use u8 instead of bool for raw_addressing bit in gve_priv structure.
        Simplify pointer arithmetic: use (option + 1) in gve_get_next_option.
        Separate option parsing switch statement into individual function.
Patch 2: Use u8 instead of bool for raw_addressing bit in gve_gve_rx_data_queue structure.
        Correct typo in gve_desc.h comment (s/than/then/).
        Change gve_rx_data_slot from struct to union.
        Remove dma_mapping_error path change in gve_alloc_page - it should
        probably be a bug fix.
        Use & to obtain page address from data_ring->addr.
        Move declarations of local variables i and slots to if statement where they
        are used within gve_rx_unfill_pages.
        Simplify alloc_err path by using "while(i--)", eliminating need for extra "int j"
        variable in gve_prefill_rx_pages.
        Apply byteswap to constant in gve_rx_flip_buff.
        Remove gve_rx_raw_addressing as it does not do much more than gve_rx_add_frags.
        Remove stats update from elseif block, no need to optimize for infrequent case of
        work_done = 0.
Patch 3: Use u8 instead of bool for can_flip in gve_rx_slot_page_info.
        Move comment in gve_rx_flip_buff to earlier, more relevant patch.
        Fix comment wrap in gve_rx_can_flip_buffers.
        Use ternary statement for gve_rx_can_flip_buffers.
        Correct comment in gve_rx_qpl.
Patch 4: Use u8 instead of bool in gve_tx_ring structure.
        Get rid of unnecessary local variable "dma" in gve_dma_sync_for_device.

Catherine Sullivan (3):
  gve: Add support for raw addressing device option
  gve: Add support for raw addressing to the rx path
  gve: Add support for raw addressing in the tx path

David Awogbemila (1):
  gve: Rx Buffer Recycling

 drivers/net/ethernet/google/gve/gve.h        |  38 +-
 drivers/net/ethernet/google/gve/gve_adminq.c |  90 ++++-
 drivers/net/ethernet/google/gve/gve_adminq.h |  15 +-
 drivers/net/ethernet/google/gve/gve_desc.h   |  19 +-
 drivers/net/ethernet/google/gve/gve_main.c   |  11 +-
 drivers/net/ethernet/google/gve/gve_rx.c     | 403 ++++++++++++++-----
 drivers/net/ethernet/google/gve/gve_tx.c     | 211 ++++++++--
 7 files changed, 620 insertions(+), 167 deletions(-)

-- 
2.29.2.299.gdc1121823c-goog


             reply	other threads:[~2020-11-18 23:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 23:20 David Awogbemila [this message]
2020-11-18 23:20 ` [PATCH net-next v7 1/4] gve: Add support for raw addressing device option David Awogbemila
2020-11-19 20:21   ` Saeed Mahameed
2020-11-20  0:22     ` David Awogbemila
2020-11-20  2:01       ` Maciej Fijalkowski
2020-11-20  5:07         ` David Awogbemila
2020-11-18 23:20 ` [PATCH net-next v7 2/4] gve: Add support for raw addressing to the rx path David Awogbemila
2020-11-18 23:20 ` [PATCH net-next v7 3/4] gve: Rx Buffer Recycling David Awogbemila
2020-11-18 23:20 ` [PATCH net-next v7 4/4] gve: Add support for raw addressing in the tx path David Awogbemila
2020-11-19 16:48 ` [PATCH net-next v7 0/4] GVE Raw Addressing Jakub Kicinski
2020-11-19 16:56 ` Alexander Duyck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201118232014.2910642-1-awogbemila@google.com \
    --to=awogbemila@google.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.