Searched defs:nsim_dev (Results 1 – 8 of 8) sorted by relevance
104 struct nsim_dev *nsim_dev; member181 static inline int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()186 static inline void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()265 static inline int nsim_dev_psample_init(struct nsim_dev *nsim_dev) in nsim_dev_psample_init()270 static inline void nsim_dev_psample_exit(struct nsim_dev *nsim_dev) in nsim_dev_psample_exit()308 struct nsim_dev { struct309 struct nsim_bus_dev *nsim_bus_dev;310 struct nsim_fib_data *fib_data;311 struct nsim_trap_data *trap_data;312 struct dentry *ddir;[all …]
60 unsigned int nsim_dev_get_vfs(struct nsim_dev *nsim_dev) in nsim_dev_get_vfs()101 struct nsim_dev *nsim_dev = file->private_data; in nsim_dev_take_snapshot_write() local142 struct nsim_dev *nsim_dev = file->private_data; in nsim_dev_trap_fa_cookie_read() local177 struct nsim_dev *nsim_dev = file->private_data; in nsim_dev_trap_fa_cookie_write() local231 struct nsim_dev *nsim_dev = file->private_data; in nsim_bus_dev_max_vfs_read() local246 struct nsim_dev *nsim_dev; in nsim_bus_dev_max_vfs_write() local300 static int nsim_dev_debugfs_init(struct nsim_dev *nsim_dev) in nsim_dev_debugfs_init()368 static void nsim_dev_debugfs_exit(struct nsim_dev *nsim_dev) in nsim_dev_debugfs_exit()407 static int nsim_dev_port_debugfs_init(struct nsim_dev *nsim_dev, in nsim_dev_port_debugfs_init()535 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_param_test2_get() local[all …]
133 static int nsim_dev_psample_enable(struct nsim_dev *nsim_dev) in nsim_dev_psample_enable()156 static int nsim_dev_psample_disable(struct nsim_dev *nsim_dev) in nsim_dev_psample_disable()175 struct nsim_dev *nsim_dev = file->private_data; in nsim_dev_psample_enable_write() local198 int nsim_dev_psample_init(struct nsim_dev *nsim_dev) in nsim_dev_psample_init()257 void nsim_dev_psample_exit(struct nsim_dev *nsim_dev) in nsim_dev_psample_exit()
30 struct nsim_dev *nsim_dev; member218 static int nsim_bpf_create_prog(struct nsim_dev *nsim_dev, in nsim_bpf_create_prog()258 struct nsim_dev *nsim_dev = in nsim_bpf_verifier_prep() local278 struct nsim_dev *nsim_dev; in nsim_bpf_destroy_prog() local587 int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()615 void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()
211 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_mac() local225 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_vlan() local240 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rate() local259 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_spoofchk() local271 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rss_query_en() local283 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_trust() local296 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_get_vf_config() local319 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_link_state() local1119 struct netdevsim *nsim_create(struct nsim_dev *nsim_dev, in nsim_create()
125 int nsim_udp_tunnels_info_create(struct nsim_dev *nsim_dev, in nsim_udp_tunnels_info_create()198 void nsim_udp_tunnels_debugfs_create(struct nsim_dev *nsim_dev) in nsim_udp_tunnels_debugfs_create()
221 struct nsim_dev *nsim_dev; in nsim_dev_hwstats_enable_ifindex() local404 int nsim_dev_hwstats_init(struct nsim_dev *nsim_dev) in nsim_dev_hwstats_init()470 void nsim_dev_hwstats_exit(struct nsim_dev *nsim_dev) in nsim_dev_hwstats_exit()
1520 nsim_fib_debugfs_init(struct nsim_fib_data *data, struct nsim_dev *nsim_dev) in nsim_fib_debugfs_init()1556 struct nsim_dev *nsim_dev; in nsim_fib_create() local