Searched defs:nsim_dev (Results 1 – 6 of 6) sorted by relevance
109 struct nsim_dev *nsim_dev; member191 static inline int nsim_bpf_dev_init(struct nsim_dev *nsim_dev) in nsim_bpf_dev_init()196 static inline void nsim_bpf_dev_exit(struct nsim_dev *nsim_dev) in nsim_bpf_dev_exit()279 static inline int nsim_dev_psample_init(struct nsim_dev *nsim_dev) in nsim_dev_psample_init()284 static inline void nsim_dev_psample_exit(struct nsim_dev *nsim_dev) in nsim_dev_psample_exit()321 struct nsim_dev { struct322 struct nsim_bus_dev *nsim_bus_dev;323 struct nsim_fib_data *fib_data;324 struct nsim_trap_data *trap_data;325 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() local228 static int nsim_dev_debugfs_init(struct nsim_dev *nsim_dev) in nsim_dev_debugfs_init()293 static void nsim_dev_debugfs_exit(struct nsim_dev *nsim_dev) in nsim_dev_debugfs_exit()332 static int nsim_dev_port_debugfs_init(struct nsim_dev *nsim_dev, in nsim_dev_port_debugfs_init()460 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_param_test2_get() local471 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_param_test2_set() local493 struct nsim_dev *nsim_dev = devlink_priv(devlink); in nsim_devlink_param_test2_reset_default() 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()
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() local1126 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()