Subject: Re: [PATCH net-next RFC 00/20] Introducing P4TC

From: Jakub Kicinski <[email-masked]>
Date: Mon, 30 Jan 2023 20:12:24 -0800

On Mon, 30 Jan 2023 19:26:05 -0500 Jamal Hadi Salim wrote:
> > Didn't see this as it was top posted but, the answer is you don't program
> > hardware the ebpf when your underlying target is a MAT.
> >
> > Use devlink for the runtime programming as well, its there to program
> > hardware. This "Devlink is NOT for the runtime programming" is
> > just an artificate of the design here which I disagree with and it feels
> > like many other folks also disagree.
> 
> We are going to need strong justification to use devlink for
> programming the binary interface to begin with

We may disagree on direction, but we should agree status quo / reality.

What John described is what we suggested to Intel to do (2+ years ago),
and what is already implemented upstream. Grep for DDP.

IIRC my opinion back then was that unless kernel has any use for
whatever the configuration exposes - we should stay out of it.

> - see the driver models discussion. 
> 
> And let me get this clear: you are suggesting we
> use it for runtime and redo all that tc ndo and associated infra?