Home
last modified time | relevance | path

Searched refs:pcptr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan_main.c224 struct ipvl_pcpu_stats *pcptr; in ipvlan_start_xmit() local
226 pcptr = this_cpu_ptr(ipvlan->pcpu_stats); in ipvlan_start_xmit()
228 u64_stats_update_begin(&pcptr->syncp); in ipvlan_start_xmit()
229 u64_stats_inc(&pcptr->tx_pkts); in ipvlan_start_xmit()
230 u64_stats_add(&pcptr->tx_bytes, skblen); in ipvlan_start_xmit()
231 u64_stats_update_end(&pcptr->syncp); in ipvlan_start_xmit()
295 struct ipvl_pcpu_stats *pcptr; in ipvlan_get_stats64() local
305 rx_pkts = u64_stats_read(&pcptr->rx_pkts); in ipvlan_get_stats64()
308 tx_pkts = u64_stats_read(&pcptr->tx_pkts); in ipvlan_get_stats64()
320 rx_errs += READ_ONCE(pcptr->rx_errs); in ipvlan_get_stats64()
[all …]
H A Dipvlan_core.c18 struct ipvl_pcpu_stats *pcptr; in ipvlan_count_rx() local
20 pcptr = this_cpu_ptr(ipvlan->pcpu_stats); in ipvlan_count_rx()
21 u64_stats_update_begin(&pcptr->syncp); in ipvlan_count_rx()
22 u64_stats_inc(&pcptr->rx_pkts); in ipvlan_count_rx()
23 u64_stats_add(&pcptr->rx_bytes, len); in ipvlan_count_rx()
25 u64_stats_inc(&pcptr->rx_mcast); in ipvlan_count_rx()
26 u64_stats_update_end(&pcptr->syncp); in ipvlan_count_rx()