netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nfp bpf offload add/replace
@ 2017-09-07  9:10 Jiri Pirko
  2017-09-07 13:44 ` Jakub Kicinski
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Pirko @ 2017-09-07  9:10 UTC (permalink / raw)
  To: kubakici; +Cc: netdev, mlxsw

Hi Kuba.

I'm looking into cls_bpf code and nfp_net_bpf_offload function in your
driver. Why do you need TC_CLSBPF_ADD? Seems like TC_CLSBPF_REPLACE
should be enough. It would make the cls_bpf code easier.

Note that other cls just have replace/destroy (u32 too, as drivers
handle NEW/REPLACE in one switch-case - will patch this).

Thanks!

Jiri

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-07 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-07  9:10 nfp bpf offload add/replace Jiri Pirko
2017-09-07 13:44 ` Jakub Kicinski
2017-09-07 14:05   ` Jiri Pirko
2017-09-07 16:52     ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).