Home
last modified time | relevance | path

Searched defs:nsim_dev (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/netdevsim/
H A Dnetdevsim.h104 struct nsim_dev *nsim_dev; member
170 static inline int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()
175 static inline void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()
254 static inline int nsim_dev_psample_init(struct nsim_dev *nsim_dev) in nsim_dev_psample_init()
259 static inline void nsim_dev_psample_exit(struct nsim_dev *nsim_dev) in nsim_dev_psample_exit()
297 struct nsim_dev { struct
298 struct nsim_bus_dev *nsim_bus_dev;
299 struct nsim_fib_data *fib_data;
300 struct nsim_trap_data *trap_data;
301 struct dentry *ddir;
[all …]
H A Ddev.c59 unsigned int nsim_dev_get_vfs(struct nsim_dev *nsim_dev) in nsim_dev_get_vfs()
100 struct nsim_dev *nsim_dev = file->private_data; in nsim_dev_take_snapshot_write() local
141 struct nsim_dev *nsim_dev = file->private_data; in nsim_dev_trap_fa_cookie_read() local
176 struct nsim_dev *nsim_dev = file->private_data; in nsim_dev_trap_fa_cookie_write() local
230 struct nsim_dev *nsim_dev = file->private_data; in nsim_bus_dev_max_vfs_read() local
245 struct nsim_dev *nsim_dev; in nsim_bus_dev_max_vfs_write() local
299 static int nsim_dev_debugfs_init(struct nsim_dev *nsim_dev) in nsim_dev_debugfs_init()
365 static void nsim_dev_debugfs_exit(struct nsim_dev *nsim_dev) in nsim_dev_debugfs_exit()
404 static int nsim_dev_port_debugfs_init(struct nsim_dev *nsim_dev, in nsim_dev_port_debugfs_init()
536 static void nsim_devlink_set_params_init_values(struct nsim_dev *nsim_dev, in nsim_devlink_set_params_init_values()
[all …]
H A Dpsample.c133 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() local
198 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()
H A Dnetdev.c188 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_mac() local
202 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_vlan() local
217 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rate() local
236 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_spoofchk() local
248 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rss_query_en() local
260 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_trust() local
273 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_get_vf_config() local
296 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_link_state() local
1075 struct netdevsim *nsim_create(struct nsim_dev *nsim_dev, in nsim_create()
H A Dbpf.c30 struct nsim_dev *nsim_dev; member
218 static int nsim_bpf_create_prog(struct nsim_dev *nsim_dev, in nsim_bpf_create_prog()
256 struct nsim_dev *nsim_dev = in nsim_bpf_verifier_prep() local
581 int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()
609 void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()
H A Dudp_tunnels.c125 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()
H A Dhealth.c178 int nsim_dev_health_init(struct nsim_dev *nsim_dev, struct devlink *devlink) in nsim_dev_health_init()
223 void nsim_dev_health_exit(struct nsim_dev *nsim_dev) in nsim_dev_health_exit()
H A Dhwstats.c221 struct nsim_dev *nsim_dev; in nsim_dev_hwstats_enable_ifindex() local
404 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()
H A Dfib.c1520 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