[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0a41dc06-15ab-4cf6-9bbd-3a1556993854@tahiti.vyatta.com>
Date: Wed, 16 Nov 2011 23:03:50 -0800 (PST)
From: Stephen Hemminger <stephen.hemminger@...tta.com>
To: Junchang Wang <junchangwang@...il.com>
Cc: netdev@...r.kernel.org, romieu@...zoreil.com,
nic swsd <nic_swsd@...ltek.com>,
eric dumazet <eric.dumazet@...il.com>
Subject: Re: [PATCH net-next] r8169: Add 64bit statistics
> Switch to use ndo_get_stats64 to get 64bit statistics.
> Per cpu data is used to avoid lock operations.
>
>
> Signed-off-by: Junchang Wang <junchangwang@...il.com>
This was recently brought up in the proposed forcedeth patch.
You dont need per-cpu since Tx is locked by dev->xmit_lock and
rx is implicitly single threaded by NAPI. You do need to have
two u64_stat_sync entries (one for Tx and one for Rx).
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists