Re: [dpdk-dev] [PATCH v2] net/tap: fix eBPF handling of non-RSS flows

2018-02-05 Thread Ferruh Yigit
On 2/5/2018 2:51 PM, Pascal Mazon wrote: > On 05/02/2018 15:40, Ophir Munk wrote: >> The eBPF classifier (section "cls_q" in tap_bpf_program.c) is tracing >> marked packets in which skb->cb[1] contains an RSS queue number, and >> redirects those packets to the matched queue. >> It is expected that

Re: [dpdk-dev] [PATCH v2] net/tap: fix eBPF handling of non-RSS flows

2018-02-05 Thread Pascal Mazon
The mitigation is good enough, random packets are more likely to have cb[1] == 0 than something above 7cafe800. Acked-by: Pascal Mazon On 05/02/2018 15:40, Ophir Munk wrote: > The eBPF classifier (section "cls_q" in tap_bpf_program.c) is tracing > marked packets in which skb->cb[1] contains an R

[dpdk-dev] [PATCH v2] net/tap: fix eBPF handling of non-RSS flows

2018-02-05 Thread Ophir Munk
The eBPF classifier (section "cls_q" in tap_bpf_program.c) is tracing marked packets in which skb->cb[1] contains an RSS queue number, and redirects those packets to the matched queue. It is expected that skb->cb[1] has been previously set with a valid RSS queue number during an eBPF action (sectio