On 26 Jul 2026, at 17:33, Eli Britstein wrote: > Change function signatures to take struct netdev_dpdk_common instead of > struct netdev_dpdk, and update internal accesses from dev->common.xxx to > common->xxx. This makes these functions reusable by netdev-doca which > also operates on netdev_dpdk_common. > > Signed-off-by: Eli Britstein <[email protected]> One more AI review comment which looks valid. //Eelco commit dd31f8a84df3ee922de7e8ed9d2b7eda42a13ca2 ("netdev-dpdk: Change access from dev->common.xxx to common->xxx.") Author: Eli Britstein <[email protected]> This patch refactors netdev-dpdk functions to take struct netdev_dpdk_common instead of struct netdev_dpdk, converting internal accesses from dev->common.xxx to common->xxx for reuse by netdev-doca. > struct netdev_dpdk_common *common = &dev->common; > [...] > common->flags |= on; > common->flags &= ~off; > [...] > if ((dev->common.flags ^ *old_flagsp) & NETDEV_UP) { > [...] > common->flags & NETDEV_UP In netdev_dpdk_update_flags__, one reference to dev->common.flags was not converted to common->flags, while every other access in the same function uses the local common pointer. Since common is just &dev->common this has no runtime effect, but it leaves the refactoring incomplete -- the stated goal is to make these function bodies independent of struct netdev_dpdk. Was this line overlooked? [...] _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] [dpdk-latest v6 05/10] netdev-dpdk: Change access from dev->common.xxx to common->xxx.
- [ovs-dev] [dpdk-latest v6 02/10] packets: Move ETH_... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 02/10] packets: ... Eelco Chaudron via dev
- [ovs-dev] [dpdk-latest v6 03/10] netdev-dpdk: Remov... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 03/10] netdev-dp... Eelco Chaudron via dev
- Re: [ovs-dev] [dpdk-latest v6 03/10] netdev-dp... Eelco Chaudron via dev
- Re: [ovs-dev] [dpdk-latest v6 03/10] netdev-dp... Eelco Chaudron via dev
- [ovs-dev] [dpdk-latest v6 06/10] netdev-dpdk: Make ... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 06/10] netdev-dp... Eelco Chaudron via dev
- [ovs-dev] [dpdk-latest v6 05/10] netdev-dpdk: Chang... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 05/10] netdev-dp... Eelco Chaudron via dev
- Re: [ovs-dev] [dpdk-latest v6 05/10] netdev-dp... Eelco Chaudron via dev
- [ovs-dev] [dpdk-latest v6 08/10] unixctl: Introduce... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 08/10] unixctl: ... Eelco Chaudron via dev
- [ovs-dev] [dpdk-latest v6 09/10] acinclude.m4: Add ... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 09/10] acinclude... Eelco Chaudron via dev
- Re: [ovs-dev] [dpdk-latest v6 09/10] acinclude... Eelco Chaudron via dev
- Re: [ovs-dev] [dpdk-latest v6 09/10] acinclude... Eelco Chaudron via dev
- [ovs-dev] [dpdk-latest v6 01/10] refmap: Introduce ... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 01/10] refmap: I... Eelco Chaudron via dev
- Re: [ovs-dev] [dpdk-latest v6 01/10] refma... Eli Britstein via dev
- Re: [ovs-dev] [dpdk-latest v6 01/10] r... Eelco Chaudron via dev
