[ovs-dev] [PATCH] Documentation: Fix DPDK qos example.

William Tu u9012063 at gmail.com
Wed Feb 17 17:41:58 UTC 2021


>
> >>  Information Rate). High priority traffic is routed to queue 10,
> >> which marks
> >>  all traffic as CIR, i.e. Green. All low priority traffic, queue 20,
> >> is
> >>  marked as EIR, i.e. Yellow::
> >>
> >>      $ ovs-vsctl --timeout=5 set port dpdk1 qos=@myqos -- \
> >>          --id=@myqos create qos type=trtcm-policer \
> >> -        other-config:cir=52000 other-config:cbs=2048 \
> >> -        other-config:eir=52000 other-config:ebs=2048  \
>
> 52000 is fine as our documentation states cir, eir are in bytes per
> second, minus the ethernet header.
> So (64-12) * 1000 = 52000

How come it's not minus 14-byte ethernet header?

the rest looks good to me. Thanks!
William


More information about the dev mailing list