mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ovs-dpctl: Use netdev_get_config() to print vport configurations.
This is cleaner than parsing "odp_port"s directly. It takes one step toward eliminating use of odp_port from any userspace code outside of lib/netdev-vport.c and lib/dpif-linux.c. Reviewed by Justin Pettit.
This commit is contained in:
@@ -62,7 +62,6 @@ void format_odp_actions(struct ds *, const struct nlattr *odp_actions,
|
||||
size_t actions_len);
|
||||
void format_odp_flow_stats(struct ds *, const struct odp_flow_stats *);
|
||||
void format_odp_flow(struct ds *, const struct odp_flow *);
|
||||
void format_odp_port_type(struct ds *, const struct odp_port *);
|
||||
|
||||
/* By my calculations currently the longest valid nlattr-formatted flow key is
|
||||
* 80 bytes long, so this leaves some safety margin.
|
||||
|
Reference in New Issue
Block a user