From owner-freebsd-net@freebsd.org Fri Jun 16 12:13:11 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C395BFF3BF for ; Fri, 16 Jun 2017 12:13:11 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED6867CD9A; Fri, 16 Jun 2017 12:13:10 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id d73so22294244wma.0; Fri, 16 Jun 2017 05:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=o/9xP3IKWywAaodZcwzUhQIM660VIMC3vhlWVkPxWrI=; b=kNUUSOr3P6ATCV+fpohUqL3kH456K6L3DPC6ItlziTkF0rxpFl+6zgrfnedLsRilyg tDnUnoxIkKVaD+pTQUEJUoVB3F7cAMx0P+xdNStTOkBOoBlpZcOd6ijl48Gsf+mSGFa5 XppjAD9EHKMouqwAKBK5TPcflehLptD/SPNY6rG+tTndJ9RwLcU7J1G86WU4KeSirgtX xOWtycdpJa0gmMZopOXnEDlOynxpQFdBZgCwlTSW47cKErbucp8qhvCUAe7Av+X8lKIj x9cSCSBDd1xEXOZw/6QR3L4ISmb5zYyP/W3cLDkVworvnmGbvKVqTbD/Ms5Qxl7PzXTm XLbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=o/9xP3IKWywAaodZcwzUhQIM660VIMC3vhlWVkPxWrI=; b=esPeKcLLlJBXxZFxrB512Hl/VlE3a8oci0ISsJW75HTNWaH/rPrntDKlWh2T9GPjX+ NjsOBGJjqPuz+KXsLJJx7KQuY7g8JQHpLML4/tAddDrMd+sFAINhWrI+BVkHdxzIJQia DzXT4jegU3EoL+ckg6zn5rq2CPJlpnkt1rlLjbCjXa6HoRMyhH51plH4bYaBQ0GV84Rs 013vUzFcRxwouj/1/rh6FhsR8tJD8R04bzr0jOqN8hSnen77gfbMZVtslRz9TDq0xkqX uDJ8G4RIe2ZddhsV0D0e8uLwY+WkbK6l63aK6+9c1ZRHR0sVfkoibf1cQasajAu+pKVX Z2LA== X-Gm-Message-State: AKS2vOwkZT9XVl434fo+6GuZhJwfXJ81ue2nhjBQ5mzH09G8FVXIVxKw 7kpGEmTfKs9Bnb7cRF21xJpLCE2iJg== X-Received: by 10.80.206.22 with SMTP id y22mr7339515edi.20.1497615189044; Fri, 16 Jun 2017 05:13:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.136.230 with HTTP; Fri, 16 Jun 2017 05:13:08 -0700 (PDT) In-Reply-To: <3b3ecffa-36e5-75b1-2b25-db9e9dcd45ba@gmail.com> References: <3b3ecffa-36e5-75b1-2b25-db9e9dcd45ba@gmail.com> From: Jordan Caraballo Date: Fri, 16 Jun 2017 08:13:08 -0400 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: Navdeep Parhar Cc: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= , FreeBSD Net , John Jasen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 12:13:11 -0000 Hi guys, We tried multiple attempts to implement netmap vale-ctl and bridge in chelsio vcxl* interfaces. The most interesting attempts, are mentioned below. First Attempt: Ran "./bridge vcxl0 vcxl1"; but it would complain about having a 0 burst size. Added "-b 1024" to the command as recommended by the log from the script, but the issue was still present. Second Attempt: Tried to combine vale-ctl and bridge by: # ./vale -h vale0:vcxl0 # ./vale -h vale0:vcxl1 # ./bridge vale0:1 vale0:3 There was no error, however, traffic did not flow at the time of shooting packets to the interfaces. Third Attempt: By following this email threadhttps://lists.openinfosecfoundation.org/pipermail/oisf-users/2015-Oct= ober/005310.html; we ran: # ./vale-ctl -n b0 # ./vale-ctl -n b1 # ./vale-ctl -a vale0:b0 # ./vale-ctl -a vale0:vcxl0 # ./vale-ctl -a vale1:b1 # ./vale-ctl -a vale1:vcxl1 # ./bridge -i netmap:vcxl0 -i netmap:vcxl1 Same result as before, no errors, yet no traffic in the interfaces. Any feedback or advice on why traffic is not flowing? We would like to note that throwing packets to the vcxl interfaces without any netmap aware application ranges from 1.1M to 1.2M pps. Is this supposed to happen? (We consider that still, the number is quite lo= w) - Jordan 2017-06-15 17:15 GMT-04:00 Navdeep Parhar : > On 06/14/2017 10:42, Olivier Cochard-Labb=C3=A9 wrote: > >> On Wed, Jun 14, 2017 at 7:36 PM, Navdeep Parhar > > wrote: >> >> >> I think I fixed this a long time back. Have you tried recently? We >> moved the netmap functionality to the vcxl interfaces and it should >> just work. >> >> =E2=80=8B >> It stills panic with an -head build today. >> >> > Fixed in r319986. > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 Jordan