summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-22 17:41:26 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-03-22 17:41:26 +0100
commit1268b8222a3613c2ee36cc7d3006e1989f068a52 (patch)
tree46c7a02fb14432a27b4b0304c09cf143f85e3f49 /device.h
parent1bba3f853bf5b2974b32303c55dfbc0e78d01965 (diff)
device: add support for configuring RPS/XPS (enabled by default if available)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'device.h')
-rw-r--r--device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/device.h b/device.h
index cddb340..391b8c9 100644
--- a/device.h
+++ b/device.h
@@ -38,6 +38,8 @@ enum {
DEV_ATTR_IGMPVERSION,
DEV_ATTR_MLDVERSION,
DEV_ATTR_NEIGHREACHABLETIME,
+ DEV_ATTR_RPS,
+ DEV_ATTR_XPS,
__DEV_ATTR_MAX,
};
@@ -129,6 +131,8 @@ struct device_settings {
unsigned int mldversion;
unsigned int neigh4reachabletime;
unsigned int neigh6reachabletime;
+ bool rps;
+ bool xps;
};
/*