Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/netdevsim/
Dnetdevsim.h95 struct nsim_dev *nsim_dev; member
152 static inline int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()
157 static inline void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()
236 static inline int nsim_dev_psample_init(struct nsim_dev *nsim_dev) in nsim_dev_psample_init()
241 static inline void nsim_dev_psample_exit(struct nsim_dev *nsim_dev) in nsim_dev_psample_exit()
278 struct nsim_dev { struct
279 struct nsim_bus_dev *nsim_bus_dev;
280 struct nsim_fib_data *fib_data;
281 struct nsim_trap_data *trap_data;
282 struct dentry *ddir;
[all …]
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()
363 static void nsim_dev_debugfs_exit(struct nsim_dev *nsim_dev) in nsim_dev_debugfs_exit()
391 static int nsim_dev_port_debugfs_init(struct nsim_dev *nsim_dev, in nsim_dev_port_debugfs_init()
521 static void nsim_devlink_set_params_init_values(struct nsim_dev *nsim_dev, in nsim_devlink_set_params_init_values()
[all …]
Dnetdev.c85 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_mac() local
99 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_vlan() local
114 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rate() local
133 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_spoofchk() local
145 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rss_query_en() local
157 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_trust() local
170 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_get_vf_config() local
193 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_link_state() local
373 nsim_create(struct nsim_dev *nsim_dev, struct nsim_dev_port *nsim_dev_port) in nsim_create()
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()
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
580 int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()
608 void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()
Dudp_tunnels.c130 int nsim_udp_tunnels_info_create(struct nsim_dev *nsim_dev, in nsim_udp_tunnels_info_create()
203 void nsim_udp_tunnels_debugfs_create(struct nsim_dev *nsim_dev) in nsim_udp_tunnels_debugfs_create()
Dhealth.c230 int nsim_dev_health_init(struct nsim_dev *nsim_dev, struct devlink *devlink) in nsim_dev_health_init()
275 void nsim_dev_health_exit(struct nsim_dev *nsim_dev) in nsim_dev_health_exit()
Dhwstats.c221 struct nsim_dev *nsim_dev; in nsim_dev_hwstats_enable_ifindex() local
410 int nsim_dev_hwstats_init(struct nsim_dev *nsim_dev) in nsim_dev_hwstats_init()
476 void nsim_dev_hwstats_exit(struct nsim_dev *nsim_dev) in nsim_dev_hwstats_exit()
Dfib.c1519 nsim_fib_debugfs_init(struct nsim_fib_data *data, struct nsim_dev *nsim_dev) in nsim_fib_debugfs_init()
1555 struct nsim_dev *nsim_dev; in nsim_fib_create() local