accel/amdxdna: Return error when setting clock failed for npu1
[drm/drm-misc.git] / include / net / netns / core.h
blob9b36f0ff0c200c9cf89753f2c78a3ee0fe5256b7
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NETNS_CORE_H__
3 #define __NETNS_CORE_H__
5 #include <linux/types.h>
7 struct ctl_table_header;
8 struct prot_inuse;
9 struct cpumask;
11 struct netns_core {
12 /* core sysctls */
13 struct ctl_table_header *sysctl_hdr;
15 int sysctl_somaxconn;
16 int sysctl_optmem_max;
17 u8 sysctl_txrehash;
18 u8 sysctl_tstamp_allow_data;
20 #ifdef CONFIG_PROC_FS
21 struct prot_inuse __percpu *prot_inuse;
22 #endif
24 #if IS_ENABLED(CONFIG_RPS) && IS_ENABLED(CONFIG_SYSCTL)
25 struct cpumask *rps_default_mask;
26 #endif
29 #endif