2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

odp-util: Print tunnel id as part of ODP flow key in format_odp_flow_key().

This commit is contained in:
Ben Pfaff
2010-10-29 09:49:46 -07:00
parent 494e43a517
commit 386a62a104

View File

@@ -42,7 +42,7 @@ odp_actions_add(struct odp_actions *actions, uint16_t type)
void
format_odp_flow_key(struct ds *ds, const struct odp_flow_key *key)
{
ds_put_format(ds, "in_port%04x tci(", key->in_port);
ds_put_format(ds, "tun_id0x%08x in_port%04x tci(", key->tun_id, key->in_port);
if (key->dl_tci) {
ds_put_format(ds, "vlan%"PRIu16",pcp%d",
vlan_tci_to_vid(key->dl_tci),