Searched refs:netdevsim (Results 1 – 9 of 9) sorted by relevance
71 struct netdevsim { struct106 struct netdevsim * argument108 void nsim_destroy(struct netdevsim *ns);110 void nsim_ethtool_init(struct netdevsim *ns);120 int nsim_bpf_init(struct netdevsim *ns);121 void nsim_bpf_uninit(struct netdevsim *ns);123 int nsim_bpf_disable_tc(struct netdevsim *ns);136 static inline int nsim_bpf_init(struct netdevsim *ns) in nsim_bpf_init()141 static inline void nsim_bpf_uninit(struct netdevsim *ns) in nsim_bpf_uninit()150 static inline int nsim_bpf_disable_tc(struct netdevsim *ns) in nsim_bpf_disable_tc()[all …]
31 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit()53 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu()66 struct netdevsim *ns = netdev_priv(dev); in nsim_get_stats64()84 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_mac()98 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_vlan()113 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_rate()132 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_spoofchk()144 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_rss_query_en()156 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_trust()169 struct netdevsim *ns = netdev_priv(dev); in nsim_get_vf_config()[all …]
14 struct netdevsim *ns = netdev_priv(dev); in nsim_get_pause_stats()25 struct netdevsim *ns = netdev_priv(dev); in nsim_get_pauseparam()35 struct netdevsim *ns = netdev_priv(dev); in nsim_set_pauseparam()50 struct netdevsim *ns = netdev_priv(dev); in nsim_get_coalesce()61 struct netdevsim *ns = netdev_priv(dev); in nsim_set_coalesce()70 struct netdevsim *ns = netdev_priv(dev); in nsim_get_ringparam()78 struct netdevsim *ns = netdev_priv(dev); in nsim_set_ringparam()90 struct netdevsim *ns = netdev_priv(dev); in nsim_get_fecparam()101 struct netdevsim *ns = netdev_priv(dev); in nsim_set_fecparam()128 static void nsim_ethtool_ring_init(struct netdevsim *ns) in nsim_ethtool_ring_init()[all …]
3 obj-$(CONFIG_NETDEVSIM) += netdevsim.o5 netdevsim-objs := \9 netdevsim-objs += \14 netdevsim-objs += ipsec.o18 netdevsim-objs += psample.o
41 struct netdevsim *ns;87 static bool nsim_xdp_offload_active(struct netdevsim *ns) in nsim_xdp_offload_active()104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload()123 struct netdevsim *ns = cb_priv; in nsim_bpf_setup_tc_block_cb()173 int nsim_bpf_disable_tc(struct netdevsim *ns) in nsim_bpf_disable_tc()180 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog()193 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog()293 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks()307 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks()488 nsim_bpf_map_alloc(struct netdevsim *ns, struct bpf_offloaded_map *offmap) in nsim_bpf_map_alloc()[all …]
16 struct netdevsim *ns = filp->private_data; in nsim_dbg_netdev_ops_read()132 struct netdevsim *ns; in nsim_ipsec_add_sa()197 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_del_sa()214 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_offload_ok()228 bool nsim_ipsec_tx(struct netdevsim *ns, struct sk_buff *skb) in nsim_ipsec_tx()275 void nsim_ipsec_init(struct netdevsim *ns) in nsim_ipsec_init()291 void nsim_ipsec_teardown(struct netdevsim *ns) in nsim_ipsec_teardown()
15 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_set_port()44 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_unset_port()73 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_sync_table()113 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_reset_write()133 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_create()
88 obj-$(CONFIG_NETDEVSIM) += netdevsim/
594 will be called netdevsim.