aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChristo du Toit <[email protected]>2022-03-11 11:42:57 +0100
committerJakub Kicinski <[email protected]>2022-03-11 23:10:21 -0800
commitf6df1aa628f577ef03a917b3682bd20bcb939f05 (patch)
tree0282d1dc62d8f3b76e6b43db3196b813a6c6a17c /tools/perf/scripts/python/bin
parent940ea0eae31b67d8da19e3e944f4f99cb3fb514c (diff)
nfp: remove pessimistic NFP_QCP_MAX_ADD limits
Multiple writes cause intermediate pointer values that do not end on complete TX descriptors. The QCP peripheral on the NFP provides a number of access modes. In some access modes, the maximum amount to add must be restricted to a 6bit value. The particular access mode used by _nfp_qcp_ptr_add() has no such restrictions, so the "< NFP_QCP_MAX_ADD" test is unnecessary. Note that trying to add more that the configured ring size in a single add will cause a QCP overflow, caught and handled by the QCP peripheral. Signed-off-by: Christo du Toit <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Fei Qin <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions