From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id EA8E03CB35; Sun, 24 Oct 2021 12:24:43 -0400 (EDT) Received: by mail-il1-x129.google.com with SMTP id l7so10193014iln.8; Sun, 24 Oct 2021 09:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=X13HKkF7G2MplNzYU+mddcPUw9XBfmtWXY8cUUYlxOY=; b=dCLDssyEqmbbtFHgyrZCHV/c1wtt8FDy1Wkmcdg0gqquhX4GeJ/bWh+Wx7bcKdXGNt dkR7MYH9c99ZzJQjFlMYIGsNqc//1PzV0DVDrZasLK5OzgQ7qEjiRRL6r8dkCYunj6PI NxWmg9HNjx+VYfY08OXk1nbFM9ITS/FtiAY895TU0KRvAgq16e9HnBoxd0KdHrOuch0S z3hVJLgvy8CMGzTxuFByxHQuu3ufauo7o7nQAj0da0gsvi1XJq46u9YPl4WWxnNALZf7 0x+aTBwy7FV+aq6ICnyRPQ3/h5v0K8VetzvzImYLKiZU2hUO5vaFnSdL9cbrIzYPyVF7 dT0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=X13HKkF7G2MplNzYU+mddcPUw9XBfmtWXY8cUUYlxOY=; b=LlvFwE8Vu1+KU9JHnP+z4yRMExzzC6oF+JTU/jDWLflsHOjRwHHRwLcXQEwG3oo6B8 hhXEra5l5JIXKRDieHzgKGzPIBlFJ0vTJrLapkQc35h3VXu7MRVCB9yEjatDNBLbdOUD MUw+6Naz5ZA3qhsYZI+hnViLikYw1KjGAf+uWi7UacJKbD5bE5r1fuveRo0FMhg3Gnj/ gEj9d9LEsUHsArZjZyvSPhFiqf/CiIfDeSPilx7ZRnpdj5wuHYiJqjINOVCZFNxtlm7S vs311eSF+jdrLRG8A90iqgQOplTjUl9mzZOhbre0S5vLeHKyvT0OOi5Sfu3m3wzLilN/ Qcgg== X-Gm-Message-State: AOAM530sOSmLPwRJ+71v6hHpnSE4NAN2eRvm7GysQsM4V2K2+omPCZpH G9krqU90X9wDmQJEG8crbuhBaBVv4MaAMEluY8ctRLJPiqA= X-Google-Smtp-Source: ABdhPJzP0ANYDUG4PxapZcFJhlqcp3BLPEAPQquoYP71kb02zPEVFfpMntK3rd9LxIWFKiyv3fxF9q9tpgvRot6sXR8= X-Received: by 2002:a05:6e02:1d8b:: with SMTP id h11mr2028726ila.274.1635092683004; Sun, 24 Oct 2021 09:24:43 -0700 (PDT) MIME-Version: 1.0 From: Dave Taht Date: Sun, 24 Oct 2021 09:24:30 -0700 Message-ID: To: bloat , Make-Wifi-fast , Cake List Cc: Tom Herbert Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [Make-wifi-fast] the panda flow-dissector X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2021 16:24:44 -0000 The flow-dissector in linux is the unsung hero of our fq+aqm world. It's also heavily used for receive packet steering (to shift a flow to another core) and in tc-flower, and can deeply inspect a packet to find the real 5 tuple, among other things. We are very used to, in the linux world, to having that hash always available. So far as I know BSD's equivalent is considerably weaker, as are the offloads people are attempting in p4, and in qualcomm's nss hardware offloads. Anyway, as it is large, and fragile code, there is now a (bsd 2-clause) panda packet parser generator over here: https://github.com/panda-net/panda ... that could possibly be retargetted at those environments as well as one day replace and unify the existing flow dissector codes. Tom Herbert talks to it in detail here. See the spaghetti for why this is needed in more places. https://www.youtube.com/watch?v=3DzVnmVDSEoXc --=20 Fixing Starlink's Latencies: https://www.youtube.com/watch?v=3Dc9gLo6Xrwgw Dave T=C3=A4ht CEO, TekLibre, LLC