ib_unregister_device - OFED related question

2018-07-06 Thread Somayajulu, David
Hi All, ib_unregister_device() is typically called as part of the rdma driver module unload for a given device. As part of execution of this function it loops through the following code: ofed/drivers/inifiniband/core/device.

Semantics of iWARP verb - newconn (FreeBSD11.1 and FreeBSD10.4 releases)

2018-06-18 Thread Somayajulu, David
Hi All, I would appreciate if you can provide the semantics of the iWARP verb "newconn" (please see below from file sys/ofed/include/rdma/iw_cm.h). The description in the revision log for the commit when it was introduced is not clear to me https://svnweb.freebsd.org/base?view=revision&revision=

RE: kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1

2018-04-27 Thread Somayajulu, David
Thanks Hans. It works. Cheers David S. -Original Message- From: Hans Petter Selasky [mailto:h...@selasky.org] Sent: Friday, April 27, 2018 12:06 AM To: Somayajulu, David ; Julian Elischer ; freebsd-net@freebsd.org Cc: davi...@freebsd.org Subject: Re: kldload ibcore.ko fails in snapshot

RE: kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1

2018-04-26 Thread Somayajulu, David
ns WITH_CTF=1 # Run ctfconvert(1) for DTrace support # For pmcstat device hwpmc #options HWPMC_HOOKS == MYKERNEL FILE CONTENT END -Original Message- From: Hans Petter Selasky [mailto:h...@selasky.org] Sent: Wednesday, April 25, 2018 7:51 AM To:

kldload ibcore.ko fails in snapshot: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1

2018-04-23 Thread Somayajulu, David
Hi All, kldload ibcore.ko fails in the above snapshot with the following error. # kldload -v /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko kldload: an error occurred while loading module /usr/obj/usr/src/amd64.amd64/sys/modules/ibcore/ibcore.ko. Please check dmesg(8) for more details

RE: Questions on OFED in FreeBSD

2018-01-22 Thread Somayajulu, David
Hi Meny, Does OFED in FreeBSD currently support NvMe over Fabrics ? Thanks David S. -Original Message- From: Meny Yossefi [mailto:me...@mellanox.com] Sent: Tuesday, January 16, 2018 5:27 AM To: Somayajulu, David ; freebsd-net@FreeBSD.org Subject: RE: Questions on OFED in FreeBSD Hi

RE: Questions on OFED in FreeBSD

2018-01-15 Thread Somayajulu, David
mellanox.com] Sent: Sunday, January 14, 2018 2:11 AM To: Somayajulu, David ; freebsd-net@freebsd.org Subject: RE: Questions on OFED in FreeBSD Hi David, Answers embedded below. -Meny -Original Message- From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On Behalf O

Questions on OFED in FreeBSD

2018-01-09 Thread Somayajulu, David
Hi, 1. Is RoCE v2 supported of FreeBSD 11 release or 11_stable ? 2. How does one figure out the OFED version in a FreeBSD kernel? 3. Since OFED on HEAD is synced to Linux 4.9 in kernel.org, I presume that it is OFED version 4.8. Am I correct ? 4. Am I correct that the OFED version on

Semantics of SIOCDELMULTI from an Ethernet Driver Perspective

2017-09-20 Thread Somayajulu, David
Hi, Am I correct that it is the following: 1. Delete any multicast addresses programmed in HW which are not present in ifp->if_multiaddrs. 2. Update the multicast addresses to be accepted by HW with those in ifp->if_multiaddrs For SIOCADDMULTI, we skip #1. In either case ifp->if_m

Question on SRIOV vf -> pf mapping

2017-07-10 Thread Somayajulu, David
Hi, Given "device_t dev" of a VF is there a way to retrieve the "device_t dev" of its PF ? In other words when device_attach is invoked for VF, is there a way to get to the "struct device" of its PF ? Thanks David S. (davi...@freebsd.org) ___ freebsd-

XDP (eXpress Data Path) support on FreeBSD

2017-05-01 Thread Somayajulu, David
Hi, Are there any plans XDP (eXpress Data Path) supported on FreeBSD ? Thanks David S. ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

RE: Question on taskqueue_drain

2017-04-19 Thread Somayajulu, David
elasky [mailto:h...@selasky.org] Sent: Tuesday, April 18, 2017 9:22 PM To: Sepherosa Ziehau ; Somayajulu, David Cc: freebsd-net@freebsd.org Subject: Re: Question on taskqueue_drain On 04/19/17 05:37, Sepherosa Ziehau wrote: > On Wed, Apr 19, 2017 at 10:39 AM, Somayajulu, David > wrote: >> S

RE: Question on taskqueue_drain

2017-04-18 Thread Somayajulu, David
Sorry what I meant to ask was, whether it is O.K to call taskqueue_drain(), when an MTX_DEF lock is grabbed prior to calling taskqueue_drain(). Thanks David S. (davi...@freebsd.org) ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/ma

Question on taskqueue_drain

2017-04-18 Thread Somayajulu, David
Hi, Is it ok to call taskqueue_drain() when the MTX_DEF lock is held ? Thanks David S. ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Committing a new 25G/40G/100G Ethernet Driver

2017-03-23 Thread Somayajulu, David
Hi All, I have a brand new Cavium 25G/40G/100G Ethernet Driver to commit to HEAD. The patch generated using "svn diff" is about 22Mb. Per gnn's advice I have tried to submit the patch via Phabricator at https://reviews.freebsd.org/differential/diff/create/ for review. The file uploads fine but

Question on contrib/ofed

2017-02-13 Thread Somayajulu, David
Hi All, I have been trying building the OFED user mode libraries/apps in FreeBSD11 and have not been successful (please see below). Are there any configure/set up commands that need to be run ? I would appreciate any help. Thanks David S. (davi...@freebsd.org)