From owner-freebsd-net@freebsd.org Tue Apr 10 09:32:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C82F6F8C96D for ; Tue, 10 Apr 2018 09:32:22 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4B473335 for ; Tue, 10 Apr 2018 09:32:22 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 16900F8C96B; Tue, 10 Apr 2018 09:32:22 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6157F8C969 for ; Tue, 10 Apr 2018 09:32:21 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 876FE7332F for ; Tue, 10 Apr 2018 09:32:21 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt0-x236.google.com with SMTP id v11so12499617qtj.6 for ; Tue, 10 Apr 2018 02:32:21 -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=uwNAZlNfWLmf3cfmZzcEOR/DDvggGKVz0XO2iUfnwSM=; b=qApuW/vAcgRQplhJ8D8DYAr367y88nxdUR8z1qpRtusWy4GAcgwfoXxK0v470nqd04 6cGDF6i+sQxB4PgLlwNUr3ha0gWagCK+3ImFVtmsNwE0eN4ceyVklLpWNZRPUnGkY7Ru iyd51/arsQfCoiuxdoyJmr7FZifULctD8j/svrfTWtkHwdVzWkkrc8zUcX1zfWIdYl5a 6dJNqVuP7H4/uCwzExBHv51e+6NXixYGazCB0NxbodyipK7uFw9+WunL2KNB5lbq/P3Y 5TvfIi4CLr1+Dh2OoWlFDBvM2/8MHNv2I41hgEtvKEJDErhMi28/1B/2MbHOU6BWra9z G/lw== 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=uwNAZlNfWLmf3cfmZzcEOR/DDvggGKVz0XO2iUfnwSM=; b=mmCY8f9BCE9zJJXlwcWLykJsbO5IjMvge7438idUy5ruzDDSSgPkX3OprGALCQwFCr BmLeBUbIv1rZSm0TN53t+fHe4J8vus4WxNDBA9T+6GEwPfpDNad0KIE/0jdT96I3jZ4H VPKglJKYB9lTaZusCWoExFSi6qt6TkCzWOkhHhX+5QNoMg0Wgkv7tt5vpAvBetkzZ89j E7opi7qvNMxCPI7LaReg9OsWG+oTCTBbe/79G2RVVlbzwdO5abDw0FpwfpxLJpGGjtt6 AWwWILYyVzilnAk8tDildTt+BhELzhNNoZZhDo9q2x3OYlP0u13O3WLvF4cALadGRER7 V1+Q== X-Gm-Message-State: ALQs6tAd5z6TE9mJHU9+//jpyeMnAapqrSiQtCYZjBz/Fm6suUJfzjw5 RUzUDRIOu6lciZ/D0b8odaRZTUA3bstOs3gi0UU= X-Google-Smtp-Source: AIpwx4/zPfNRR9Qc2/G5vydFkxHX57W5uHStem9V3bGUWLSQpB16O72R/D+/9re99Wh6CstD/RhDrFDYML1mwSE3CQQ= X-Received: by 10.200.67.4 with SMTP id z4mr54926975qtm.196.1523352740939; Tue, 10 Apr 2018 02:32:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.190.132 with HTTP; Tue, 10 Apr 2018 02:32:20 -0700 (PDT) In-Reply-To: References: From: Vincenzo Maffione Date: Tue, 10 Apr 2018 11:32:20 +0200 Message-ID: Subject: Re: Support for Dual NIC To: Ralston Champagnie <9rgeoc@gmail.com> Cc: "freebsd-net@freebsd.org" , Matthew Macy Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2018 09:32:23 -0000 Hi, In general, if a driver (e.g. ixgbe) supports DEV_NETMAP, then all the NIC models sharing the same driver will have native netmap support. Netmap simply does not know about the specific models. If you are really seeing an issue, it may be related to the recent iflib refactoring, which now collects driver functionalities common to Intel 1G drivers (em, lem, igb, ...). And iflib has support for netmap, so that the same netmap functions are reused by all the 1G drivers. >From my understanding, both 82575 (dual) and 82576 (quad) are served by igb, so they should be supported. One way to check if netmap kicks is to inspect the log for lines like these: """" net eth0: netmap queues/slots: TX 1/256, RX 1/256 net eth1: netmap queues/slots: TX 1/256, RX 1/256 """" Maybe Matt wants to add something related to iflib. The log you are seeing is a sanity check: it seems you are seeing packets larger than 1500 bytes in the host rings. Are you using jumbo frames with the netmap "bridge" program? Cheers, Vincenzo