commit | 2131479df66d320e327341ccf0be97924f108327 | [log] [tgz] |
---|---|---|
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | Thu Oct 11 18:36:48 2018 +0900 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 15 21:58:46 2018 -0700 |
tree | 41d6732ee5278107347adf93589c5d763c5beefa | |
parent | acad76a5f6165dc451c5f35edb35d77def1f2e15 [diff] |
veth: Account for packet drops in ndo_xdp_xmit Use existing atomic drop counter. Since drop path is really an exceptional case here, I'm thinking atomic ops would not hurt the performance. XDP packets and bytes are not counted in ndo_xdp_xmit, but will be accounted on rx side by the following commit. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>