]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
test
authorseantywork <seantywork@gmail.com>
Thu, 19 Jun 2025 10:51:40 +0000 (11:51 +0100)
committerseantywork <seantywork@gmail.com>
Thu, 19 Jun 2025 10:51:40 +0000 (11:51 +0100)
kgpio-irqsock/kgpio_irqsk.c

index f89de3dd25f08ceffacdd151a115b11567a31f6a..7e01fdd26676a104922aa1fea08c3a585b066b2c 100644 (file)
@@ -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;