Home
last modified time | relevance | path

Searched refs:nsim_dev_port (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/netdevsim/
Ddev.c245 struct nsim_dev_port *nsim_dev_port) in nsim_dev_port_debugfs_init() argument
250 sprintf(port_ddir_name, "%u", nsim_dev_port->port_index); in nsim_dev_port_debugfs_init()
251 nsim_dev_port->ddir = debugfs_create_dir(port_ddir_name, in nsim_dev_port_debugfs_init()
253 if (IS_ERR(nsim_dev_port->ddir)) in nsim_dev_port_debugfs_init()
254 return PTR_ERR(nsim_dev_port->ddir); in nsim_dev_port_debugfs_init()
258 debugfs_create_symlink("dev", nsim_dev_port->ddir, dev_link_name); in nsim_dev_port_debugfs_init()
263 static void nsim_dev_port_debugfs_exit(struct nsim_dev_port *nsim_dev_port) in nsim_dev_port_debugfs_exit() argument
265 debugfs_remove_recursive(nsim_dev_port->ddir); in nsim_dev_port_debugfs_exit()
541 static void nsim_dev_trap_report(struct nsim_dev_port *nsim_dev_port) in nsim_dev_trap_report() argument
543 struct nsim_dev *nsim_dev = nsim_dev_port->ns->nsim_dev; in nsim_dev_trap_report()
[all …]
Dnetdevsim.h64 struct nsim_dev_port *nsim_dev_port; member
97 nsim_create(struct nsim_dev *nsim_dev, struct nsim_dev_port *nsim_dev_port);
175 struct nsim_dev_port { struct
Dudp_tunnels.c148 ns->nsim_dev_port->ddir, in nsim_udp_tunnels_info_create()
154 ns->nsim_dev_port->ddir, in nsim_udp_tunnels_info_create()
160 ns->nsim_dev_port->ddir, in nsim_udp_tunnels_info_create()
163 debugfs_create_file("udp_ports_reset", 0200, ns->nsim_dev_port->ddir, in nsim_udp_tunnels_info_create()
Dnetdev.c240 return &ns->nsim_dev_port->devlink_port; in nsim_get_devlink_port()
286 nsim_create(struct nsim_dev *nsim_dev, struct nsim_dev_port *nsim_dev_port) in nsim_create() argument
300 ns->nsim_dev_port = nsim_dev_port; in nsim_create()
Dethtool.c57 ethtool = debugfs_create_dir("ethtool", ns->nsim_dev_port->ddir); in nsim_ethtool_init()
Dipsec.c287 ns->nsim_dev_port->ddir, ns, in nsim_ipsec_init()
Dbpf.c618 struct dentry *ddir = ns->nsim_dev_port->ddir; in nsim_bpf_init()