summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJerin Jacob <jerinjacobk@gmail.com>2018-12-02 18:17:38 +0530
committerDavid S. Miller <davem@davemloft.net>2018-12-03 16:23:07 -0800
commitb648366c2c256645a4cd1da6efd7b91e7c253ecb (patch)
treef9df68b736509caf77a57245761e4a3701ee5aad /tools/perf/scripts/python/export-to-postgresql.py
parentbd522d68704deda0f10e02ded55935469485f77a (diff)
octeontx2-af: Add support for dynamic flow cfg to RSS field generation
Introduce state-based algorithm to convert the flow_key value to RSS algo field used by NIX_AF_RX_FLOW_KEY_ALGX_FIELDX register. The outer `for loop` goes over _all_ protocol field and the following variables depict the state machine forward progress logic. a) keyoff_marker - Enabled when hash byte length needs to be accounted in field->key_offset update. b) field_marker - Enabled when a new field needs to be selected. c) group_member - Enabled when a protocol is part of a group. This would remove the existing hard coding and enable to add new protocol support seamlessly. Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.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