Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
event/octeontx2: fix device reconfigure for single slot
[ upstream commit 340d22c ] When device is re-configured, memory allocated for work slot is freed and new memory is allocated. Due to this we may loose some important configurations/mappings done with initial work slot memory. For example, whenever rte_event_eth_tx_adapter_queue_add is called some important meta i.e. txq handle is stored in work slot structure. If device gets reconfigured after this tx adaptor add, txq to work slot mapping will be lost resulting in seg fault during packet processing, as txq handle could not be retrieved from work slot. Fixes: 67b5f46 ("event/octeontx2: add port config functions") Signed-off-by: Harman Kalra <hkalra@marvell.com>
- Loading branch information