Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1545742 > unrolled thread

Re: [RFC PATCH 5/7] Multiple VF's grouped together under single physical port called PF group PF Group maintainance API's

Started bySunil Kovvuri <sunil.kovvuri@gmail.com>
First post2016-12-21 13:50 +0100
Last post2016-12-26 15:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH 5/7] Multiple VF's grouped together under single  physical port called PF group PF Group maintainance API's Sunil Kovvuri <sunil.kovvuri@gmail.com> - 2016-12-21 13:50 +0100
    RE: [RFC PATCH 5/7] Multiple VF's grouped together under single  physical port called PF group PF Group maintainance API's "Koteshwar Rao, Satha" <Satha.Rao@cavium.com> - 2016-12-26 15:20 +0100

#1545742 — Re: [RFC PATCH 5/7] Multiple VF's grouped together under single physical port called PF group PF Group maintainance API's

FromSunil Kovvuri <sunil.kovvuri@gmail.com>
Date2016-12-21 13:50 +0100
SubjectRe: [RFC PATCH 5/7] Multiple VF's grouped together under single physical port called PF group PF Group maintainance API's
Message-ID<sQOvg-3vJ-13@gated-at.bofh.it>
On Wed, Dec 21, 2016 at 2:16 PM, Satha Koteswara Rao
<satha.rao@caviumnetworks.com> wrote:
> +struct tns_global_st {
> +       u64 magic;
> +       char     version[16];
> +       u64 reg_cnt;
> +       struct table_static_s tbl_info[TNS_MAX_TABLE];
> +};
> +
> +#define PF_COUNT 3
> +#define PF_1   0
> +#define PF_2   64
> +#define PF_3   96
> +#define PF_END 128

Some comments please ... what is 0, 64, 96 ??
You can read PCI_SRIOV_TOTAL_VF from PCI config space instead of
defining PF_END with 128.

[toc] | [next] | [standalone]


#1547322

From"Koteshwar Rao, Satha" <Satha.Rao@cavium.com>
Date2016-12-26 15:20 +0100
Message-ID<sSEi5-5Pl-1@gated-at.bofh.it>
In reply to#1545742
Thanks for suggestion. Will clean up code in next revision

Thanks,
Satha

-----Original Message-----
From: Sunil Kovvuri [mailto:sunil.kovvuri@gmail.com] 
Sent: Wednesday, December 21, 2016 4:44 AM
To: Koteshwar Rao, Satha
Cc: LKML; Goutham, Sunil; Robert Richter; David S. Miller; Daney, David; Vatsavayi, Raghu; Chickles, Derek; Romanov, Philip; Linux Netdev List; LAKML
Subject: Re: [RFC PATCH 5/7] Multiple VF's grouped together under single physical port called PF group PF Group maintainance API's

On Wed, Dec 21, 2016 at 2:16 PM, Satha Koteswara Rao <satha.rao@caviumnetworks.com> wrote:
> +struct tns_global_st {
> +       u64 magic;
> +       char     version[16];
> +       u64 reg_cnt;
> +       struct table_static_s tbl_info[TNS_MAX_TABLE]; };
> +
> +#define PF_COUNT 3
> +#define PF_1   0
> +#define PF_2   64
> +#define PF_3   96
> +#define PF_END 128

Some comments please ... what is 0, 64, 96 ??
You can read PCI_SRIOV_TOTAL_VF from PCI config space instead of defining PF_END with 128.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web