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

index c02ed3d57ce97f048deeeb62796fe249fab1865c..f89de3dd25f08ceffacdd151a115b11567a31f6a 100644 (file)
@@ -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;
index 069c20f6823f3c0afbc2339154fcbb0dc1cf4cae..b0badc0fd0779290b284c0b4ddf85edbc3b1a688 100644 (file)
@@ -40,7 +40,7 @@
 #define MAX_PKTLEN 1500
 #define MAX_Q_LEN 64
 
-#define SYNC_UDELAY 64
+#define SYNC_UDELAY 1024