[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9BBC4E0CF881AA4299206E2E1412B6267C602D24@ORSMSX102.amr.corp.intel.com>
Date: Thu, 6 Sep 2018 18:15:18 +0000
From: "Wyborny, Carolyn" <carolyn.wyborny@...el.com>
To: Andrew Lunn <andrew@...n.ch>,
"Keller, Jacob E" <jacob.e.keller@...el.com>
CC: "Wang, Dongsheng" <dongsheng.wang@...-semitech.com>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"sergei.shtylyov@...entembedded.com"
<sergei.shtylyov@...entembedded.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2 1/2] net: ethernet: i40e: fix build error
> -----Original Message-----
> From: netdev-owner@...r.kernel.org [mailto:netdev-
> owner@...r.kernel.org] On Behalf Of Andrew Lunn
> Sent: Thursday, September 06, 2018 11:03 AM
> To: Keller, Jacob E <jacob.e.keller@...el.com>
> Cc: Wang, Dongsheng <dongsheng.wang@...-semitech.com>; Kirsher,
> Jeffrey T <jeffrey.t.kirsher@...el.com>;
> sergei.shtylyov@...entembedded.com; davem@...emloft.net; intel-
> wired-lan@...ts.osuosl.org; netdev@...r.kernel.org; linux-
> kernel@...r.kernel.org
> Subject: Re: [PATCH v2 1/2] net: ethernet: i40e: fix build error
>
[..]
> You have a few options here.
>
> 1) A library module, containing shared code. Use EXPORT_SYMBOL_GPL()
> in the library module, and the kernel runtime linker will link the
> calls into the library. Also, modprobe will ensure the library module
> is loaded first, before the driver module.
>
> 2) Build time sharing of code. Place the shared code into a .o file,
> and link it to both modules.
>
> There is nothing particularly difficult here, this all done lots of
> times within the kernel. Just look around and see how others do it.
Thanks Andrew,
Yes, I agree and we do have a team working on doing this.
Carolyn
Carolyn Wyborny
Linux Development
Networking Division
Intel Corporation
Powered by blists - more mailing lists