Subject: Re: [PATCH bpf-next] bpf: add skb->queue_mapping write access from tc clsact

From: Jesper Dangaard Brouer <[email-masked]>
Date: Tue, 19 Feb 2019 16:57:45 +0100

On Tue, 19 Feb 2019 12:46:57 +0100
Daniel Borkmann <[email-masked]> wrote:

> > Due to lack of TC examples, lets show howto attach clsact BPF programs:
> > 
> >  # tc qdisc  add     dev ixgbe2 clsact
> >  # tc filter replace dev ixgbe2 egress bpf da obj XXX_kern.o sec tc_qmap2cpu
> >  # tc filter list    dev ixgbe2 egress

Recommending the "replace" is wrong is seems, as does not replace the
existing, but keeps adding more filter entries.

What is the recommended procedure for unloading and loading a newer
version of the BPF TC program?

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer