netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: Nick Kossifidis <mickflemm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Jiri Slaby <jirislaby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 5/5] Net: ath5k, kconfig changes
Date: Thu, 30 Aug 2007 13:35:54 +0100	[thread overview]
Message-ID: <20070830123554.GA2176@infradead.org> (raw)
In-Reply-To: <40f31dec0708291838p5d33eb34p3b4432d9d270841a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Thu, Aug 30, 2007 at 04:38:09AM +0300, Nick Kossifidis wrote:
> It saves big chunks of code (not only initial register settings
> arrays) and we'll extend it's use more inside ath5k_hw.c Trust me this
> is a very useful step, eg. check out descriptor processing / setup or
> PHY functions (calibrate/channel set etc). For example AR5210 mac chip
> only comes with RF5110 phy chip so we can get rid of RF5111/RF5112
> code, AR5211 comes with RF5111 so we can get rid of RF5110 and RF5112
> code and AR5212 comes with RF5111 or RF5112 so we get rid of RF5110.
> This thing also saves lots of checks during runtime (some of them
> happen verry frequently, eg. durring descriptor processing). Also most
> people will use 5212 code only, 5211 cards are on some old laptops and
> 5210, well i couldn't even find  a 5210 for actual testing :P

If you're doing these checks in a hotpath something is badly wrong with
your architecture.

  parent reply	other threads:[~2007-08-30 12:35 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2713029743177393055@pripojeni.net>
     [not found] ` <7515194658758617@pripojeni.net>
     [not found]   ` <7515194658758617-+5AFNAhbZwkm4RdzfppkhA@public.gmane.org>
2007-08-29  9:59     ` [PATCH 4/5] Net: ath5k, license is GPLv2 Johannes Berg
     [not found]       ` <1188381582.19891.6.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
2007-08-29 10:35         ` Jiri Slaby
2007-08-29 13:13           ` Xavier Bestel
2007-08-30 11:59             ` Johannes Berg
     [not found]   ` <20070828171155.GC29343@infradead.org>
2007-08-29 17:29     ` Valdis.Kletnieks
2007-08-29 18:01       ` Jon Smirl
2007-08-29 18:28         ` Alan Cox
     [not found]           ` <20070829192858.75aa6542-v58gJUvfdfWUJIigds3554dd74u8MsAO@public.gmane.org>
2007-08-29 19:33             ` Jon Smirl
     [not found]               ` <9e4733910708291233h3c4022a9n6e46733c5c50e222-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-29 19:37                 ` Michael Buesch
2007-08-30  8:26                   ` Jarek Poplawski
     [not found]                     ` <20070830082652.GA2669-8HppEYmqbBCE+EvaaNYduQ@public.gmane.org>
2007-08-30  8:32                       ` Jarek Poplawski
2007-08-29 19:45               ` Alan Cox
2007-08-30 13:45                 ` Jarek Poplawski
2007-08-30 13:02               ` David Newall
     [not found] ` <280951420471148977@pripojeni.net>
     [not found]   ` <20070828171330.GD29343@infradead.org>
2007-08-30  1:38     ` [PATCH 5/5] Net: ath5k, kconfig changes Nick Kossifidis
     [not found]       ` <40f31dec0708291838p5d33eb34p3b4432d9d270841a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-30 12:35         ` Christoph Hellwig [this message]
2007-08-30 12:36         ` John W. Linville
2007-08-30 22:18           ` Nick Kossifidis
     [not found]             ` <40f31dec0708301518u5ef32d13jfe1cce09656bf77d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-01  5:58               ` Nick Kossifidis
     [not found]           ` <20070830123609.GA5140-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2007-08-31 11:58             ` Dan Williams
     [not found]               ` <1188561531.2668.7.camel-xTRJqYXIWqq1Tluu+1bJKiZi+YwRKgec@public.gmane.org>
2007-08-31 13:30                 ` Jeff Garzik
2007-08-31 14:32                   ` Dan Williams
     [not found] ` <20070828171034.GB29343@infradead.org>
     [not found]   ` <20070828171034.GB29343-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2007-08-30  1:50     ` [PATCH 1/5] Net: ath5k, split hw into hw, phy and initvals Nick Kossifidis
     [not found]       ` <40f31dec0708291850j2d35db6cu9de7c5f0a91e76f7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-30 12:38         ` John W. Linville
     [not found]           ` <20070830123849.GB5140-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2007-09-01  3:12             ` Nick Kossifidis
     [not found] ` <2440910618305782004@pripojeni.net>
     [not found]   ` <2440910618305782004-+5AFNAhbZwkm4RdzfppkhA@public.gmane.org>
2007-08-30 12:40     ` [PATCH 3/5] Net: ath5k, use int as retval John W. Linville
     [not found]       ` <20070830124054.GC5140-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2007-09-01 20:08         ` Jiri Slaby
     [not found]           ` <46D9C6A8.7070600-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2007-09-02 15:55             ` Nick Kossifidis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070830123554.GA2176@infradead.org \
    --to=hch-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
    --cc=jirislaby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
    --cc=mickflemm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).