diff options
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", |