From owner-freebsd-arch@FreeBSD.ORG Sun Aug 3 00:48:32 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B43182E8; Sun, 3 Aug 2014 00:48:32 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68E5C23F3; Sun, 3 Aug 2014 00:48:32 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id e89so7471620qgf.17 for ; Sat, 02 Aug 2014 17:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=GJZ26BbHCzuoGVWetmXAulBlrlqHDfHes/J0/AjEyVc=; b=laDlfLhEBNyPaaJb6mGB9cqShJFWehFx1kJ2k/Y4bMQ6B49xkQ4+/hIYyBqnykD2DA Lv1li6tUb5aJM4+yGiMEV+sEfq7YoU4aqPlWVrWNc2hZchWCTAjxF3HYYARGk44R9znB Wf6w3MniqOSUq7jst2bXIRdQztSyrLTdHVxhYGq89kv/ks3Ty1ACF6ih0BB4I5nFDmdk bmnpgXlNcr0P4DJJj8ERyNnVtBjpCHnV7zcKx1q362kLsHpTieMbLiOydF+dT0VA9wWf m/bdUe/re7/+o+lrCOTIXTYE51bRhAmM70497QinB4YUlYRQCkzD98LAR8WKFEpPw99W uQ8Q== MIME-Version: 1.0 X-Received: by 10.224.55.131 with SMTP id u3mr23103065qag.98.1407026911560; Sat, 02 Aug 2014 17:48:31 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Sat, 2 Aug 2014 17:48:31 -0700 (PDT) Date: Sat, 2 Aug 2014 17:48:31 -0700 X-Google-Sender-Auth: O0AGsM1IjsDd0SXMzZ_GMC0nz8E Message-ID: Subject: [rfc] UDP RSS awareness; handling IPv4 fragments From: Adrian Chadd To: FreeBSD Net , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 00:48:32 -0000 Hi! http://people.freebsd.org/~adrian/rss/20140802-rss-udp-ip-fragments-1.diff This implements the RSS awareness bits for UDPv4, UDPv6 and IP fragment handling. It should work for UDP transmit and receive. There's a phabricator review: https://phabric.freebsd.org/D527 I'll finish off IPv6 RSS after this and then look at the various ways that packets make their way in and out of the stack. There's a whole lot of silliness with multicast and IP tunneling / IPSEC decapsulation that requires a recompute of the hash. I appreciate any/all feedback and testing! Especially testing! Thanks! -a