On 08.12.2019 15:42, Ilya Maximets wrote:
> On 08.12.2019 15:29, Ophir Munk wrote:
>> In case a pmd pointer (struct dp_netdev_pmd_thread *) needs to retrieve
>> the dpif_class it points at - it can access it as: pmd->dp->class. A
>> second option is to access it as: pmd->dp->dpif->dpif_class.
On 08.12.2019 15:29, Ophir Munk wrote:
> In case a pmd pointer (struct dp_netdev_pmd_thread *) needs to retrieve
> the dpif_class it points at - it can access it as: pmd->dp->class. A
> second option is to access it as: pmd->dp->dpif->dpif_class. The first
> option is safe since there is one dp
In case a pmd pointer (struct dp_netdev_pmd_thread *) needs to retrieve
the dpif_class it points at - it can access it as: pmd->dp->class. A
second option is to access it as: pmd->dp->dpif->dpif_class. The first
option is safe since there is one dp netdev with a constant pointer to
the dpif