Home
last modified time | relevance | path

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

/linux/drivers/net/netdevsim/
H A Dnetdevsim.h104 struct nsim_dev *nsim_dev; member
175 static inline int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()
180 static inline void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()
259 static inline int nsim_dev_psample_init(struct nsim_dev *nsim_dev) in nsim_dev_psample_init()
264 static inline void nsim_dev_psample_exit(struct nsim_dev *nsim_dev) in nsim_dev_psample_exit()
301 struct nsim_dev { struct
302 struct nsim_bus_dev *nsim_bus_dev;
303 struct nsim_fib_data *fib_data;
304 struct nsim_trap_data *trap_data;
305 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()
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 …]
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.c152 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_mac() local
166 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_vlan() local
181 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rate() local
200 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_spoofchk() local
212 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_rss_query_en() local
224 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_trust() local
237 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_get_vf_config() local
260 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_link_state() local
1011 nsim_create(struct nsim_dev *nsim_dev, struct nsim_dev_port *nsim_dev_port) 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.c132 int nsim_udp_tunnels_info_create(struct nsim_dev *nsim_dev, in nsim_udp_tunnels_info_create()
208 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 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