mbox series

[iproute2-next,v2,0/3] Support pedit of ip6 traffic_class

Message ID cover.1585954968.git.petrm@mellanox.com
Headers show
Series Support pedit of ip6 traffic_class | expand

Message

Petr Machata April 3, 2020, 11:05 p.m. UTC
The pedit action supports tos (and its synonyms, such as dsfield) for IPv4,
but not the corresponding IPv6 field, traffic_class. Patch #1 of this
series adds this IPv6 support. Patch #2 then adds two related examples to
man page, and patch #3 removes from the man page a claim that the extended
notation is only available for IPv4.

v2:
- Patch #1:
    - Only accept 'traffic_class'.
    - Move the if-branch that matches it to the end of the list.
    - man: Drop the untrue statement that the traffic_class field needs
      to be sandwiched between two 4-bit zeroes.

Petr Machata (3):
  tc: p_ip6: Support pedit of IPv6 dsfield
  man: tc-pedit: Add examples for dsfield and retain
  man: tc-pedit: Drop the claim that pedit ex is only for IPv4

 man/man8/tc-pedit.8 | 31 +++++++++++++++++++++++++++----
 tc/p_ip6.c          | 15 +++++++++++++++
 2 files changed, 42 insertions(+), 4 deletions(-)

Comments

David Ahern April 9, 2020, 2:41 p.m. UTC | #1
On 4/3/20 5:05 PM, Petr Machata wrote:
> The pedit action supports tos (and its synonyms, such as dsfield) for IPv4,
> but not the corresponding IPv6 field, traffic_class. Patch #1 of this
> series adds this IPv6 support. Patch #2 then adds two related examples to
> man page, and patch #3 removes from the man page a claim that the extended
> notation is only available for IPv4.
> 
applied to iproute2-next. Thanks