From patchwork Tue Oct 20 18:12:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Awogbemila X-Patchwork-Id: 288254 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT, USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14929C388F2 for ; Tue, 20 Oct 2020 18:13:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF23220BED for ; Tue, 20 Oct 2020 18:13:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="KWGAsEeM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437326AbgJTSM7 (ORCPT ); Tue, 20 Oct 2020 14:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437320AbgJTSM6 (ORCPT ); Tue, 20 Oct 2020 14:12:58 -0400 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E67D3C0613CE for ; Tue, 20 Oct 2020 11:12:56 -0700 (PDT) Received: by mail-pf1-x449.google.com with SMTP id q16so1545839pfj.7 for ; Tue, 20 Oct 2020 11:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=Xx2oNgo4dBG9WUv6kVlgcOEUmr7dWfMgkko4T7vbi+k=; b=KWGAsEeMhwa1UrgG1f3mxderivplmiSScvoJxNFeocZHP8Kb8yhWEU7s9nsVkvbYCA KsVfeEALeNuMtdlW8qtypHWOtnvNNA32hoA1JfuBlWodqkQiESFQHvLjmj+5Btz3gvXG 8PpjdGg4Ynak4sjINUMKIWWk9eYQV6hbLw0W3hz7Vc8Vo3zj4//UDZF+hwXhqlq2pgxo uJF7aGENvIBUl4bTfXGony0/PQPSUGKOmJUWVSo1YTlmsrmagVqCke9GLC89c2SKbDo+ omXHlyFG4JjhjMxJ66nEdDKLxDwBRh5fDLfIIEGNjkgAX+nDBeQX+41Z8oEdoOEw1PsT yXmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=Xx2oNgo4dBG9WUv6kVlgcOEUmr7dWfMgkko4T7vbi+k=; b=a31TGlu5+wPPu8d4EnHy9GZGg5r54BH+lK+JsvmkdJ0yDzRTlIhX8wj6L5WaYkfbWW GrauznZXrLVdIVe/2ZABqpV4rd2/u8gKBfuAa6mf3lGNRshUHKHaXoOkGbggSn+oduy5 IHkljsOqLd3VSLWKahO9K5pBLubtkReRdnbJKgprxuftLNnPr2Fgu6hUjTqvKlhtJA0O MEL1MZJ6KUdS/Ze2UCOTLDOU4aR1Jfd9g1LNPHils/nJIRTX2kF9gNDW/x48yakMOH0w 4eKiFE0jPPoOc3ICGn8LW7Vm4xR1uSM1LlA3apDEVzsEAatShY5uHefmphzBzhDV2Iwf lEOg== X-Gm-Message-State: AOAM532xg1EQcYJewXrvM35YZ6L/JmRTcyodcsAWRoAnvKMYm1BGFcr8 4SN27IxBqjMDCo7hGrr1+hvuNK/8IhEtg5SpK7D+s399PlDvIDuJRRPj1HIYFa2ypSQKroX+BXO w6lkiHYxy/HgNe0kpUZZ31jYWyy8S/alvIoB3aSL1a/C26aT5ViON6a59FkFzkqnB1bkJoI78 X-Google-Smtp-Source: ABdhPJxc8TY+hgXPMjUmTvgT8DoNhncT9rf3ZinoNsjG0NuWXpO+0OzRQUXvt13t59P1DhRRICP3Y/UqKVINVq3f Sender: "awogbemila via sendgmr" X-Received: from awogbemila.sea.corp.google.com ([2620:15c:100:202:1ea0:b8ff:fe73:6cc0]) (user=awogbemila job=sendgmr) by 2002:a17:90b:20a:: with SMTP id fy10mr3879611pjb.20.1603217576256; Tue, 20 Oct 2020 11:12:56 -0700 (PDT) Date: Tue, 20 Oct 2020 11:12:48 -0700 Message-Id: <20201020181252.753330-1-awogbemila@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog Subject: [PATCH net-next v5 0/4] GVE Raw Addressing From: David Awogbemila To: netdev@vger.kernel.org Cc: David Awogbemila Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Changes from v4: Patch 2: Remove "#include " gve_rx.c - it was added by accident. 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 | 40 +- drivers/net/ethernet/google/gve/gve_adminq.c | 70 +++- drivers/net/ethernet/google/gve/gve_adminq.h | 15 +- drivers/net/ethernet/google/gve/gve_desc.h | 18 +- drivers/net/ethernet/google/gve/gve_main.c | 12 +- drivers/net/ethernet/google/gve/gve_rx.c | 374 ++++++++++++++----- drivers/net/ethernet/google/gve/gve_tx.c | 207 ++++++++-- 7 files changed, 581 insertions(+), 155 deletions(-)