Search Linux Wireless

Re: [RFC] mac80211: don't use if_id, use if_priv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 30, 2007 6:48 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> Here's a non-functioning (except for b43/b43legacy) patch that gets rid
> of the if_id stuff all over in favour of a new if_priv pointer.
>
> This has two advantages:
>  * no more looking up interfaces by if_id, this is better for network
>    namespaces and performance
>  * allows drivers to store and retrieve per-interface data without
>    having to allocate own lists/hash tables
>
> and a small disadvantage:
>  * storage size can increase by four bytes on 64-bit machines.
>
> Comments welcome. I'll be improving this and making it at least compile
> with all other drivers.

What will ieee80211_sub_if_data's if_priv look like?

>  Maybe "struct if_priv" should be renamed?

Yeah, hm... mac80211_priv, iw_priv, subif_priv??

  Luis
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux