diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-09-18 15:21:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-20 10:52:31 +0100 |
commit | 529cdfd5e3a69bdc095ce3d535cadf897b787610 (patch) | |
tree | fb42e37d053dc6e2e247f735f02d8449037d7ea2 /tools/testing/selftests/tc-testing/plugin-lib/nsPlugin.py | |
parent | 40d835391b4f0af99cf49c71fab4d6ba8511b07f (diff) |
ionic: expand the descriptor bufs array
When processing a TSO we may have frags spread across several
descriptors, and the total count of frags in one skb may exceed
our per descriptor IONIC_MAX_FRAGS: this is fine as long as
each descriptor has fewer frags than the limit. Since the skb
could have as many as MAX_SKB_FRAGS, and the first descriptor
is where we track and map the frag buffers, we need to be sure
we can map buffers for all of the frags plus the TSO header in
the first descriptor's buffer array.
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/nsPlugin.py')
0 files changed, 0 insertions, 0 deletions