summaryrefslogtreecommitdiffstats
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorChristo du Toit <christo.du.toit@netronome.com>2022-03-11 11:42:57 +0100
committerJakub Kicinski <kuba@kernel.org>2022-03-12 08:10:21 +0100
commitf6df1aa628f577ef03a917b3682bd20bcb939f05 (patch)
tree0282d1dc62d8f3b76e6b43db3196b813a6c6a17c /crypto/xor.c
parentnfp: remove define for an unused control bit (diff)
downloadlinux-f6df1aa628f577ef03a917b3682bd20bcb939f05.tar.xz
linux-f6df1aa628f577ef03a917b3682bd20bcb939f05.zip
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 <christo.du.toit@netronome.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Fei Qin <fei.qin@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions