On Tue, Jun 24, 2014 at 4:42 PM, Bob Biloxi <iambobbiloxi@xxxxxxxxx> wrote: > > > Not really, but let's take EIM approach, what's your goal/mission? > Let's say I am going through code to understand only the PF related > functionality without bothering about VF, what are the things I need > to keep in mind. I see, by the nature of the mlx4 SRIOV architecture under which there's no dedicated/separated PF vs VF driver, this is indeed a non-trivial task, need to think how to make it easier for you Or. > > I mean do i need to : > > a. Go through all the files in mlx4 > b. If the code is not specifically under mlx4_is_master, I still need > to understand it because it is also part of PF driver > c. I can ignore the logic which executes if mlx4_is_master is false, > because that would be the VF code > > Thanks for the help!! > > > > > On Mon, Jun 23, 2014 at 5:30 PM, Or Gerlitz <or.gerlitz@xxxxxxxxx> wrote: > > On Mon, Jun 23, 2014 at 12:33 PM, Bob Biloxi <iambobbiloxi@xxxxxxxxx> wrote: > > [...] > >> Is there any way we can clearly separate the files that are used by PF > >> vs the files that are used by VF in the (drivers/net/ethernet/mlx4 > >> sub-directory)? > > [...] > > > > Not really, but let's take EIM approach, what's your goal/mission? > > > > Or. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html