sqm-scripts icon indicating copy to clipboard operation
sqm-scripts copied to clipboard

matchall support

Open dtaht opened this issue 2 years ago • 3 comments

I do not know how long this facility has existed, but man tc-matchall showed

EXAMPLES To create ingress mirroring from port eth1 to port eth2:

          tc qdisc  add dev eth1 handle ffff: ingress
          tc filter add dev eth1 parent ffff:           \
                  matchall skip_sw                      \
                  action mirred egress mirror           \
                  dev eth2

dtaht avatar Feb 12 '23 00:02 dtaht

IIRC, the reason we're not using it is that there is (was?) OpenWrt versions where it does not exist...

tohojo avatar Feb 12 '23 07:02 tohojo

Is it faster? Does the offload help any?

dtaht avatar Feb 12 '23 14:02 dtaht

Theoretically, but I doubt it's much. And no, only if we offload cake as well :)

On 12 February 2023 15:41:25 CET, "Dave Täht" @.***> wrote:

Is it faster? Does the offload help any?

tohojo avatar Feb 12 '23 17:02 tohojo