[Bridge] [PATCH] decouple llc/bridge

2022-04-10 Thread Dave Jones
I was wondering why the llc code was getting compiled and it turned out to be because I had bridging enabled. It turns out to only needs it for a single function (llc_mac_hdr_init). Converting this to a static inline like the other llc functions it uses allows to decouple the dependency

Re: [Bridge] [PATCH] decouple llc/bridge

2022-04-08 Thread Stephen Hemminger
On Thu, 7 Apr 2022 19:48:59 -0700 Jakub Kicinski wrote: > On Thu, 7 Apr 2022 09:16:40 -0700 Stephen Hemminger wrote: > > > I was wondering why the llc code was getting compiled and it turned out > > > to be because I had bridging enabled. It turns out to only needs it for > > > a single function

Re: [Bridge] [PATCH] decouple llc/bridge

2022-04-07 Thread Jakub Kicinski
On Thu, 7 Apr 2022 09:16:40 -0700 Stephen Hemminger wrote: > > I was wondering why the llc code was getting compiled and it turned out > > to be because I had bridging enabled. It turns out to only needs it for > > a single function (llc_mac_hdr_init). > > +static inline int

Re: [Bridge] [PATCH] decouple llc/bridge

2022-04-07 Thread Stephen Hemminger
On Thu, 7 Apr 2022 11:12:17 -0400 Dave Jones wrote: > I was wondering why the llc code was getting compiled and it turned out > to be because I had bridging enabled. It turns out to only needs it for > a single function (llc_mac_hdr_init). > > Converting this to a static inline like the other