From 1268b8222a3613c2ee36cc7d3006e1989f068a52 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 22 Mar 2015 17:41:26 +0100 Subject: device: add support for configuring RPS/XPS (enabled by default if available) Signed-off-by: Felix Fietkau --- device.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'device.h') 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; }; /* -- cgit v1.2.3