]> git.proxmox.com Git - mirror_ovs.git/commit
netdev: Return number of packet from netdev_pop_header()
authorPravin B Shelar <pshelar@ovn.org>
Wed, 18 May 2016 00:32:06 +0000 (17:32 -0700)
committerPravin B Shelar <pshelar@ovn.org>
Thu, 19 May 2016 02:39:18 +0000 (19:39 -0700)
commit1c8f98d96a64163c857591e95c235c8dc2f8efa8
treea5cb7d39cb281087b4fb34471abf427578d3cb4f
parent6b241d6452916b367fc9cc8c1d83cb113f9c2e5f
netdev: Return number of packet from netdev_pop_header()

Current tunnel-pop API does not allow the netdev implementation
retain a packet but STT can keep a packet from batch of packets
during TCP reassembly processing. To return exact count of
valid packet STT need to pass this number of packet parameter
as a reference.

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
lib/dpif-netdev.c
lib/netdev-native-tnl.c
lib/netdev-native-tnl.h
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h