diff options
author | 2018-08-03 15:50:02 +0800 | |
---|---|---|
committer | 2018-08-04 13:15:11 -0700 | |
commit | f13b546847ff5862ea313f3e79010c52c3fe32b4 (patch) | |
tree | 301dbbe983a0e3c3b750e084e1face19a655cd78 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL (diff) | |
download | linux-rng-f13b546847ff5862ea313f3e79010c52c3fe32b4.tar.xz linux-rng-f13b546847ff5862ea313f3e79010c52c3fe32b4.zip |
tun: not use hardcoded mask value
0x3ff in tun_hashfn is mask of TUN_NUM_FLOW_ENTRIES, instead
of hardcode, define a macro to setup the relationship with
TUN_NUM_FLOW_ENTRIES
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions