Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2020 14:40:14 +0200
From:      Konstantin Belousov <kib@freebsd.org>
To:        Rajesh Kumar <rajfbsd@gmail.com>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: How to build a out-of-box network module with RSS
Message-ID:  <20200320124014.GL1992@kib.kiev.ua>
In-Reply-To: <CAAO%2BANPJozXfaA4Y9Y8X9dcSPfa4Yig_gTKQKdLL85ej=dH8MA@mail.gmail.com>
References:  <CAAO%2BANPJozXfaA4Y9Y8X9dcSPfa4Yig_gTKQKdLL85ej=dH8MA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 20, 2020 at 11:34:42AM +0530, Rajesh Kumar wrote:
> Hi,
> 
> I am writing a network driver. I am trying to test with RSS feature. I see
> the default kernel config doesn't have RSS included.  So, I built a custom
> kernel with the following options set and installed the kernel with a
> different name
> 
> options PCBGROUP
> options RSS
> 
> After booting to the custom kernel, I am trying to build my network module
> with opt_rss.h in my makefile.  But I don't see  "#define RSS 1" in
> opt_rss.h in my module object directory.  But I see it defined the custom
> kernel OBJ directory.
> 
> So, should I build my network modules as inbuilt module to have it work
> with RSS? Or anyway I can build my module out-of-box with RSS?
Set KERNBUILDDIR env (or make) variable to the full path of the
build directory for your custom kernel.

> 
> Please let me know if any details needed.
> 
> Thanks,
> Rajesh.
> _______________________________________________
> freebsd-drivers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200320124014.GL1992>