Re: SRIOV switchdev mode BoF minutes

2018-04-18 Thread Andy Gospodarek
On Wed, Apr 18, 2018 at 09:26:34AM -0700, Jakub Kicinski wrote: > On Wed, 18 Apr 2018 11:15:29 -0400, Andy Gospodarek wrote: > > > A similar issue exists on multi-host for PFs, right? If one of the > > > hosts is down do we still show their PF repr? IMHO yes. > > > > I would agree with that as

RE: SRIOV switchdev mode BoF minutes

2018-04-18 Thread Parikh, Neerav
Miller ; Singhai, Anjali > ; Michael Chan ; > Simon Horman ; John Fastabend > ; Saeed Mahameed ; > Jiri Pirko ; Rony Efraim ; Linux > Netdev List > Subject: Re: SRIOV switchdev mode BoF minutes > > On Tue, Apr 17, 2018 at 04:19:15PM -0700, Jakub Kicinski wrote: > > On

Re: SRIOV switchdev mode BoF minutes

2018-04-18 Thread Jakub Kicinski
On Wed, 18 Apr 2018 11:15:29 -0400, Andy Gospodarek wrote: > > A similar issue exists on multi-host for PFs, right? If one of the > > hosts is down do we still show their PF repr? IMHO yes. > > I would agree with that as well. With today's model the VF reps are > created once a PF is put into

Re: SRIOV switchdev mode BoF minutes

2018-04-18 Thread Andy Gospodarek
On Tue, Apr 17, 2018 at 04:19:15PM -0700, Jakub Kicinski wrote: > On Tue, 17 Apr 2018 10:47:00 -0400, Andy Gospodarek wrote: > > There is also a school of thought that the VF reps could be > > pre-allocated on the SmartNIC so that any application processing that > > traffic would sit idle when no t

Re: SRIOV switchdev mode BoF minutes

2018-04-17 Thread Jakub Kicinski
On Tue, 17 Apr 2018 10:47:00 -0400, Andy Gospodarek wrote: > There is also a school of thought that the VF reps could be > pre-allocated on the SmartNIC so that any application processing that > traffic would sit idle when no traffic arrives on the rep, but could > process frames that do arrive whe

Re: SRIOV switchdev mode BoF minutes

2018-04-17 Thread Andy Gospodarek
On Tue, Apr 17, 2018 at 09:46:38AM -0700, Samudrala, Sridhar wrote: > On 4/17/2018 7:47 AM, Andy Gospodarek wrote: > > On Tue, Apr 17, 2018 at 04:58:05PM +0300, Or Gerlitz wrote: > > > On Tue, Apr 17, 2018 at 4:30 PM, Andy Gospodarek > > > wrote: > > > > On Mon, Apr 16, 2018 at 07:08:39PM -0700, S

Re: SRIOV switchdev mode BoF minutes

2018-04-17 Thread Samudrala, Sridhar
On 4/17/2018 7:47 AM, Andy Gospodarek wrote: On Tue, Apr 17, 2018 at 04:58:05PM +0300, Or Gerlitz wrote: On Tue, Apr 17, 2018 at 4:30 PM, Andy Gospodarek wrote: On Mon, Apr 16, 2018 at 07:08:39PM -0700, Samudrala, Sridhar wrote: On 4/16/2018 5:39 AM, Andy Gospodarek wrote: On Sun, Apr 15, 20

Re: SRIOV switchdev mode BoF minutes

2018-04-17 Thread Andy Gospodarek
On Tue, Apr 17, 2018 at 04:58:05PM +0300, Or Gerlitz wrote: > On Tue, Apr 17, 2018 at 4:30 PM, Andy Gospodarek > wrote: > > On Mon, Apr 16, 2018 at 07:08:39PM -0700, Samudrala, Sridhar wrote: > >> > >> On 4/16/2018 5:39 AM, Andy Gospodarek wrote: > >> > On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or

Re: SRIOV switchdev mode BoF minutes

2018-04-17 Thread Or Gerlitz
On Tue, Apr 17, 2018 at 4:30 PM, Andy Gospodarek wrote: > On Mon, Apr 16, 2018 at 07:08:39PM -0700, Samudrala, Sridhar wrote: >> >> On 4/16/2018 5:39 AM, Andy Gospodarek wrote: >> > On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or Gerlitz wrote: >> > > On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridh

Re: SRIOV switchdev mode BoF minutes

2018-04-17 Thread Andy Gospodarek
On Mon, Apr 16, 2018 at 07:08:39PM -0700, Samudrala, Sridhar wrote: > > On 4/16/2018 5:39 AM, Andy Gospodarek wrote: > > On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or Gerlitz wrote: > > > On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridhar > > > wrote: > > > > > > > I meant between PFs on 2 compu

Re: SRIOV switchdev mode BoF minutes

2018-04-16 Thread Samudrala, Sridhar
On 4/16/2018 5:39 AM, Andy Gospodarek wrote: On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or Gerlitz wrote: On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridhar wrote: I meant between PFs on 2 compute nodes. If the PF serves as uplink rep, it functions as a switch port -- applications don't ru

Re: SRIOV switchdev mode BoF minutes

2018-04-16 Thread Andy Gospodarek
On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or Gerlitz wrote: > On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridhar > wrote: > > > I meant between PFs on 2 compute nodes. > > If the PF serves as uplink rep, it functions as a switch port -- applications > don't run on switch ports. One way to get

Re: SRIOV switchdev mode BoF minutes

2018-04-14 Thread Or Gerlitz
On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridhar wrote: > I meant between PFs on 2 compute nodes. If the PF serves as uplink rep, it functions as a switch port -- applications don't run on switch ports. One way to get apps to run on the host in switchdev mode is probe one of the VFs there.

Re: SRIOV switchdev mode BoF minutes

2018-04-13 Thread Samudrala, Sridhar
On 4/13/2018 1:16 PM, Or Gerlitz wrote: On Fri, Apr 13, 2018 at 7:49 PM, Samudrala, Sridhar wrote: On 4/13/2018 1:57 AM, Or Gerlitz wrote: in overlay networks scheme, the uplink rep has the VTEP ip and is not connected to the bridge, e.g you use ovs you have vf reps and vxlan ports connecte

Re: SRIOV switchdev mode BoF minutes

2018-04-13 Thread Or Gerlitz
On Fri, Apr 13, 2018 at 7:49 PM, Samudrala, Sridhar wrote: > On 4/13/2018 1:57 AM, Or Gerlitz wrote: >>> in overlay networks scheme, the uplink rep has the VTEP ip and is not >>> connected >>> to the bridge, e.g you use ovs you have vf reps and vxlan ports connected >>> to ovs and the ip stack

Re: SRIOV switchdev mode BoF minutes

2018-04-13 Thread Samudrala, Sridhar
On 4/13/2018 1:57 AM, Or Gerlitz wrote: On Fri, Apr 13, 2018 at 11:56 AM, Or Gerlitz wrote: On Thu, Apr 12, 2018 at 11:33 PM, Samudrala, Sridhar wrote: On 4/12/2018 1:20 PM, Or Gerlitz wrote: On Thu, Apr 12, 2018 at 8:05 PM, Samudrala, Sridhar wrote: On 11/12/2017 11:49 AM, Or Gerlitz wrot

Re: SRIOV switchdev mode BoF minutes

2018-04-13 Thread Or Gerlitz
On Fri, Apr 13, 2018 at 11:56 AM, Or Gerlitz wrote: > On Thu, Apr 12, 2018 at 11:33 PM, Samudrala, Sridhar > wrote: >> On 4/12/2018 1:20 PM, Or Gerlitz wrote: >>> >>> On Thu, Apr 12, 2018 at 8:05 PM, Samudrala, Sridhar >>> wrote: On 11/12/2017 11:49 AM, Or Gerlitz wrote: > > Hi

Re: SRIOV switchdev mode BoF minutes

2018-04-13 Thread Or Gerlitz
On Thu, Apr 12, 2018 at 11:33 PM, Samudrala, Sridhar wrote: > On 4/12/2018 1:20 PM, Or Gerlitz wrote: >> >> On Thu, Apr 12, 2018 at 8:05 PM, Samudrala, Sridhar >> wrote: >>> >>> On 11/12/2017 11:49 AM, Or Gerlitz wrote: Hi Dave and all, During and after the BoF on SRIOV switch

Re: SRIOV switchdev mode BoF minutes

2018-04-12 Thread Samudrala, Sridhar
On 4/12/2018 1:20 PM, Or Gerlitz wrote: On Thu, Apr 12, 2018 at 8:05 PM, Samudrala, Sridhar wrote: On 11/12/2017 11:49 AM, Or Gerlitz wrote: Hi Dave and all, During and after the BoF on SRIOV switchdev mode, we came into a consensus among the developers from four different HW vendors (CC audi

Re: SRIOV switchdev mode BoF minutes

2018-04-12 Thread Or Gerlitz
On Thu, Apr 12, 2018 at 8:05 PM, Samudrala, Sridhar wrote: > On 11/12/2017 11:49 AM, Or Gerlitz wrote: >> >> Hi Dave and all, >> >> During and after the BoF on SRIOV switchdev mode, we came into a >> consensus among the developers from four different HW vendors (CC >> audience) that a correct thin

Re: SRIOV switchdev mode BoF minutes

2018-04-12 Thread Samudrala, Sridhar
On 11/12/2017 11:49 AM, Or Gerlitz wrote: Hi Dave and all, During and after the BoF on SRIOV switchdev mode, we came into a consensus among the developers from four different HW vendors (CC audience) that a correct thing to do would be to disallow any new extensions to the legacy mode. The idea

Re: SRIOV switchdev mode BoF minutes

2017-11-16 Thread Alexander Duyck
On Thu, Nov 16, 2017 at 9:41 AM, Or Gerlitz wrote: > On Wed, Nov 15, 2017 at 1:05 AM, Alexander Duyck > wrote: >> On Tue, Nov 14, 2017 at 1:50 PM, Or Gerlitz wrote: > >>> all dealing with the sriov e-switch as a HW switch which should >>> be programmed >>> by the host stack according to well kno

Re: SRIOV switchdev mode BoF minutes

2017-11-16 Thread Or Gerlitz
On Wed, Nov 15, 2017 at 1:05 AM, Alexander Duyck wrote: > On Tue, Nov 14, 2017 at 1:50 PM, Or Gerlitz wrote: >> all dealing with the sriov e-switch as a HW switch which should >> be programmed >> by the host stack according to well known industry models that apply >> on physical switches, e.g >>

Re: SRIOV switchdev mode BoF minutes

2017-11-15 Thread Alexander Duyck
On Tue, Nov 14, 2017 at 8:02 PM, Jakub Kicinski wrote: > On Tue, 14 Nov 2017 19:04:36 -0800, Alexander Duyck wrote: >> On Tue, Nov 14, 2017 at 3:36 PM, Jakub Kicinski >> wrote: >> > On Tue, 14 Nov 2017 15:05:08 -0800, Alexander Duyck wrote: >> >> >> We basically need to do some feasability resear

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Jakub Kicinski
On Tue, 14 Nov 2017 19:04:36 -0800, Alexander Duyck wrote: > On Tue, Nov 14, 2017 at 3:36 PM, Jakub Kicinski > wrote: > > On Tue, 14 Nov 2017 15:05:08 -0800, Alexander Duyck wrote: > >> >> We basically need to do some feasability research to see if we can > >> >> actually meet all the requiremen

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Alexander Duyck
On Tue, Nov 14, 2017 at 3:36 PM, Jakub Kicinski wrote: > On Tue, 14 Nov 2017 15:05:08 -0800, Alexander Duyck wrote: >> >> We basically need to do some feasability research to see if we can >> >> actually meet all the requirements for switchdev on i40e. We have been >> >> getting mixed messages whe

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Jakub Kicinski
On Tue, 14 Nov 2017 15:05:08 -0800, Alexander Duyck wrote: > >> We basically need to do some feasability research to see if we can > >> actually meet all the requirements for switchdev on i40e. We have been > >> getting mixed messages where we are given a great many "yes, but" type > >> answers. Fo

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Jakub Kicinski
On Tue, 14 Nov 2017 12:00:32 -0800, Alexander Duyck wrote: > On Tue, Nov 14, 2017 at 8:44 AM, Or Gerlitz wrote: > > On Mon, Nov 13, 2017 at 7:10 PM, Alexander Duyck wrote: > >> On Sun, Nov 12, 2017 at 10:16 PM, Or Gerlitz wrote: > > Lets focus on this point for a moment before discussing the ot

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Alexander Duyck
On Tue, Nov 14, 2017 at 1:50 PM, Or Gerlitz wrote: > On Tue, Nov 14, 2017 at 10:00 PM, Alexander Duyck > wrote: >> On Tue, Nov 14, 2017 at 8:44 AM, Or Gerlitz wrote: >>> On Mon, Nov 13, 2017 at 7:10 PM, Alexander Duyck >>> wrote: On Sun, Nov 12, 2017 at 10:16 PM, Or Gerlitz wrote: > O

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Or Gerlitz
On Tue, Nov 14, 2017 at 10:00 PM, Alexander Duyck wrote: > On Tue, Nov 14, 2017 at 8:44 AM, Or Gerlitz wrote: >> On Mon, Nov 13, 2017 at 7:10 PM, Alexander Duyck >> wrote: >>> On Sun, Nov 12, 2017 at 10:16 PM, Or Gerlitz wrote: On Sun, Nov 12, 2017 at 10:38 PM, Alexander Duyck >> The

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Alexander Duyck
On Tue, Nov 14, 2017 at 8:44 AM, Or Gerlitz wrote: > On Mon, Nov 13, 2017 at 7:10 PM, Alexander Duyck > wrote: >> On Sun, Nov 12, 2017 at 10:16 PM, Or Gerlitz wrote: >>> On Sun, Nov 12, 2017 at 10:38 PM, Alexander Duyck > >>> The what we call slow path requirements are the following: >>> >>> 1.

Re: SRIOV switchdev mode BoF minutes

2017-11-14 Thread Or Gerlitz
On Mon, Nov 13, 2017 at 7:10 PM, Alexander Duyck wrote: > On Sun, Nov 12, 2017 at 10:16 PM, Or Gerlitz wrote: >> On Sun, Nov 12, 2017 at 10:38 PM, Alexander Duyck >> The what we call slow path requirements are the following: >> >> 1. xmit on VF rep always turns to a receive on the VF, regardless

Re: SRIOV switchdev mode BoF minutes

2017-11-13 Thread Alexander Duyck
On Sun, Nov 12, 2017 at 10:16 PM, Or Gerlitz wrote: > On Sun, Nov 12, 2017 at 10:38 PM, Alexander Duyck > wrote: >> On Sun, Nov 12, 2017 at 11:49 AM, Or Gerlitz wrote: >>> Hi Dave and all, >>> >>> During and after the BoF on SRIOV switchdev mode, we came into a >>> consensus among the developers

Re: SRIOV switchdev mode BoF minutes

2017-11-12 Thread Or Gerlitz
On Sun, Nov 12, 2017 at 10:38 PM, Alexander Duyck wrote: > On Sun, Nov 12, 2017 at 11:49 AM, Or Gerlitz wrote: >> Hi Dave and all, >> >> During and after the BoF on SRIOV switchdev mode, we came into a >> consensus among the developers from four different HW vendors (CC >> audience) that a correc

Re: SRIOV switchdev mode BoF minutes

2017-11-12 Thread Alexander Duyck
On Sun, Nov 12, 2017 at 11:49 AM, Or Gerlitz wrote: > Hi Dave and all, > > During and after the BoF on SRIOV switchdev mode, we came into a > consensus among the developers from four different HW vendors (CC > audience) that a correct thing to do would be to disallow any new > extensions to the le

SRIOV switchdev mode BoF minutes

2017-11-12 Thread Or Gerlitz
Hi Dave and all, During and after the BoF on SRIOV switchdev mode, we came into a consensus among the developers from four different HW vendors (CC audience) that a correct thing to do would be to disallow any new extensions to the legacy mode. The idea is to put focus on the new mode and not add