#4304 closed defect (fixed)

grlib,grspw: SET_PACKET_SIZE could use old DMA address

Reported by: Daniel Hellstrom Owned by: Daniel Hellstrom
Priority: normal Milestone: 5.2
Component: bsps Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

When the DMA table has been allocated dynamically, the IOCTL_SET_PACKETSIZE will trigger an issue where pDev->rx and pDev->tx are not updated with the new DMA tables base address. Instead the old pointers are used.


There is no point in reallocting the DMA tables because there is no configuration option to it.

Change History (4)

comment:1 Changed on 03/07/21 at 13:37:33 by Daniel Hellstrom

Summary: leon,grspw: SET_PACKET_SIZE could use old DMA addressgrlib,grspw: SET_PACKET_SIZE could use old DMA address

comment:2 Changed on 03/07/21 at 13:47:21 by Daniel Hellstrom

Component: adminbsps

comment:3 Changed on 03/07/21 at 15:56:36 by Daniel Hellstrom <daniel@…>

In 84fb340/rtems:

leon,grspw: fix for SET_PACKET_SIZE

When the DMA table has been allocated dynamically, the IOCTL_SET_PACKETSIZE
will trigger an issue where pDev->rx and pDev->tx are not updated with
the new DMA tables base address. Instead the old pointers are used.

There is no point in reallocting the DMA tables because there is no
configuration option to it. Therefore the DMA tables allocation is
moved to a separate function never called from SET_PACKETSIZE.

Update #4304.

comment:4 Changed on 03/09/21 at 13:23:36 by Daniel Hellstrom

Milestone: 6.15.2
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.