From mboxrd@z Thu Jan 1 00:00:00 1970 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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 4597FC31E48 for ; Wed, 12 Jun 2019 20:48:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19810206E0 for ; Wed, 12 Jun 2019 20:48:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=netronome-com.20150623.gappssmtp.com header.i=@netronome-com.20150623.gappssmtp.com header.b="PznNAz+w" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389198AbfFLUsM (ORCPT ); Wed, 12 Jun 2019 16:48:12 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:45675 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728137AbfFLUsL (ORCPT ); Wed, 12 Jun 2019 16:48:11 -0400 Received: by mail-vs1-f65.google.com with SMTP id n21so11181144vsp.12 for ; Wed, 12 Jun 2019 13:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=vOKkzbcLzHi97/dH8bfA/SdZYEQ33/9qIDYv9ztNAn0=; b=PznNAz+wY1K2D383IgZEufITmKhfZUOO3kExbl7yjat5rNOSPpaGwn3vIccQIcb0Cb X4c2EoecdXCoZmhN3QFVKiWcOLHRkEMT7hzxp5MEJdhG4IUBCvVf7cLhcHAATiOtJUjV H3U+1ozPdzciW6my0r2YArRRGYrc2P0umvqqrvJt6I622kweihk9yuB6So6da6C47a8S 0DlMWDcA7+5AXlZW83YfSMENUNCczqBzjmXJqske9jOqAaU/Yw2K4+b47hRH5sk56lAw TAHkPt2sYMnAb22v9P0OuTSSG7A2nUiUYTkdPhKzacCKrS59feJOzafYDyq0n3FPoJaY I1pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=vOKkzbcLzHi97/dH8bfA/SdZYEQ33/9qIDYv9ztNAn0=; b=EOfrtIOIdDSX6LcSHcGOngwvfMNTWSzMXpw51wtyKaKEDza1+OGrfsBE1yYNQ3Ejvo HzVxK5rvfLMUdzzO1y806Atiw2BJ3TpqjIC84oo/xiLkVtxodfa9YXpVJcIwV4P3xnl2 foSCu+C9Lt/qoFt79Hb7w/x6UMnsd7/pl/sXZKUmWV2Oc3FRFfbI01j2JVBGpN88dp3a NbHq+DYNxQogzcKCTOcdz9+v5yUrqj86VDQEPJlN2tGEolI2+iVfyoKp45JYaAvcDW1r irKS/OqgusoqywBg+ShT8P0Ei0coVKgcuTAMOickLcvZfemI6NBDl9tSVaA8amGrQGnW Cw2g== X-Gm-Message-State: APjAAAVD1VwnK9f5/wYT/WdMlpa7wzlpQVQUEWTI4pEjcx5uQ9VJpgPR FRuFBkfP2o0o2Y7uIvBcJUz84g== X-Google-Smtp-Source: APXvYqwa38LgRUq0RN+nohRARAcsjMq2Lv8i2gfxz57ShpX6ss4XtL005V/X5vv8Cdy79NCdNaIp+Q== X-Received: by 2002:a67:e3da:: with SMTP id k26mr5937734vsm.131.1560372490800; Wed, 12 Jun 2019 13:48:10 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id l20sm339690vkl.2.2019.06.12.13.48.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 13:48:10 -0700 (PDT) Date: Wed, 12 Jun 2019 13:48:05 -0700 From: Jakub Kicinski To: Maxim Mikityanskiy Cc: Alexei Starovoitov , Daniel Borkmann , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , "bpf@vger.kernel.org" , "netdev@vger.kernel.org" , "David S. Miller" , Saeed Mahameed , Jonathan Lemon , Tariq Toukan , Martin KaFai Lau , Song Liu , Yonghong Song , Maciej Fijalkowski Subject: Re: [PATCH bpf-next v4 00/17] AF_XDP infrastructure improvements and mlx5e support Message-ID: <20190612134805.3bf4ea25@cakuba.netronome.com> In-Reply-To: <20190612155605.22450-1-maximmi@mellanox.com> References: <20190612155605.22450-1-maximmi@mellanox.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Wed, 12 Jun 2019 15:56:33 +0000, Maxim Mikityanskiy wrote: > UAPI is not changed, XSK RX queues are exposed to the kernel. The lower > half of the available amount of RX queues are regular queues, and the > upper half are XSK RX queues. If I have 32 queues enabled on the NIC and I install AF_XDP socket on queue 10, does the NIC now have 64 RQs, but only first 32 are in the normal RSS map? > The patch "xsk: Extend channels to support combined XSK/non-XSK > traffic" was dropped. The final patch was reworked accordingly. The final patches has 2k LoC, kind of hard to digest. You can also post the clean up patches separately, no need for large series here.