From: seantywork Date: Thu, 19 Jun 2025 10:58:00 +0000 (+0100) Subject: very slow X-Git-Url: https://git.feebdaed.xyz/?a=commitdiff_plain;h=1574f6216982175e3cbc25e129569be3156347ea;p=linuxyz.git very slow --- diff --git a/kgpio-irqsock/kgpio_irqsk.c b/kgpio-irqsock/kgpio_irqsk.c index c02ed3d..f89de3d 100644 --- a/kgpio-irqsock/kgpio_irqsk.c +++ b/kgpio-irqsock/kgpio_irqsk.c @@ -93,12 +93,6 @@ int geth_poll(struct napi_struct *napi, int budget){ printk(KERN_INFO "polling\n"); - struct ethhdr *eh; - - eh = (struct ethhdr*)pkt.data; - - printk(KERN_INFO "eth proto: %04x\n", eh->h_proto); - while (npackets < budget && (i_q_ptr + 1)) { i_q_ptr -= 1; diff --git a/kgpio-irqsock/kgpio_irqsk.h b/kgpio-irqsock/kgpio_irqsk.h index 069c20f..b0badc0 100644 --- a/kgpio-irqsock/kgpio_irqsk.h +++ b/kgpio-irqsock/kgpio_irqsk.h @@ -40,7 +40,7 @@ #define MAX_PKTLEN 1500 #define MAX_Q_LEN 64 -#define SYNC_UDELAY 64 +#define SYNC_UDELAY 1024