diff options
author | Li RongQing <lirongqing@baidu.com> | 2018-08-03 10:50:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-04 23:15:11 +0300 |
commit | f13b546847ff5862ea313f3e79010c52c3fe32b4 (patch) | |
tree | 301dbbe983a0e3c3b750e084e1face19a655cd78 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 039b1d5e5862375b0da534bb75fc580eaa547d53 (diff) | |
download | linux-f13b546847ff5862ea313f3e79010c52c3fe32b4.tar.xz |
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