Date: Thu, 29 Sep 2016 11:09:38 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Ben RUBSON <ben.rubson@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: netstat counts input traffic twice Message-ID: <b694df61-fc61-52d3-e24f-2c7ef8512fa5@selasky.org> In-Reply-To: <D24FF41D-F459-4FCE-8378-1C843DDC4CF8@gmail.com> References: <94953762-4397-476D-AD61-A39914F27938@gmail.com> <6d052c64-2ca2-7839-c297-e764634be648@selasky.org> <AED1E1B1-424E-4932-A7F5-80410505E15C@gmail.com> <4f5a88f4-03e7-482f-b963-ab65eeee0136@selasky.org> <D24FF41D-F459-4FCE-8378-1C843DDC4CF8@gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Hi, Can you revert the previouis patch try the new attached patch on 10.x and 11.x. It should fix the issue. --HPS [-- Attachment #2 --] Index: sys/ofed/drivers/net/mlx4/en_netdev.c =================================================================== --- sys/ofed/drivers/net/mlx4/en_netdev.c (revision 306255) +++ sys/ofed/drivers/net/mlx4/en_netdev.c (working copy) @@ -2165,6 +2165,7 @@ dev->if_capabilities |= IFCAP_VLAN_HWCSUM | IFCAP_VLAN_HWFILTER; dev->if_capabilities |= IFCAP_LINKSTATE | IFCAP_JUMBO_MTU; dev->if_capabilities |= IFCAP_LRO; + dev->if_capabilities |= IFCAP_HWSTATS; if (mdev->LSO_support) dev->if_capabilities |= IFCAP_TSO4 | IFCAP_TSO6 | IFCAP_VLAN_HWTSO;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b694df61-fc61-52d3-e24f-2c7ef8512fa5>
