RoCE v2 on FreeBSD

2016-07-14 Thread David Somayajulu
Hi All, Does FreeBSD support RoCE v2 ? Thanks David S. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

RE: FreeBSD_HEAD_i386 - Build #2847 - Still Failing

2016-04-13 Thread David Somayajulu
Hi All, I would appreciate if you could let me know how to back off the following commits. https://svnweb.freebsd.org/changeset/base/297916 https://svnweb.freebsd.org/changeset/base/297909 https://svnweb.freebsd.org/changeset/base/297898 I tried the following but it fails: cd svn me

Ethernet Drivers: Question on ifp->if_ioctl invocation for SIOCADDMULTI and SIOCDELMULTI

2012-05-16 Thread David Somayajulu
Hi All, When ifp->if_ioctl() is invoked for the ioctl cmd SIOCADDMULTI, IN_MULTI_LOCK() is called in one of the functions in_joingroup() in the caller stack. >From netinet/in_var.h, line 357 : #define IN_MULTI_LOCK() >mtx_lock(&in_multi_mtx) >From netinet/in_mcast.c 1098 in_joi

iSCSI Target For Freebsd

2012-03-08 Thread David Somayajulu
Hi All, Is there are an iSCSI Software Target that you can recommend. I have tried using istgt ( on Freebsd7.2) with Windows iSCSI Software Initiator. The initiator is able to discover the target however it is unable to login to the target. The login Response shows that the = <0203> indicatin

Question on TSO/LSO Transmit Frames

2012-02-16 Thread David Somayajulu
Hi All, Is it safe to assume that when a driver receives an Ethernet frame to transmit with CSUM_TSO bit set in m_head->m_pkthdr.csum_flags ; where m_head is the first (struct mbuf) in the mbuf chain that the [Ethernet Header] + [VLAN Tag if present] + [IP Header] + [TCP Header] are all pre

TSO and FreeBSD

2011-09-29 Thread David Somayajulu
Is there an upper limit on a transmit packet size, which has CSUM_TSO bit set in the mp->m_pkthdr.csum_flags field. Browsing the code I thought it was 65535 bytes. However at least on Freebsd 7.x, I am occasionally noticing that the driver is asked to transmit packets which are 65536 and 65537 b

Choosing between DELAY(useconds) and pause()

2011-09-22 Thread David Somayajulu
It appears that the pause() function cannot be used in driver functions which are invoked early in the boot process. Is there is a kernel api which a device driver can use to determine whether to use pause() or DELAY(), for delays which are say greater than 10hz - may be even 1 hz ? Cheers, Dav

Recommended methods to upgrade firmware on HBAs

2011-09-22 Thread David Somayajulu
Hi All, 1. What is the current recommended method for upgrading firmware for HBAs? 2. Is there a mechanism wherein the firmware binary can be provided as a separate file, which is then made accessible to the corresponding device driver during device initialization? 3. Is the

RE: Loading drivers via kldload

2011-08-16 Thread David Somayajulu
Please see below. -david S. -Original Message- From: Andriy Gapon [mailto:a...@freebsd.org] Sent: Tuesday, August 16, 2011 9:26 AM To: John Baldwin Cc: David Somayajulu; freebsd-current@freebsd.org Subject: Re: Loading drivers via kldload The following are pure speculations, I'd r

RE: Loading drivers via kldload

2011-08-12 Thread David Somayajulu
e = KMOD=qltest SRCS=qla_os.c SRCS+= device_if.h bus_if.h pci_if.h clean: rm -f opt_bdg.h device_if.h bus_if.h pci_if.h export_syms rm -f *.o *.kld *.ko rm -f @ machine .include Thanks david S. -Original Message----- From: Stanislav Sedov [m

Loading drivers via kldload

2011-08-11 Thread David Somayajulu
Hi All, While loading PCIe based HBA drivers via kldload, does FreeBSD expect a valid (i.e., non-zero) PCI subsystem Vendor and Device IDs? Thanks, David Somayajulu This message and any attached documents contain information from QLogic Corporation or its

Setting up a running FreeBSD/PCBSD system to enter kgdb on panic

2011-04-04 Thread David Somayajulu
Hi All, Is there some way I can setup a running FreeBSD - (I use PCBSD7.2) - to break into kgdb when the system panics. I am trying to get a stack trace when "Fatal trap 12: page fault while in kernel mode" happens. thanks david S. This message and any attached d

Questions on LRO and Delayed ACK

2011-03-26 Thread David Somayajulu
Hi All, 1. If there is hardware support for LRO, (where the hardware delivers coalesces a bunch of consecutive TCP segments into one large TCP Segment), is it enough for the driver to simply post the segment to the host stack via ifp->if_input() ? I mean is there a need to run thru tcp_l

Increasing TCP Window Size in FreeBSD.

2011-02-09 Thread David Somayajulu
I have been using iperf in server mode to do some performance analysis. I was trying to increase the Receive TCP Window Size via sysctl net.inet.tcp.recvspace= I noticed that I could increase it atmost to 128Kbytes (131072). Any value above 128k, results in a failure to get the requested window

Ethernet Drivers: Question on Sending Received Packets to the FreeBSD Network Stack

2011-02-03 Thread David Somayajulu
Hi All, While sending the Received Ethernet Frames (non - LRO case) to the FreeBSD Network Stack via (struct ifnet *)->if_input((struct ifnet *), (struct *mbuf)); Is it possible to send multiple Ethernet Frames in a single invocation of the above callback function? In other words should (struct