tc: flower: Fix usage message

Remove left over usage from removal of eth_type argument.

Fixes: 488b41d020 ('tc: flower no need to specify the ethertype')
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
This commit is contained in:
Paul Blakey 2016-11-02 17:09:58 +02:00 committed by Stephen Hemminger
parent 878dadc79d
commit d9c3995ab7
2 changed files with 1 additions and 11 deletions

View File

@ -23,8 +23,6 @@ flower \- flow based traffic control filter
.R " | { "
.BR dst_mac " | " src_mac " } "
.IR mac_address " | "
.BR eth_type " { " ipv4 " | " ipv6 " | " 802.1Q " | "
.IR ETH_TYPE " } | "
.B vlan_id
.IR VID " | "
.B vlan_prio
@ -75,13 +73,6 @@ Do not process filter by hardware.
.BI src_mac " mac_address"
Match on source or destination MAC address.
.TP
.BI eth_type " ETH_TYPE"
Match on the next protocol.
.I ETH_TYPE
may be either
.BR ipv4 , ipv6 , 802.1Q ,
or an unsigned 16bit value in hexadecimal format.
.TP
.BI vlan_id " VID"
Match on vlan tag id.
.I VID

View File

@ -36,7 +36,6 @@ static void explain(void)
fprintf(stderr, " vlan_ethtype [ ipv4 | ipv6 | ETH-TYPE ] |\n");
fprintf(stderr, " dst_mac MAC-ADDR |\n");
fprintf(stderr, " src_mac MAC-ADDR |\n");
fprintf(stderr, " [ipv4 | ipv6 ] |\n");
fprintf(stderr, " ip_proto [tcp | udp | IP-PROTO ] |\n");
fprintf(stderr, " dst_ip [ IPV4-ADDR | IPV6-ADDR ] |\n");
fprintf(stderr, " src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n");
@ -45,7 +44,7 @@ static void explain(void)
fprintf(stderr, " FILTERID := X:Y:Z\n");
fprintf(stderr, " ACTION-SPEC := ... look at individual actions\n");
fprintf(stderr, "\n");
fprintf(stderr, "NOTE: CLASSID, ETH-TYPE, IP-PROTO are parsed as hexadecimal input.\n");
fprintf(stderr, "NOTE: CLASSID, IP-PROTO are parsed as hexadecimal input.\n");
fprintf(stderr, "NOTE: There can be only used one mask per one prio. If user needs\n");
fprintf(stderr, " to specify different mask, he has to use different prio.\n");
}