[Differential] D49156: Fix a logic error in ixgbe_read_mailbox_vf()

2025-02-27 Thread kbowling (Kevin Bowling)
kbowling accepted this revision. REPOSITORY rG FreeBSD src repository CHANGES SINCE LAST ACTION https://reviews.freebsd.org/D49156/new/ REVISION DETAIL https://reviews.freebsd.org/D49156 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: kevlo, kbowling,

Re: Looking for some old laptops

2023-08-18 Thread Kevin Bowling
2023 at 7:57 PM Kevin Bowling wrote: > > I am looking for one laptop in each of the Intel Ethernet lines below. > > They contain different generations of Intel Ethernet controllers, and > would be used to expand my testing matrix for Intel Ethernet driver > development. >

Looking for some old laptops

2023-08-15 Thread Kevin Bowling
I am looking for one laptop in each of the Intel Ethernet lines below. They contain different generations of Intel Ethernet controllers, and would be used to expand my testing matrix for Intel Ethernet driver development. I am linking ThinkPads because I am familiar with them and can perform adva

Re: CFT: lem(4), em(4) e1000 Ethernet TSO testing

2023-08-03 Thread Kevin Bowling
Committed as https://cgit.freebsd.org/src/commit/?id=f1b5488f7bba7f25a57750f87cbcbccbd5b9d16b On Tue, Jul 25, 2023 at 7:38 PM Kevin Bowling wrote: > > Hi, > > I have been working through various bugs and have come to a point > where TSO is working on systems I have availa

Re: tcp and udp traffic over IPv6 does not work from the latest e1000 git change 918c25677d

2023-07-26 Thread Kevin Bowling
Hi Cheng, Have you applied https://reviews.freebsd.org/D41170? Can you also try 'ifconfig emXX -txcsum6' on the DUT? On Wed, Jul 26, 2023 at 12:37 PM Cheng Cui wrote: > > Hello Kevin, > > TCP and UDP traffic over IPv4 are working, but not over IPv6. > On a pair of FreeBSD 14.0-CURRENT nodes tha

Re: CFT: lem(4), em(4) e1000 Ethernet TSO testing

2023-07-26 Thread Kevin Bowling
; em4: port 0xacc0-0xacff mem > 0xdf3e-0xdf3f irq 101 at device 3.0 on pci10 > em5: port 0xac80-0xacbf mem > 0xdf3c-0xdf3d irq 102 at device 3.1 on pci10 > > Best Regards, > Cheng Cui > > > On Tue, Jul 25, 2023 at 10:38 PM Kevin Bowling > wrote: >&

Re: CFT: lem(4), em(4) e1000 Ethernet TSO testing

2023-07-25 Thread Kevin Bowling
On Tue, Jul 25, 2023 at 7:38 PM Kevin Bowling wrote: > Hi, > > I have been working through various bugs and have come to a point > where TSO is working on systems I have available for testing. > > This results in higher throughput on resource constrained systems, and > le

CFT: lem(4), em(4) e1000 Ethernet TSO testing

2023-07-25 Thread Kevin Bowling
eed. Thus, TSO would not be enabled by default here: * Intel(R) I219-LM and I219-V * Intel(R) I219-LM and I219-V (2) * Intel(R) I219-LM and I219-V (3) * Intel(R) I219-LM and I219-V (4) * Intel(R) I219-LM and I219-V (5) Regards, Kevin Bowling

Re: iflib_timer() vs ixl_admin_timer() race

2022-01-12 Thread Kevin Bowling
On Wed, Jan 12, 2022 at 10:18 AM Alexander Motin wrote: > Thanks, Krzystof, > > Grepping now for iflib_admin_intr_deferred() through the sources I see > the same issue in other Intel NIC drivers, plus bnxt(4). So the main > controversy I see is this: either admin intr should not stop and restart

Re: Bug in MAC filter on IGB/if_vlan?

2021-11-09 Thread Kevin Bowling
On Sat, Nov 6, 2021 at 5:03 PM Rozhuk Ivan wrote: > Hi! > > I have in rc.conf: > > = > vlans_igb0="vlan77 vlan86 vlan87" > create_args_vlan87="vlan 87" > create_args_vlan86="vlan 86" > create_args_vlan77="vlan 77"

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-10-04 Thread Kevin Bowling
On Mon, Oct 4, 2021 at 4:35 AM Francois ten Krooden wrote: > > Hi Santiago > > The patches we have made is all available on the github fork we made from the > VPP repository. > It is located at https://github.com/ftk-ntq/vpp/tree/freebsd > So anyone who is interested can find it there. > > To mak

Re: git: 1a72c3d76aea - stable/13 - e1000: always enable PCSD when RSS hashing [Was: TCP6 regression for MTU path on stable/13]

2021-09-25 Thread Kevin Bowling
umbo frame problem. > : > > Hope to get back to you soon with more info. > > > Since the setup was hard to replicate, it took some time. > Here's the commit, causing the heavy IPv6 performance drop with Intel > Powerville and IPv6: > > > The branch stable/13 has been upda

Re: igb(4) and VLAN issue?

2021-09-23 Thread Kevin Bowling
Franco, I think I found it: https://reviews.freebsd.org/D32087 Regards, Kevin On Tue, Aug 3, 2021 at 8:50 AM Kevin Bowling wrote: > > On Tue, Aug 3, 2021 at 8:27 AM Franco Fichtner wrote: > > > > Hi Kevin, > > > > [RESENT TO MAILING LIST AS SUBSCRIBER] > &

Re: igb(4) and VLAN issue?

2021-08-03 Thread Kevin Bowling
On Tue, Aug 3, 2021 at 8:27 AM Franco Fichtner wrote: > > Hi Kevin, > > [RESENT TO MAILING LIST AS SUBSCRIBER] > > > On 2. Aug 2021, at 7:51 PM, Kevin Bowling wrote: > > > > I caught wind that an igb(4) commit I've done to main and that has > > be

igb(4) and VLAN issue?

2021-08-02 Thread Kevin Bowling
Hi, I caught wind that an igb(4) commit I've done to main and that has been in stable/12 for a few months seems to be causing a regression on opnsense. The commit in question is https://cgit.freebsd.org/src/commit/?id=eea55de7b10808b86277d7fdbed2d05d3c6db1b2 The report is at: https://forum.opnse

freebsd-net call

2021-07-29 Thread Kevin Bowling
Hi, I would like to gauge interest in holding a regular freebsd-net video call. This would cover primarily device drivers, pseudo interfaces, and the programming interfaces like iflib and ifnet. There is a separate transport meeting so it would be complementary to that. Please send me a note if

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-24 Thread Kevin Bowling
magnitude less interrupts to do 10g. There was some work to adapt AIM to this new combined handler but it is not properly tuned and I’m not sure it should consider TX at all. Regards, Kevin On Mon, May 24, 2021 at 11:16 PM Kevin Bowling wrote: > I don't fully understand the issue

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-24 Thread Kevin Bowling
e that is interested in it. Regards, Kevin On Tue, May 18, 2021 at 2:11 PM Vincenzo Maffione wrote: > > > > Il giorno mar 18 mag 2021 alle ore 09:32 Kevin Bowling > ha scritto: >> >> >> >> On Mon, May 17, 2021 at 10:20 AM Marko Zec wrote: >>> &g

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-18 Thread Kevin Bowling
On Mon, May 17, 2021 at 10:20 AM Marko Zec wrote: > On Mon, 17 May 2021 09:53:25 + > Francois ten Krooden wrote: > > > On 2021/05/16 09:22, Vincenzo Maffione wrote: > > > > > > > > Hi, > > > Yes, you are not using emulated netmap mode. > > > > > > In the test setup depicted here > > > ht

Re: Client Networking Issues / NIC Lab

2021-04-23 Thread Kevin Bowling
On Fri, Apr 23, 2021 at 6:19 AM Rick Macklem wrote: > > Kyle Evans wrote: > >On Fri, Apr 23, 2021 at 12:22 AM Kevin Bowling > >wrote: > >> > >> Greetings, > >> > >> [... snip ...] > >> > >> Tehuti Networks see

Client Networking Issues / NIC Lab

2021-04-22 Thread Kevin Bowling
Greetings, I have been looking into client networking issues in FreeBSD lately. To summarize the situation, common NICs like Intel gigabit (e1000 aka lem(4)/em(4)/igb(4)), Realtek (re(4)), Aquantia, and Tehuti Networks are unmaintained or not present on FreeBSD. The purpose of this thread is to g

Re: All transmits on txq0 on an ix interface - why no balancing?

2021-04-13 Thread Kevin Bowling
On Tue, Apr 13, 2021 at 5:37 PM Phil Rosenthal wrote: > > > On Apr 13, 2021, at 8:22 PM, Kevin Bowling wrote: > > > > On Tue, Apr 13, 2021 at 5:11 PM Phil Rosenthal wrote: > >> > >>> On Apr 13, 2021, at 8:07 PM, Olivier Cochard-Labbé > >>&g

Re: All transmits on txq0 on an ix interface - why no balancing?

2021-04-13 Thread Kevin Bowling
On Tue, Apr 13, 2021 at 5:11 PM Phil Rosenthal wrote: > > > On Apr 13, 2021, at 8:07 PM, Olivier Cochard-Labbé > > wrote: > > > > Are you exiting through a tunnel interface (GRE, GIF, PPPoE, IPsec, > > OpenVPN, etc.) ? > No. > > I am running PF/Altq for NAT and Traffic shaping. ALTQ is the pro

Re: Which cpu/mainboard for fast routing (bgp, full tables) ?

2021-03-27 Thread Kevin Bowling
That class of processor has fairly limited memory bandwidth. An E5 v3 or greater should get you what you want, although finding a system that makes good use of available PCIe lanes with a single socket configuration can sometimes be maddening. AMD may have a variety of nice parts for this applica

tcp-testsuite into src?

2021-03-22 Thread Kevin Bowling
Hi, I was talking with gnn and kevans on IRC about the tcp testsuite (https://github.com/freebsd-net/tcp-testsuite). Currently we maintain this in ports, although the way the port is set up doesn't make a lot of sense because the tests are stack specific and we don't account for different FreeBSD

Re: TCP Congestion Control

2019-10-28 Thread Kevin Bowling
The per socket method is used at a large commercial CDN On Thu, Oct 24, 2019 at 12:30 AM vm finance wrote: > Ok - I see there is a socket option to pick a different cc per-socket > basis. > Any experiences on loading / using different cc per socket...does it work > seamlessly? > > Thanks! > > O

Re: Issues with TCP Timestamps allocation

2019-07-17 Thread Kevin Bowling
Any knowledge of the endpoints, Linux boxes misconfigured with tcp_tw_recycle? On Wed, Jul 17, 2019 at 5:42 AM Michael Tuexen wrote: > > On 17. Jul 2019, at 14:32, Vitalij Satanivskij wrote: > > > > Hmm, looks like with some host's work but not with another > > > > Wed/17.07:/home/satan > > hel

Re: igb: device_attach: igb1 attach returned 6

2018-08-23 Thread Kevin Bowling
r and it appears to affect common code or hardware issue. Regards, On Thu, Aug 23, 2018 at 12:51 AM, Roman Bogorodskiy wrote: > Kevin Bowling wrote: > >> Well I took a look at the phy code and actually don't see that we >> abosrbed those commits. I'll try and audit

Re: igb: device_attach: igb1 attach returned 6

2018-08-23 Thread Kevin Bowling
h or if we need to ask Intel networking for help. Regards, On Thu, Aug 23, 2018 at 12:19 AM, Kevin Bowling wrote: > Great thanks for the info about it not working on Ubuntu too, that > narrows down the problem space considerably. > > Can you try that patch on FreeBSD -CURRENT? It

Re: igb: device_attach: igb1 attach returned 6

2018-08-23 Thread Kevin Bowling
> I googled for this error message and found the following patch: > > https://www.spinics.net/lists/netdev/msg515557.html > > I'm not sure if it addresses my problem, but it looks related. I haven't > tried that yet though because I don't have a spare drive to instal

Re: igb: device_attach: igb1 attach returned 6

2018-08-22 Thread Kevin Bowling
Is there a chance you can get the same log from the working kernel? Regards, Kevin On Wed, Aug 22, 2018 at 2:08 AM, Roman Bogorodskiy wrote: > Kevin Bowling wrote: > >> Roman, >> >> Interesting.. can you set DBG to 1 sys/dev/e1000/e1000_osdep.h Line >> 109 so we can

Re: igb: device_attach: igb1 attach returned 6

2018-08-21 Thread Kevin Bowling
Roman, Interesting.. can you set DBG to 1 sys/dev/e1000/e1000_osdep.h Line 109 so we can see closer what is failing to initialize? Regards, Kevin On Sun, Aug 19, 2018 at 7:21 AM, Roman Bogorodskiy wrote: > Hi, > > I have a 4-port Intel I350 network card. When I plug sfp rj45 module to > one of

Re: [REGRESSION] Fresh CURRENT consume much more CPU on network traffic (vlans + routing + ipfw with NAT)

2018-07-18 Thread Kevin Bowling
This sounds like a known quirk of the Atom CPU architecture and iflib -- can you try this patch https://reviews.freebsd.org/D16302 it should help specifically on your hardware. Regards, Kevin On Tue, Jul 17, 2018 at 6:03 AM, Lev Serebryakov wrote: > On 17.07.2018 10:54, Eugene Grosbein wrote: >

Re: Testing VF/PF code

2018-05-30 Thread Kevin Bowling
Harry, I wasn’t aware of anyone desiring vf support for igb but I’ll take a look at it for you if you can test -current with patches when I’m ready. My motive is more to validate and refine the iflib functionality and this is a good exercise. On Wed, May 30, 2018 at 8:20 AM Harry Schmalzbauer wr

Re: Testing VF/PF code

2018-05-29 Thread Kevin Bowling
iovctl worked at one point with ixgbe. I don’t recall if there is any way to attach the vf directly if you do that but you can use ppt driver to pass them into bhyve. On Tue, May 29, 2018 at 9:58 AM Sean Bruno wrote: > Does anyone have a process for testing the VF drivers (ixgbe igb, etc) > in F

Re: svn commit: r333338 - in stable/11/sys: dev/bnxt kern net sys

2018-05-08 Thread Kevin Bowling
On Tue, May 8, 2018 at 2:43 AM, Harry Schmalzbauer wrote: > Bezüglich Kevin Bowling's Nachricht vom 08.05.2018 11:26 (localtime): >> iflib in stable/11 only affects bnxt at this time. >> >> You should try out HEAD and let us know for the rest of your questions. > > Ic, sorry for the noise – should

Re: svn commit: r333338 - in stable/11/sys: dev/bnxt kern net sys

2018-05-08 Thread Kevin Bowling
iflib in stable/11 only affects bnxt at this time. You should try out HEAD and let us know for the rest of your questions. Regards, Kevin On Tue, May 8, 2018 at 2:19 AM, Harry Schmalzbauer wrote: > Bezüglich Stephen Hurd's Nachricht vom 07.05.2018 23:42 (localtime): >> Author: shurd >> Date: M

Re: Diagnosing terrible ixl performance

2018-04-20 Thread Kevin Bowling
These are all pretty much known (to intel and NF/LLNW) issues with the ixl driver. If you must run 11.1 you are best off just buying a chelsio T580. If you can run HEAD, or perhaps an eventual 11.3 MFC, https://github.com/intel-wired-ethernet/freebsd/tree/ixl-iflib may fix this but there are a fe

Re: Calling nxge(4) users

2018-03-26 Thread Kevin Bowling
Agreed. Please cull the ‘ixgb’ driver for similar reasons On Mon, Mar 26, 2018 at 4:05 PM Brooks Davis wrote: > On Sun, Mar 25, 2018 at 01:09:27PM -0700, Rodney W. Grimes wrote: > > > The nxge(4) driver for the Neterion Xframe-I and Xframe-II 10GbE > > > adapters has obvious bugs (by inspection)

Re: why not enable tcp_pmtud_blackhole_detect in default

2018-03-07 Thread Kevin Bowling
Cheng, We run this in production at Limelight Networks (i.e toward a broad spectrum of Internet hosts) and must to deal with some uncommon network topology. There are currently some limitations as you point out. Like you say the signaling is not perfect and we do often clamp MSS unnecessarily. T

Remove 'ixgb' from HEAD

2017-12-28 Thread Kevin Bowling
The ixgb driver was used only briefly by one sub family of devices in the first half of the 2000s. It's not a power efficient card with a massive on board xenpak. The driver saw little specific (not API/treewide stuff) maintenance post FreeBSD 5 in which the last real intentional commit directly

Re: Dell SAS controller / mpr?

2017-10-07 Thread Kevin Bowling
A 3008 is an IT-mode card. I think the 3108 is an IR-mode only card. I don't think dell does much to the firmwares, you can probably flash them with Broadcom ones if needed. On Fri, Oct 6, 2017 at 1:09 PM, Lee Brown wrote: > Hi All, > > I want to purchase a dell R330 system with a "SAS 12Gbps HB

Re: Impending NATM removal

2017-04-07 Thread Kevin Bowling
For consideration, stable/11 will be supported until September 30, 2021 which provides a pretty long window to transition. On Fri, Apr 7, 2017 at 6:15 AM, Łukasz Wójcik wrote: > Oh, and mbpool DMA syncing does not work at all and -- at least in patm > driver -- causes various issues. > > This of

Re: interface down, console output: igb3: TX(7) desc avail = 41, pidx = 308

2017-04-02 Thread Kevin Bowling
f you could share which exact NIC chipset you have I will check the datasheets and see if we're missing anything. Regards, On Sat, Apr 1, 2017 at 6:41 PM, Ben Woods wrote: > On 27 March 2017 at 15:35, Kevin Bowling wrote: > >> Try turning TSO off.. i.e. ifconfig igb3 -tso or sys

Re: Error at the time of compiling netmap-fwd on -CURRENT

2017-03-27 Thread Kevin Bowling
Hi, The DPRINTF macro in netmap-fwd is defined as #define *DPRINTF*(_fmt, args...) if (verbose) dprintf(_fmt, ## args) while dprintf is defined as dprintf(int fd, const char * restrict format, ...); in stdio.h You could try, simplistically, to change DPRINTF macro to #define *DPRINTF*(_fmt, arg

Re: interface down, console output: igb3: TX(7) desc avail = 41, pidx = 308

2017-03-27 Thread Kevin Bowling
Try turning TSO off.. i.e. ifconfig igb3 -tso or sysctl net.inet.tcp.tso=0 The transition to iflib has exposed much jankiness in the Intel "shared code" of the e1000 drivers. In particular, the locking contracts may not align with FreeBSD locking primitives. I have boxes running the legacy drive

Re: Why is MSI-X support disabled on bce(4)?

2017-03-11 Thread Kevin Bowling
I think this would be a good candidate for iflib and can provide some assistance from Matt and Sean if someone wants to try or we might get to it eventually. Check out man 9 iflibdd. We had a lot of stability and ordering issues adding multiqueue to FBSD em(4) similar to what Sephe did in DFBSD's

Re: about that DFBSD performance test

2017-03-08 Thread Kevin Bowling
Right off the bat, FreeBSD doesn't really understand NUMA in any sufficient capacity. Unfortunately at companies like the one I work at, we take that to mean "OK buy a high bin CPU and only populate one socket" which serves us well and may ultimately be the best value but does nothing to address t

Re: Intel Dual Band Wireless AC 8260

2017-02-20 Thread Kevin Bowling
It used to work pretty well, but HEAD regressed heavily. My card crashes 8260 non-stop. I'm trying to resync everything to DFBSD, I will post a review if successful. On Mon, Feb 20, 2017 at 4:50 PM, Andreas Nilsson wrote: > Hello, > > I have a laptop with an Intel Dual Band Wireless AC 8260 ca

Re: Disappointing packets-per-second performance results on a Dell, PE R530

2017-01-31 Thread Kevin Bowling
I would also suggest increasing the holdoff timer for the Chelsio and see what happens: sysctl dev.t5nex.0.holdoff_timer_idx_10G=3 sysctl dev.t5nex.0.holdoff_timer_idx_10G=4 sysctl dev.t5nex.0.holdoff_timer_idx_10G=5 On Tue, Jan 31, 2017 at 11:10 AM, Slawa Olhovchenkov wrote: > On Tue, Jan 31,

RFC: ethctl

2017-01-19 Thread Kevin Bowling
ands, so vendors can implement HW specific features. On the other hand, we should attempt to hook into common core for features every NIC provides, with a focus on iflib. I will fund Matt Macy to do the overall design and implementation. Regards, Kevin Bowling, on behalf of Limelight Networks for thi

Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Kevin Bowling
You should be able to find T420-CR or T420-BT for half that. The primary difference is that cxgbe is still a supported driver, and it's been high quality from the start unlike a lot of other vendors. You are engaging in archeology with the other cards you mentioned, and may spend way more value i

Re: 10Gb on budged with fiber — what should IP choose?

2017-01-15 Thread Kevin Bowling
Intel is overpriced and still riding their Ethernet reputation from well over a decade ago with little to show for it. I would recommend cxgbe anything, so Chelsio T420 and up. The T520-SO-CR is within reason for demanding home office/small office users to purchase new and I've deployed over a th

ixgbe PF and ixv driver

2017-01-14 Thread Kevin Bowling
Hi, I've been trying to test SR-IOV on -CURRENT and 11.0-RELEASE. Physical NIC is an X552. The ixgbe PF has to be limited to 1-4 queues in order to create VFs or you will get ENOSPC from iovctl. Either letting ixv try to attach on the host, or creating a passthrough and allowing pfsense 2.4.0 b

Re: FreeBSD 10 - ixgbe packet drop

2014-06-06 Thread Kevin Bowling
On 6/4/2014 11:46 PM, Özkan KIRIK wrote: Hi I'm using FreeBSD 10. My ix0 is connected to my backbone switch. Traffic is about 90Mbit/s. But after 3 minutes it stops working. ifconfig ix0 down ; ifconfig ix0 up solves problem temprorarily. It's strange that, dev.ix.0.dropped is 0 but, netstat's

Re: Multihomed system with jails routing issues

2014-04-12 Thread Kevin Bowling
On 4/6/2014 6:36 AM, Julian Elischer wrote: On 4/6/14, 5:04 PM, Chris Smith wrote: On 06/04/14 04:20, Julian Elischer wrote: Hey Julian, Thanks for that. I did come across it but all of the documentation I found indicated that it was experimental. After a day or so messing around with VIMAGE/v

Re: VNET, if_bridge, if_epair, vlans and bridged phy?

2014-03-17 Thread Kevin Bowling
On 3/16/2014 8:04 PM, Kevin Bowling wrote: I'm trying a somewhat elaborate VNET jails setup and for the most part it's working. I'm using if_epairs, one side that gets passed into the jail, and the other side that attaches to an if_bridge. The if_bridge has a member on a vlan

VNET, if_bridge, if_epair, vlans and bridged phy?

2014-03-16 Thread Kevin Bowling
I'm trying a somewhat elaborate VNET jails setup and for the most part it's working. I'm using if_epairs, one side that gets passed into the jail, and the other side that attaches to an if_bridge. The if_bridge has a member on a vlan interface. So far so good. cloned_interfaces="bridge0 bri