Re: phys_port_id in switchdev mode?

2018-09-05 Thread Jakub Kicinski
On Wed, 5 Sep 2018 09:20:43 -0700, Samudrala, Sridhar wrote: > > With this libvirt on Host0 should easily find the actual PF0 netdev to > > run the NDO on, if it wants to use VFs: > > - libvrit finds act VF0/0 to plug into the VF; > > - reads its phys_port_id -> "PF0 SN"; > > - finds netdev

Re: phys_port_id in switchdev mode?

2018-09-05 Thread Jakub Kicinski
On Tue, 4 Sep 2018 23:37:29 +0300, Or Gerlitz wrote: > On Tue, Sep 4, 2018 at 1:20 PM, Jakub Kicinski wrote: > > On Mon, 3 Sep 2018 12:40:22 +0300, Or Gerlitz wrote: > >> On Tue, Aug 28, 2018 at 9:05 PM, Jakub Kicinski wrote: > >> > Hi! > >> > >> Hi Jakub and sorry for the late reply, this

Re: phys_port_id in switchdev mode?

2018-09-05 Thread Samudrala, Sridhar
On 9/4/2018 3:20 AM, Jakub Kicinski wrote: On Mon, 3 Sep 2018 12:40:22 +0300, Or Gerlitz wrote: On Tue, Aug 28, 2018 at 9:05 PM, Jakub Kicinski wrote: Hi! Hi Jakub and sorry for the late reply, this crazigly hot summer refuses to die, Note I replied couple of minutes ago but it didn't get to

Re: phys_port_id in switchdev mode?

2018-09-04 Thread Or Gerlitz
On Tue, Sep 4, 2018 at 1:20 PM, Jakub Kicinski wrote: > On Mon, 3 Sep 2018 12:40:22 +0300, Or Gerlitz wrote: >> On Tue, Aug 28, 2018 at 9:05 PM, Jakub Kicinski wrote: >> > Hi! >> >> Hi Jakub and sorry for the late reply, this crazigly hot summer refuses to >> die, >> >> Note I replied couple of

Re: phys_port_id in switchdev mode?

2018-09-04 Thread Jakub Kicinski
On Mon, 3 Sep 2018 12:40:22 +0300, Or Gerlitz wrote: > On Tue, Aug 28, 2018 at 9:05 PM, Jakub Kicinski wrote: > > Hi! > > Hi Jakub and sorry for the late reply, this crazigly hot summer refuses to > die, > > Note I replied couple of minutes ago but it didn't get to the list, so > lets take it

Re: phys_port_id in switchdev mode?

2018-09-03 Thread Marcelo Ricardo Leitner
On Sat, Sep 01, 2018 at 01:34:12PM +0200, Jakub Kicinski wrote: > On Fri, 31 Aug 2018 17:13:22 -0300, Marcelo Ricardo Leitner wrote: > > On Tue, Aug 28, 2018 at 08:43:51PM +0200, Jakub Kicinski wrote: > > > Ugh, CC: netdev.. > > > > > > On Tue, 28 Aug 2018 20:05:39 +0200, Jakub Kicinski wrote:

Re: phys_port_id in switchdev mode?

2018-09-03 Thread Or Gerlitz
On Fri, Aug 31, 2018 at 11:13 PM, Marcelo Ricardo Leitner wrote: > On Tue, Aug 28, 2018 at 08:43:51PM +0200, Jakub Kicinski wrote: >> Ugh, CC: netdev.. >> >> On Tue, 28 Aug 2018 20:05:39 +0200, Jakub Kicinski wrote: >> > Hi! >> > >> > I wonder if we can use phys_port_id in switchdev to group

Re: phys_port_id in switchdev mode?

2018-09-03 Thread Or Gerlitz
On Tue, Aug 28, 2018 at 9:05 PM, Jakub Kicinski wrote: > Hi! Hi Jakub and sorry for the late reply, this crazigly hot summer refuses to die, Note I replied couple of minutes ago but it didn't get to the list, so lets take it from this one: > I wonder if we can use phys_port_id in switchdev to

Re: phys_port_id in switchdev mode?

2018-09-01 Thread Jakub Kicinski
On Fri, 31 Aug 2018 17:13:22 -0300, Marcelo Ricardo Leitner wrote: > On Tue, Aug 28, 2018 at 08:43:51PM +0200, Jakub Kicinski wrote: > > Ugh, CC: netdev.. > > > > On Tue, 28 Aug 2018 20:05:39 +0200, Jakub Kicinski wrote: > > > Hi! > > > > > > I wonder if we can use phys_port_id in switchdev to

Re: phys_port_id in switchdev mode?

2018-08-31 Thread Marcelo Ricardo Leitner
On Tue, Aug 28, 2018 at 08:43:51PM +0200, Jakub Kicinski wrote: > Ugh, CC: netdev.. > > On Tue, 28 Aug 2018 20:05:39 +0200, Jakub Kicinski wrote: > > Hi! > > > > I wonder if we can use phys_port_id in switchdev to group together > > interfaces of a single PCI PF? Here is the problem: On

Re: phys_port_id in switchdev mode?

2018-08-28 Thread Jakub Kicinski
Ugh, CC: netdev.. On Tue, 28 Aug 2018 20:05:39 +0200, Jakub Kicinski wrote: > Hi! > > I wonder if we can use phys_port_id in switchdev to group together > interfaces of a single PCI PF? Here is the problem: > > With a mix of PF and VF interfaces it gets increasingly difficult to > figure out