diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 10:27:52 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 10:27:52 +0200 |
commit | 92206a78c27de6442f1428ccf8cd622fa3364a5a (patch) | |
tree | 8e9ae33836784b97ba1b44755f3162ba051cf60c /netsniff-ng.c | |
parent | 829456efb34ab796f7aa743fa7f37a5ecd8b3455 (diff) |
irq: rename device_bind_irq_to_cpu to device_set_irq_affinity
This is more appropriate and consistent with other device irq
functions.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r-- | netsniff-ng.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c index 28ebda7..2005f9b 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -233,7 +233,7 @@ static void pcap_to_xmit(struct ctx *ctx) if (ctx->cpu >= 0 && ifindex > 0) { irq = device_irq_number(ctx->device_out); - device_bind_irq_to_cpu(irq, ctx->cpu); + device_set_irq_affinity(irq, ctx->cpu); if (ctx->verbose) printf("IRQ: %s:%d > CPU%d\n", @@ -924,7 +924,7 @@ static void recv_only_or_dump(struct ctx *ctx) if (ctx->cpu >= 0 && ifindex > 0) { irq = device_irq_number(ctx->device_in); - device_bind_irq_to_cpu(irq, ctx->cpu); + device_set_irq_affinity(irq, ctx->cpu); if (ctx->verbose) printf("IRQ: %s:%d > CPU%d\n", |