arge1 on TL WDR3600
Adrian Chadd
adrian.chadd at gmail.com
Fri Oct 30 14:16:09 UTC 2015
Hiya,
Would you mind testing out this patch? I want to see if this makes any
difference. :-)
Thanks!
adrian at victoria:~/work/freebsd/head-embedded/src/sys/mips/atheros %
svn diff if_argevar.h
Index: if_argevar.h
===================================================================
--- if_argevar.h (revision 290090)
+++ if_argevar.h (working copy)
@@ -101,11 +101,16 @@
#define ARGE_DESC_MORE (1 << 24)
#define ARGE_DESC_SIZE_MASK ((1 << 12) - 1)
#define ARGE_DMASIZE(len) ((len) & ARGE_DESC_SIZE_MASK)
+
+/*
+ * Pad each descriptor out to a cache line (32 bytes.)
+ */
struct arge_desc {
uint32_t packet_addr;
uint32_t packet_ctrl;
uint32_t next_desc;
uint32_t padding;
+ uint32_t padding2[4];
};
struct arge_txdesc {
-adrian
More information about the freebsd-mips
mailing list