diff options
Diffstat (limited to 'include/uapi/linux/openvswitch.h')
| -rw-r--r-- | include/uapi/linux/openvswitch.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h index 54c3b4f4aceb..59ed3992c760 100644 --- a/include/uapi/linux/openvswitch.h +++ b/include/uapi/linux/openvswitch.h | |||
| @@ -605,13 +605,13 @@ struct ovs_action_push_mpls { | |||
| 605 | * @vlan_tci: Tag control identifier (TCI) to push. The CFI bit must be set | 605 | * @vlan_tci: Tag control identifier (TCI) to push. The CFI bit must be set |
| 606 | * (but it will not be set in the 802.1Q header that is pushed). | 606 | * (but it will not be set in the 802.1Q header that is pushed). |
| 607 | * | 607 | * |
| 608 | * The @vlan_tpid value is typically %ETH_P_8021Q. The only acceptable TPID | 608 | * The @vlan_tpid value is typically %ETH_P_8021Q or %ETH_P_8021AD. |
| 609 | * values are those that the kernel module also parses as 802.1Q headers, to | 609 | * The only acceptable TPID values are those that the kernel module also parses |
| 610 | * prevent %OVS_ACTION_ATTR_PUSH_VLAN followed by %OVS_ACTION_ATTR_POP_VLAN | 610 | * as 802.1Q or 802.1AD headers, to prevent %OVS_ACTION_ATTR_PUSH_VLAN followed |
| 611 | * from having surprising results. | 611 | * by %OVS_ACTION_ATTR_POP_VLAN from having surprising results. |
| 612 | */ | 612 | */ |
| 613 | struct ovs_action_push_vlan { | 613 | struct ovs_action_push_vlan { |
| 614 | __be16 vlan_tpid; /* 802.1Q TPID. */ | 614 | __be16 vlan_tpid; /* 802.1Q or 802.1ad TPID. */ |
| 615 | __be16 vlan_tci; /* 802.1Q TCI (VLAN ID and priority). */ | 615 | __be16 vlan_tci; /* 802.1Q TCI (VLAN ID and priority). */ |
| 616 | }; | 616 | }; |
| 617 | 617 | ||
| @@ -721,9 +721,10 @@ enum ovs_nat_attr { | |||
| 721 | * is copied from the value to the packet header field, rest of the bits are | 721 | * is copied from the value to the packet header field, rest of the bits are |
| 722 | * left unchanged. The non-masked value bits must be passed in as zeroes. | 722 | * left unchanged. The non-masked value bits must be passed in as zeroes. |
| 723 | * Masking is not supported for the %OVS_KEY_ATTR_TUNNEL attribute. | 723 | * Masking is not supported for the %OVS_KEY_ATTR_TUNNEL attribute. |
| 724 | * @OVS_ACTION_ATTR_PUSH_VLAN: Push a new outermost 802.1Q header onto the | 724 | * @OVS_ACTION_ATTR_PUSH_VLAN: Push a new outermost 802.1Q or 802.1ad header |
| 725 | * packet. | 725 | * onto the packet. |
| 726 | * @OVS_ACTION_ATTR_POP_VLAN: Pop the outermost 802.1Q header off the packet. | 726 | * @OVS_ACTION_ATTR_POP_VLAN: Pop the outermost 802.1Q or 802.1ad header |
| 727 | * from the packet. | ||
| 727 | * @OVS_ACTION_ATTR_SAMPLE: Probabilitically executes actions, as specified in | 728 | * @OVS_ACTION_ATTR_SAMPLE: Probabilitically executes actions, as specified in |
| 728 | * the nested %OVS_SAMPLE_ATTR_* attributes. | 729 | * the nested %OVS_SAMPLE_ATTR_* attributes. |
| 729 | * @OVS_ACTION_ATTR_PUSH_MPLS: Push a new MPLS label stack entry onto the | 730 | * @OVS_ACTION_ATTR_PUSH_MPLS: Push a new MPLS label stack entry onto the |
