1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-24 20:01:55 +00:00
linux/net/openvswitch
Wenyu Zhang e05176a328 openvswitch: Make 100 percents packets sampled when sampling rate is 1.
When sampling rate is 1, the sampling probability is UINT32_MAX. The packet
should be sampled even the prandom32() generate the number of UINT32_MAX.
And none packet need be sampled when the probability is 0.

Signed-off-by: Wenyu Zhang <wenyuz@vmware.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-07 12:00:38 -07:00
..
actions.c openvswitch: Make 100 percents packets sampled when sampling rate is 1. 2015-08-07 12:00:38 -07:00
datapath.c openvswitch: Abstract vport name through ovs_vport_name() 2015-07-21 10:39:07 -07:00
datapath.h ip_tunnel: Make ovs_tunnel_info and ovs_key_ipv4_tunnel generic 2015-07-21 10:39:05 -07:00
dp_notify.c openvswitch: Move dev pointer into vport itself 2015-07-21 10:39:07 -07:00
flow_netlink.c openvswitch: Use regular VXLAN net_device device 2015-07-21 10:39:07 -07:00
flow_netlink.h openvswitch: Make tunnel set action attach a metadata dst 2015-07-21 10:39:06 -07:00
flow_table.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-07-23 00:41:16 -07:00
flow_table.h openvswitch: Add support for unique flow IDs. 2015-01-26 15:45:50 -08:00
flow.c ip_tunnel: Make ovs_tunnel_info and ovs_key_ipv4_tunnel generic 2015-07-21 10:39:05 -07:00
flow.h openvswitch: Make tunnel set action attach a metadata dst 2015-07-21 10:39:06 -07:00
Kconfig openvswitch: Re-add CONFIG_OPENVSWITCH_VXLAN 2015-07-29 23:03:10 -07:00
Makefile openvswitch: Re-add CONFIG_OPENVSWITCH_VXLAN 2015-07-29 23:03:10 -07:00
vport-geneve.c ip_tunnel: Make ovs_tunnel_info and ovs_key_ipv4_tunnel generic 2015-07-21 10:39:05 -07:00
vport-gre.c ip_tunnel: Make ovs_tunnel_info and ovs_key_ipv4_tunnel generic 2015-07-21 10:39:05 -07:00
vport-internal_dev.c openvswitch: Abstract vport name through ovs_vport_name() 2015-07-21 10:39:07 -07:00
vport-internal_dev.h openvswitch: introduce rtnl ops stub 2014-07-01 14:40:17 -07:00
vport-netdev.c openvswitch: Re-add CONFIG_OPENVSWITCH_VXLAN 2015-07-29 23:03:10 -07:00
vport-netdev.h openvswitch: Re-add CONFIG_OPENVSWITCH_VXLAN 2015-07-29 23:03:10 -07:00
vport-vxlan.c vxlan: combine VXLAN_FLOWBASED into VXLAN_COLLECT_METADATA 2015-08-07 11:46:34 -07:00
vport.c openvswitch: Abstract vport name through ovs_vport_name() 2015-07-21 10:39:07 -07:00
vport.h openvswitch: Abstract vport name through ovs_vport_name() 2015-07-21 10:39:07 -07:00