commit | 32ba19efc08a4bd63590310f05da5ce4d8773508 | [log] [tgz] |
---|---|---|
author | Nithin Sujir <nsujir@broadcom.com> | Thu May 23 11:11:23 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri May 24 22:23:29 2013 -0700 |
tree | 55e01ae1a8df40c1695314cded8ebf4406955009 | |
parent | 2e460fc07ef0ebadfb593b564a8c7fa6559ac3d7 [diff] |
tg3: Simplify ring control block setup The current code calls tg3_set_bdinfo() separately on napi0, followed by a loop that does napi1+. Simplify it by setting bdinfo in the loop for all napi contexts. Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>