On Wed, Sep 21, 2016 at 8:59 AM, Samudrala, Sridhar
wrote:
> On 9/20/2016 9:26 PM, Or Gerlitz wrote:
>> Now, when the SW stats are finally upstream for 4.9 in net-next, the
>> correct approach
>> for the VF reps counters is to follow the architecture presented there
>> [1] -- and this is
>> for t
On 9/20/2016 9:26 PM, Or Gerlitz wrote:
On Wed, Sep 21, 2016 at 6:43 AM, Jeff Kirsher
wrote:
From: Sridhar Samudrala
Sample script that shows ethtool stats on VF representor netdev
PF: enp5s0f0, VF0: enp5s2 VF_REP0: enp5s0f0-vf0
# echo 2 > /sys/class/net/enp5s0f0/device/sriov_numvfs
On Wed, Sep 21, 2016 at 6:43 AM, Jeff Kirsher
wrote:
> From: Sridhar Samudrala
>
> Sample script that shows ethtool stats on VF representor netdev
> PF: enp5s0f0, VF0: enp5s2 VF_REP0: enp5s0f0-vf0
>
># echo 2 > /sys/class/net/enp5s0f0/device/sriov_numvfs
># ip link set enp5s2 up
># e
From: Sridhar Samudrala
Sample script that shows ethtool stats on VF representor netdev
PF: enp5s0f0, VF0: enp5s2 VF_REP0: enp5s0f0-vf0
# echo 2 > /sys/class/net/enp5s0f0/device/sriov_numvfs
# ip link set enp5s2 up
# ethtool -S enp5s0f0-vf0
NIC statistics:
tx_bytes: 0
tx_u