diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2015-02-25 21:44:53 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2015-02-25 21:44:53 +0000 |
commit | 977dc4e243729beff231ee1db291a931eb640d9e (patch) | |
tree | 66e0dc155fa43d824db62793f337818ab56fd512 /sys/dev/e1000 | |
parent | 0b93a0b46223006fbfcc747d2bbcf86ca825d066 (diff) | |
download | src-977dc4e243729beff231ee1db291a931eb640d9e.tar.gz src-977dc4e243729beff231ee1db291a931eb640d9e.zip |
Migrate using CPU_ZERO() + CPU_SET() -> CPU_SETOF().
Tested:
* ixgbe, igb, RSS enabled
Submitted by: jhb
Sponsored by: Norse Corp, Inc.
Notes
Notes:
svn path=/head/; revision=279299
Diffstat (limited to 'sys/dev/e1000')
-rw-r--r-- | sys/dev/e1000/if_igb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index ad6fcc511dfe..4e2f9edd659f 100644 --- a/sys/dev/e1000/if_igb.c +++ b/sys/dev/e1000/if_igb.c @@ -2569,8 +2569,7 @@ igb_allocate_msix(struct adapter *adapter) * round-robin bucket -> queue -> CPU allocation. */ #ifdef RSS - CPU_ZERO(&cpu_mask); - CPU_SET(cpu_id, &cpu_mask); + CPU_SETOF(cpu_id, &cpu_mask); taskqueue_start_threads_cpuset(&que->tq, 1, PI_NET, &cpu_mask, "%s que (bucket %d)", |