diff options
| author | Daniel Borkmann <dborkman@redhat.com> | 2013-12-29 11:27:11 -0500 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-03 17:41:42 -0500 |
| commit | 86f8515f9721fa171483f0fe0391968fbb949cc9 (patch) | |
| tree | a21f4df024bc16044cb174948494180769cbcbbe /include/linux | |
| parent | fe1217c4f3f7d7cbf8efdd8dd5fdc7204a1d65a8 (diff) | |
net: netprio: rename config to be more consistent with cgroup configs
While we're at it and introduced CGROUP_NET_CLASSID, lets also make
NETPRIO_CGROUP more consistent with the rest of cgroups and rename it
into CONFIG_CGROUP_NET_PRIO so that for networking, we now have
CONFIG_CGROUP_NET_{PRIO,CLASSID}. This not only makes the CONFIG
option consistent among networking cgroups, but also among cgroups
CONFIG conventions in general as the vast majority has a prefix of
CONFIG_CGROUP_<SUBSYS>.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Cc: Zefan Li <lizefan@huawei.com>
Cc: cgroups@vger.kernel.org
Acked-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cgroup_subsys.h | 2 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cgroup_subsys.h b/include/linux/cgroup_subsys.h index 58bf94de4b8e..7b99d717411d 100644 --- a/include/linux/cgroup_subsys.h +++ b/include/linux/cgroup_subsys.h | |||
| @@ -43,7 +43,7 @@ SUBSYS(blkio) | |||
| 43 | SUBSYS(perf) | 43 | SUBSYS(perf) |
| 44 | #endif | 44 | #endif |
| 45 | 45 | ||
| 46 | #if IS_SUBSYS_ENABLED(CONFIG_NETPRIO_CGROUP) | 46 | #if IS_SUBSYS_ENABLED(CONFIG_CGROUP_NET_PRIO) |
| 47 | SUBSYS(net_prio) | 47 | SUBSYS(net_prio) |
| 48 | #endif | 48 | #endif |
| 49 | 49 | ||
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 5260d2eae2e6..45cf68194aa8 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1444,7 +1444,7 @@ struct net_device { | |||
| 1444 | /* max exchange id for FCoE LRO by ddp */ | 1444 | /* max exchange id for FCoE LRO by ddp */ |
| 1445 | unsigned int fcoe_ddp_xid; | 1445 | unsigned int fcoe_ddp_xid; |
| 1446 | #endif | 1446 | #endif |
| 1447 | #if IS_ENABLED(CONFIG_NETPRIO_CGROUP) | 1447 | #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) |
| 1448 | struct netprio_map __rcu *priomap; | 1448 | struct netprio_map __rcu *priomap; |
| 1449 | #endif | 1449 | #endif |
| 1450 | /* phy device may attach itself for hardware timestamping */ | 1450 | /* phy device may attach itself for hardware timestamping */ |
