[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190219165745.676097a3@carbon>
Date: Tue, 19 Feb 2019 16:57:45 +0100
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: netdev@...r.kernel.org, Daniel Borkmann <borkmann@...earbox.net>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
brouer@...hat.com
Subject: Re: [PATCH bpf-next] bpf: add skb->queue_mapping write access from
tc clsact
On Tue, 19 Feb 2019 12:46:57 +0100
Daniel Borkmann <daniel@...earbox.net> 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
Powered by blists - more mailing lists