From patchwork Mon Sep 10 08:24:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 146290 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2223955ljw; Mon, 10 Sep 2018 01:24:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYuQPyRXHVD1iGgnKjPpqEUwSq0cdn3XO/jmgI7IeFn2ybbxQrsYQO7fSrRHZH2u+taclpo X-Received: by 2002:a17:902:8308:: with SMTP id bd8-v6mr20511171plb.134.1536567893991; Mon, 10 Sep 2018 01:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536567893; cv=none; d=google.com; s=arc-20160816; b=r5qoPEkZkz/R7WaaXEQw0MibDFftJ+9ra4OLanqhaDxEvowsavBWF0fBFWawnVMTl/ HM4MMF6s6FtqS1B9Gsk6i5gfTzCpBJ5nMo9SMVFincKakaVxubzTWU5bUUYY6pLzfiQn qig5jejHAMvifHNoiFk3BHNxvNEOj6TIUbtYYJiV8ISfujrggLGNazi7N3cZjtA3WQHv DB/fY1G0VmCRNUcAJyWV8oAFWDHUam7j3GKgXakMifson+/NuQAM25oyWWsmUmDqa340 HumeeIfHJRSnp7sekD9suZ+NGCymDsHdXQRRdU8VWk/jrsdvPBCPNGO4z4YD7mnkUz6w Y9mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=CopxiMy8ahbsOOzFnRRVqLe9jyuJaW0m0JL8Pkx7WcE=; b=hRV+L+dVf3mJJ1xZ9jYRzbhVyTGOQ+wCOIsSOJt/K148G8zVBgWHvPTjd/2FSfwtVH Ca1nmnFXA5AuR8kbnQNM8s7SJrS/ADkRggji2NODKQzGWeuWvVt7wD0eD5xrB/6E8ZH5 RRPQLc8unwn8Nx1D27NAY8bHnxsTdXbfA+rkl0QL3WdMAccOWEpjhX3JbVae0fXQeDfn 2hjo8XUe8Nz37C4AsxtGS8XKsRLFXgKbyHSbfTBQ2/tiFxW5SVi3Mz2JgaSNHFSbFLWX p1/Oq7UQ7wZvFdQf4VESmNjmS+ClsF8w8mvqDhlj6yRgGWjp5J5OYQSR6U1tuSdn+t5q xy7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AekC8qts; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z127-v6si16982147pgz.370.2018.09.10.01.24.53; Mon, 10 Sep 2018 01:24:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AekC8qts; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727847AbeIJNRm (ORCPT + 10 others); Mon, 10 Sep 2018 09:17:42 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:56078 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727639AbeIJNRm (ORCPT ); Mon, 10 Sep 2018 09:17:42 -0400 Received: by mail-wm0-f65.google.com with SMTP id f21-v6so20549119wmc.5 for ; Mon, 10 Sep 2018 01:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=CopxiMy8ahbsOOzFnRRVqLe9jyuJaW0m0JL8Pkx7WcE=; b=AekC8qtsmcJWq1G80NGWBo7e6Rizf7OS5IUfa4sNj/YH8mD8h/cwCW1UenhaSBqv98 7QG/DbgpK8vE5pNHkcoS1vHUmIcxzKUUhtUAXENW1pxKtbrAU/aDvS4qq/AsSmhcDhuy yvXIv9KZ8hBUSgZEO7F7pezKcDl+/NeeHwfXU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CopxiMy8ahbsOOzFnRRVqLe9jyuJaW0m0JL8Pkx7WcE=; b=DF/hb3wZyeImWMviOpkWxS/EMbdFVO0gBC7or116Kdeva6p/ArglCIJFw6WuhwpYdm PpHCAIpiLi3fChrg7RXZSo4sXsIpXLWQfWkXerxMy+ygnRtv2b8FKLJRZU50R3DzEsw0 1Lvz2dQKRFBWlI86b0pu3jAJ3TUMm+YHGo6DbrFGSTnObDWjHzL9zfgB6jbwdCeKX40r +G5KeZDnq1KNwnijb9X9FpGAJr1JEiXn7Z6z8brWLslEXN8v/r8HXZ4aKrapXiSdQtqT sUoobjoXL2aFVnRlS8mx5saAGOdOg1JIcp4KH8AFftT35dJVfCb/dbrv+gfy5xDhc+KF +SoQ== X-Gm-Message-State: APzg51D3fARVaKtc7tVWNWi0Xt75RIAPkPAAlxf1GTpuW6KWDvGbYKLJ my9RCOFxDGCcQUHqvayODOU5fdiiAaA= X-Received: by 2002:a1c:4007:: with SMTP id n7-v6mr11756045wma.108.1536567889475; Mon, 10 Sep 2018 01:24:49 -0700 (PDT) Received: from localhost.localdomain ([2a02:587:4607:6a00:2e56:dcff:fe9a:8f06]) by smtp.gmail.com with ESMTPSA id o6-v6sm10877529wmc.15.2018.09.10.01.24.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Sep 2018 01:24:48 -0700 (PDT) From: Ilias Apalodimas To: netdev@vger.kernel.org, jaswinder.singh@linaro.org Cc: ard.biesheuvel@linaro.org, masami.hiramatsu@linaro.org, arnd@arndb.de, mykyta.iziumtsev@linaro.org, bjorn.topel@intel.com, magnus.karlsson@intel.com, Ilias Apalodimas Subject: [net-next, PATCH 0/2, v1] net: socionext: add AF_XDP support Date: Mon, 10 Sep 2018 11:24:38 +0300 Message-Id: <1536567880-15097-1-git-send-email-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch series adds AF_XDP support socionext netsec driver - patch [1/2]: Use a different allocation scheme for Rx DMA buffers to prepare the driver for AF_XDP support - patch [2/2]: Add AF_XDP support without zero-copy Ilias Apalodimas (2): net: socionext: different approach on DMA net: socionext: add AF_XDP support drivers/net/ethernet/socionext/netsec.c | 444 +++++++++++++++++++++++--------- 1 file changed, 329 insertions(+), 115 deletions(-) -- 2.7.4