mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
dpif-netdev: Fix a couple of coding style issues.
A couple of trivial fixes for a ternery operator placement and pointer declaration. Fixes:655856ef39
("dpif-netdev: Change rxq_scheduling to use rxq processing cycles.") Fixes:a2ac666d52
("dpif-netdev: Change definitions of 'idle' & 'processing' cycles") Cc: ciara.loftus@intel.com Reported-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Ciara Loftus <ciara.loftus@intel.com> Signed-off-by: Darrell Ball <dlu998@gmail.com>
This commit is contained in:
committed by
Darrell Ball
parent
45df9fef60
commit
280802762b
@@ -3863,8 +3863,9 @@ dpif_netdev_run(struct dpif *dpif)
|
|||||||
dp_netdev_process_rxq_port(non_pmd,
|
dp_netdev_process_rxq_port(non_pmd,
|
||||||
port->rxqs[i].rx,
|
port->rxqs[i].rx,
|
||||||
port->port_no);
|
port->port_no);
|
||||||
cycles_count_intermediate(non_pmd, NULL, process_packets ?
|
cycles_count_intermediate(non_pmd, NULL,
|
||||||
PMD_CYCLES_PROCESSING
|
process_packets
|
||||||
|
? PMD_CYCLES_PROCESSING
|
||||||
: PMD_CYCLES_IDLE);
|
: PMD_CYCLES_IDLE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user