Thread (15 messages) flat view 15 messages, 5 authors, 2017-01-08

Re: [PATCH net-next 4/7] devlink: Add E-Switch inline mode control

From: Or Gerlitz <hidden>
Date: 2017-01-08 10:49:29

On 1/8/2017 12:29 PM, Jiri Pirko wrote:
Mon, Nov 21, 2016 at 02:05:58PM CET, saeedm@mellanox.com wrote:
quoted
From: Roi Dayan <redacted>

Some HWs need the VF driver to put part of the packet headers on the
TX descriptor so the e-switch can do proper matching and steering.
Could you please elaborate a bit about possible use-cases for different
modes? Thanks.
As written in the change log, some HW models have this requirement that 
the header set you want eswitch matching on (e.g L2/L3) is present as MD 
on the xmit DMA descriptor.

To address these requirements, following the admin devlink directive the 
FW advertizes that
to the VF, they are doing so in their xmit logic and the host driver 
enforces that the VF has the proper inline mode before we are willing to 
offload eswitch matching rules. If the VF doesn't obey to the 
requirement the packets are dropped by HW.

Or.

Or.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help