On Wed, 19 Jan 2022 10:03:49 +0530 kumaraparameshwaran rathinavel <kumaraparames...@gmail.com> wrote:
> > > Why is this necessary? dev->data is already in memory shared between > > primary > > > and secondary process. > > > > > The question is about the two assignments that happen in secondary proces > > > that change dev->data->nb_rx_queues and dev->data->nb_tx_queues. These > > are > > > shared and should not need to be modified here. > > > Sure my bad. Misunderstood the comment. Yes, this should not be done, will > remove the assignments. No problem, primary/secondary process support is a bug farm because it is too easy to have pointer that is from primary process leak into secondary. I just wanted to make sure there wasn't something wrong in the infrastructure.