aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatt Carlson <[email protected]>2009-11-13 13:03:42 +0000
committerDavid S. Miller <[email protected]>2009-11-15 22:14:45 -0800
commit78f90dcf184b8225a24217605c4289f1986451a3 (patch)
treeee0559bf41211975701c8f2cc310ef8ec7303fe2 /tools/perf/scripts/python
parent35f2d7d0d7c222a580da0ed91c8d70c54267620a (diff)
tg3: Move napi_add calls below tg3_get_invariants
tg3_get_invariants(), among other things, discovers whether or not the device is MSI-X capable and how many interrupts it supports. This discovery needs to happen before registering NAPI instances with netdev. This patch moves the code block that calls napi_add later in tg3_init_one() so that tg3_get_invariants() has a chance to run first. Signed-off-by: Matt Carlson <[email protected]> Reviewed-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions