summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/zns.c
diff options
context:
space:
mode:
authorCamelia Groza <camelia.groza@nxp.com>2022-08-31 10:37:58 +0300
committerXiaobo Xie <xiaobo.xie@nxp.com>2022-09-06 11:50:50 +0200
commit36363d8623ba60858e2632b7d2b70dae932c9a8b (patch)
treebdfd1a0fb567cfcf8a39f653997c45cac70b42d9 /drivers/nvme/target/zns.c
parent75563f29b17a46ecd85433e7d8eed6f3dd969046 (diff)
fsl_qbman: ceetm: errata A-010383 workaround for LNI shapers
When a frame is dequeued by the CEETM, the effective packet size is a function of the actual packet size, the configured Overhead Accounting Length (OAL), and the configured Minimum Packet Size (MPS). This effective packet size is used to update the CEETM shaper credits. This MPS value should be applied to the actual packet size before the OAL value is applied. However, the OAL value is applied to the actual packet size first. Then, the MPS is applied. This results in an incorrect value being subtracted from the CEETM credit for that particular Logical Network Interface (LNI) shaper. To avoid an erroneous shaper credit count, do not configure both OAL and MPS on an LNI shaper. Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Diffstat (limited to 'drivers/nvme/target/zns.c')
0 files changed, 0 insertions, 0 deletions