summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2018-10-11 18:36:48 +0900
committerDavid S. Miller <davem@davemloft.net>2018-10-15 21:58:46 -0700
commit2131479df66d320e327341ccf0be97924f108327 (patch)
tree41d6732ee5278107347adf93589c5d763c5beefa /net
parentacad76a5f6165dc451c5f35edb35d77def1f2e15 (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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions