Re: rtnetlink problems with Cisco enic and VFs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 22 Apr 2014 19:14:04 +0000
"Christian Benvenuti (benve)" <benve@xxxxxxxxx> wrote:

> David,
> 
> > -----Original Message-----
> > From: David Gibson [mailto:dgibson@xxxxxxxxxx]
> > Sent: Monday, April 21, 2014 9:14 PM
> > To: netdev@xxxxxxxxxxxxxxx
> > Cc: Christian Benvenuti (benve); Sujith Sankar (ssujith); Govindarajulu
> > Varadarajan; Neel Patel (neepatel); Nishank Trivedi
> > Subject: RFC: rtnetlink problems with Cisco enic and VFs
> > 
> > I believe I've found a problem with netlink handling which can be triggered
> > on Cisco enic devices with a large number (30-40) of virtual functions.  I
> > believe this is the cause of a real customer problem we've seen.
> > 
> >  * When requesting a list of interfaces with RTM_GETLINK, enic devices
> >    (and currently, _only_ enic devices) report IFLA_VF_PORTS
> >    information
> 
> Is the fact that Enic is the only driver implementing ndo_get_vf_port [1]
> the root cause of the problem and the reason why this happens only with Enic?

Yes, or at least it's one of the factors.

> 
> /Chris
> 
> [1]
> This is what makes rtnl_port_size to account for vf_port_size*dev_num_vf(...)
> and rtnl_port_fill to add IFLA_VF_PORTS.

-- 
David Gibson <dgibson@xxxxxxxxxx>

Attachment: pgp75X8nbWoap.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Discussion]     [TCP Instrumentation]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux WPAN Networking]     [Linux Host AP]     [Linux WPAN Networking]     [Linux Bluetooth Networking]     [Linux ATH6KL Networking]     [Linux Networking Users]     [Linux Coverity]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux IDE]     [Linux RAID]     [Linux SCSI]