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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99A42C54EBC for ; Sat, 7 Jan 2023 18:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232800AbjAGSsA (ORCPT ); Sat, 7 Jan 2023 13:48:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232717AbjAGSr4 (ORCPT ); Sat, 7 Jan 2023 13:47:56 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3DA4625A for ; Sat, 7 Jan 2023 10:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673117228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7fEPRK/HuU3iygPpcGlBH8jvhOAfYDXsOHVmXEE9r6o=; b=JH2vDgWrobCB7CB9APBzXu7JEpQ9KVyOh6qZSFfWcsEz6u9Ahb8CDXCNHHGfXKVcq7NcqE 1VqXtxPoTMPmyEDs/DbBI98XB/iDsNAvVrXkP290GJeDbdxeOKGQfo8e7Ux0NoZ+D8LqgE sWmX2DQ45qxdplEwGWQ9ToGNasvR1lE= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-653-sSUm4JKXMwGxr1HlyW4kzA-1; Sat, 07 Jan 2023 13:47:07 -0500 X-MC-Unique: sSUm4JKXMwGxr1HlyW4kzA-1 Received: by mail-ej1-f72.google.com with SMTP id sd1-20020a1709076e0100b00810be49e7afso3055336ejc.22 for ; Sat, 07 Jan 2023 10:47:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7fEPRK/HuU3iygPpcGlBH8jvhOAfYDXsOHVmXEE9r6o=; b=0TjZ2IntO1BKNUE9cbWcHWA6pthK6p7wbLcFPVZcnrk0uqdCLUD+Krkibx4WE3m/NR lGT5WyqhZ6O0igT4Ln09FaUuvZa7nsBIfkKlHdYCifsTDRbGkmG/BNkyv0NkWjtmiLmp 96GreLB9RfJ6X5/+dFtL9St5g4bWeXIj46W2CiGueaR6emLAEO22lTMiv8YCrzESO4YX VyIZKyiMzJB+5S7u1zCmhirGc/BZbSqEahwJ9Fl2OpQ+lDzGc5dISiBsrX+4+kZ2Kjdy /vf1D0sEs4JHc05MRVqtnVmKoCRHQL2OpVM8BCt2PrpegpTj7WboeXOzW6umgzTxwWIh zVEQ== X-Gm-Message-State: AFqh2koek6zGYBVOwnS1qBn3zI0id0hR79lU0TwshLJHclhgC6vJj6VH RXJWh1YSFdTBTZnHoxwPm7DNo2dmv7rGpG5h2D+pM62E7pfQ+nWx1fZBxR83WAfU5RSwk36h/3n xXKfBFz+TGH24mKUwbdWyQoI= X-Received: by 2002:a05:6402:2907:b0:497:1787:13af with SMTP id ee7-20020a056402290700b00497178713afmr4307487edb.32.1673117225572; Sat, 07 Jan 2023 10:47:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXuJYcU60pXavLJwW5ho1uZ+g8fEeuQcbbXGw22f0fFzpkVGnP44MK7t0O4WLSLYgfXkqvz+NQ== X-Received: by 2002:a05:6402:2907:b0:497:1787:13af with SMTP id ee7-20020a056402290700b00497178713afmr4307479edb.32.1673117225277; Sat, 07 Jan 2023 10:47:05 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id fj20-20020a0564022b9400b0048ee88aa4d0sm1719593edb.56.2023.01.07.10.47.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 10:47:04 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 14A358DA322; Sat, 7 Jan 2023 19:47:04 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: team lnx Cc: xdp-newbies@vger.kernel.org Subject: Re: Pause and unpause queue In-Reply-To: References: <87sfgnzukv.fsf@toke.dk> X-Clacks-Overhead: GNU Terry Pratchett Date: Sat, 07 Jan 2023 19:47:04 +0100 Message-ID: <87fscmyyfr.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: xdp-newbies@vger.kernel.org team lnx writes: > sure, during xdp redirect i found that sometimes the number of packets > arrived are too many for an interface > to handle in which case. Hence thought to experiment with tx pause to > make room for successive packets and then unpause ! Right, so this is using XDP as a straight-forward forwarding accelerator, redirecting from one interface to another? That will indeed only work well if both interfaces are exactly the same link speed; this is one of the motivating use cases for the queueing work :) -Toke