Home
last modified time | relevance | path

Searched refs:vlan_pcpu_stats (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Dif_macvlan.h26 struct vlan_pcpu_stats __percpu *pcpu_stats;
45 struct vlan_pcpu_stats *pcpu_stats; in macvlan_count_rx()
H A Dif_vlan.h128 struct vlan_pcpu_stats { struct
196 struct vlan_pcpu_stats __percpu *vlan_pcpu_stats; member
/openbmc/linux/net/8021q/
H A Dvlan_dev.c128 struct vlan_pcpu_stats *stats; in vlan_dev_hard_start_xmit()
130 stats = this_cpu_ptr(vlan->vlan_pcpu_stats); in vlan_dev_hard_start_xmit()
136 this_cpu_inc(vlan->vlan_pcpu_stats->tx_dropped); in vlan_dev_hard_start_xmit()
632 vlan->vlan_pcpu_stats = netdev_alloc_pcpu_stats(struct vlan_pcpu_stats); in vlan_dev_init()
633 if (!vlan->vlan_pcpu_stats) in vlan_dev_init()
724 struct vlan_pcpu_stats *p; in vlan_dev_get_stats64()
732 p = per_cpu_ptr(vlan_dev_priv(dev)->vlan_pcpu_stats, i); in vlan_dev_get_stats64()
1107 free_percpu(vlan->vlan_pcpu_stats); in vlan_dev_free()
1108 vlan->vlan_pcpu_stats = NULL; in vlan_dev_free()
H A Dvlan_core.c16 struct vlan_pcpu_stats *rx_stats; in vlan_do_receive()
63 rx_stats = this_cpu_ptr(vlan_dev_priv(vlan_dev)->vlan_pcpu_stats); in vlan_do_receive()
/openbmc/linux/drivers/net/
H A Dmacvlan.c583 struct vlan_pcpu_stats *pcpu_stats; in macvlan_start_xmit()
938 vlan->pcpu_stats = netdev_alloc_pcpu_stats(struct vlan_pcpu_stats); in macvlan_init()
969 struct vlan_pcpu_stats *p; in macvlan_dev_get_stats64()