From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next] vrf: add CRC32c offload to device features Date: Fri, 25 May 2018 14:06:03 -0600 Message-ID: <829661ca-fe17-8a96-3cf2-146f24943ac0@cumulusnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: linux-sctp@vger.kernel.org, netdev@vger.kernel.org To: Davide Caratti , Vlad Yasevich , Marcelo Ricardo Leitner Return-path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:45799 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967879AbeEYUGH (ORCPT ); Fri, 25 May 2018 16:06:07 -0400 Received: by mail-pf0-f196.google.com with SMTP id c10-v6so3054667pfi.12 for ; Fri, 25 May 2018 13:06:07 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 5/24/18 9:49 AM, Davide Caratti wrote: > SCTP sockets originated in a VRF can improve their performance if CRC32c > computation is delegated to underlying devices: update device features, > setting NETIF_F_SCTP_CRC. Iterating the following command in the topology > proposed with [1], > > # ip vrf exec vrf-h2 netperf -H 192.0.2.1 -t SCTP_STREAM -- -m 10K > > the measured throughput in Mbit/s improved from 2395 ± 1% to 2720 ± 1%. > > [1] https://www.spinics.net/lists/netdev/msg486007.html > > Signed-off-by: Davide Caratti > --- > drivers/net/vrf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: David Ahern