diff options
| author | Eric Dumazet <[email protected]> | 2014-10-31 18:47:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-10-31 20:09:03 +0000 |
| commit | 31aa860e0aafd3a7c5a31c2aae67b6534115ea41 (patch) | |
| tree | c0b1a357f1e77cb493b77ccf8b1048f604a690d7 /drivers/net/xen-netback/interface.c | |
| parent | Merge branch 'sunvnet-multi-tx-queue' (diff) | |
| download | kernel-31aa860e0aafd3a7c5a31c2aae67b6534115ea41.tar.gz kernel-31aa860e0aafd3a7c5a31c2aae67b6534115ea41.zip | |
bonding: add bond_tx_drop() helper
Because bonding stats are usually sum of slave stats, it was
not easy to account for tx drops at bonding layer.
We can use dev->tx_dropped for this, as this counter is later
added to the device stats (in dev_get_stats())
This extends the idea we had in commit ee6377147409a ("bonding: Simplify
the xmit function for modes that use xmit_hash") for bond_3ad_xor_xmit()
to other bonding modes.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Mahesh Bandewar <[email protected]>
Reviewed-by: Nikolay Aleksandrov <[email protected]>
Acked-by: Mahesh Bandewar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
