From: seantywork Date: Thu, 19 Jun 2025 10:51:40 +0000 (+0100) Subject: test X-Git-Url: https://git.feebdaed.xyz/?a=commitdiff_plain;h=f71ac1c01233e2e1e3b7c6f6f77048182928d359;p=linuxyz.git test --- diff --git a/kgpio-irqsock/kgpio_irqsk.c b/kgpio-irqsock/kgpio_irqsk.c index f89de3d..7e01fdd 100644 --- a/kgpio-irqsock/kgpio_irqsk.c +++ b/kgpio-irqsock/kgpio_irqsk.c @@ -93,6 +93,12 @@ int geth_poll(struct napi_struct *napi, int budget){ printk(KERN_INFO "polling\n"); + struct ethhdr *eh; + + eh = (struct ethhdr*)buf; + + printk(KERN_INFO "eth proto: %04x\n", eh->h_proto); + while (npackets < budget && (i_q_ptr + 1)) { i_q_ptr -= 1;