diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2022-02-09 12:23:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-09 16:15:35 +0300 |
commit | a4ca448e8bfef0def568a6283a69d9cf018fd2c8 (patch) | |
tree | 209d5f11a4eff981e7a00ae72751b2df96d405e5 /scripts/checkversion.pl | |
parent | a4218aef7c86689339a808a89d98611c26f91201 (diff) | |
download | linux-a4ca448e8bfef0def568a6283a69d9cf018fd2c8.tar.xz |
dpaa2-eth: work with an array of FDs
Up until now, the __dpaa2_eth_tx function used a single FD on the stack
to construct the structure to be enqueued. Since we are now preparing
the ground work to add support for TSO done in software at the driver
level, the same function needs to work with an array of FDs and enqueue
as many as the build_*_fd functions create.
Make the necessary adjustments in order to do this. These include:
keeping an array of FDs in a percpu structure, cleaning up the necessary
FDs before populating it and then, retrying the enqueue process up till
all the generated FDs were enqueued or until we reach the maximum number
retries.
This patch does not change the fact that only a single FD will result
from a __dpaa2_eth_tx call but rather just creates the necessary changes
for the next patch.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/checkversion.pl')
0 files changed, 0 insertions, 0 deletions