On Thu, Dec 6, 2018 at 2:41 PM Jiri Pirko wrote:
>
> Thu, Dec 06, 2018 at 09:57:05AM CET, michael.c...@broadcom.com wrote:
> >On Wed, Dec 5, 2018 at 11:11 PM Jakub Kicinski
> > wrote:
> >>
> >> On Wed, 5 Dec 2018 22:41:43 -0800, Michael Chan wrote:
> >> >
> >> > It will be in the BIOS only for a
5, 2018 at 06:56:54AM CET, vasundhara-v.vo...@broadcom.com wrote:
> >> >Add functions to register and unregister for the driver supported
> >> >configuration parameters table per port.
> >> >
> >> >Cc: Jiri Pirko
> >> >Signed-off-by: Vasundh
; >
> >Cc: Jiri Pirko
> >Signed-off-by: Vasundhara Volam
> >---
> > include/net/devlink.h | 29 +++
> > net/core/devlink.c| 130
> > ++
> > 2 files changed, 151 insertions(+), 8 deletions(-)
pin upon reception of
WoL packet. ACPI (Advanced Configuration and Power Interface) is
an industry specification for the efficient handling of power
consumption in desktop and mobile computers.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt.h
cmode permanent value false
# devlink port param set pci/:3b:00.0/0 name wake-on-lan cmode permanent
value true
Vasundhara Volam (7):
devlink: Add devlink_param for port register and unregister
devlink: Add port param get command
devlink: Add port param set command
devlink: Add
for the efficient handling of power
consumption in desktop and mobile computers.
Cc: Jiri Pirko
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 17 +
net/core/devlink.c| 8 +++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/include/net/devlink.h b/include
Pirko
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h| 9
include/uapi/linux/devlink.h | 2 +
net/core/devlink.c | 97
3 files changed, 83 insertions(+), 25 deletions(-)
diff --git a/include/net/devlink.h b/include
ommon code to __devlink_param_driverinit_value_get/set()
to be used by both device and port params.
Cc: Jiri Pirko
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 19
net/core/devlink.c| 118 +++---
2 files changed, 112
Add port param set command to set the value for a parameter.
Value can be set to any of the supported configuration modes.
Cc: Jiri Pirko
Signed-off-by: Vasundhara Volam
---
include/uapi/linux/devlink.h | 1 +
net/core/devlink.c | 41 ++---
2
Add port param get command which gets data per parameter.
It also has option to dump the parameters data per port.
Cc: Jiri Pirko
Signed-off-by: Vasundhara Volam
---
include/uapi/linux/devlink.h | 2 +
net/core/devlink.c | 102 ---
2 files
Add functions to register and unregister for the driver supported
configuration parameters table per port.
Cc: Jiri Pirko
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 29 +++
net/core/devlink.c| 130 ++
2 files changed
On Tue, Oct 9, 2018 at 11:51 AM Saeed Mahameed wrote:
>
> On Thu, 2018-10-04 at 11:13 +0530, Vasundhara Volam wrote:
> > This patch adds a new file to add information about some of the
> > generic configuration parameters set via devlink.
> >
> > Cc: "David
msix_vec_per_pf_max - This param sets the number of MSIX vectors
that the device requests from the host on driver initialization.
This value is set in the device which is applicable per PF.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net
same number
of partitions when platform does not support ARI capability.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 ++
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/drivers
msix_vec_per_pf_min - This param sets the number of minimal MSIX
vectors required for the device initialization. This value is set
in the device which limits MSIX vectors per PF.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net/core
Return proper error code when Firmware returns
HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED for HWRM_NVM_GET/SET_VARIABLE
commands.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 50 ++-
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 5 +++
2 files changed, 53 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
b/drivers/net/ethernet
This patch adds a new file to add information about some of the
generic configuration parameters set via devlink.
Cc: "David S. Miller"
Cc: Jonathan Corbet
Cc: linux-...@vger.kernel.org
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
Documentation/networki
This patch adds a new file to add information about configuration
parameters that are supported by bnxt_en driver via devlink.
Cc: "David S. Miller"
Cc: Jonathan Corbet
Cc: linux-...@vger.kernel.org
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
Documentation/
ignore_ari - Device ignores ARI(Alternate Routing ID) capability,
even when platforms has the support and creates same number of
partitions when platform does not support ARI capability.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net
This patch adds following driver-specific permanent mode boolean
parameter.
gre_ver_check - Generic Routing Encapsulation(GRE) version check
will be enabled in the device. If disabled, device skips version
checking for GRE packets.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers
formation that are supported by bnxt_en driver.
Vasundhara Volam (9):
devlink: Add generic parameter ignore_ari
devlink: Add generic parameter msix_vec_per_pf_max
devlink: Add generic parameter msix_vec_per_pf_min
bnxt_en: Use ignore_ari devlink parameter
bnxt_en: return proper error when F
> >> wrote:
> >> >This patch adds a new file to add information about configuration
> >> >parameters that are supported by bnxt_en driver via devlink.
> >> >
> >> >Cc: "David S. Miller"
> >> >Cc: Jonathan Corbet
>
On Sun, Sep 30, 2018 at 2:53 AM Or Gerlitz wrote:
>
> On Fri, Sep 28, 2018 at 9:30 AM Vasundhara Volam
> wrote:
> > This patch adds support for ignore_ari generic permanent mode
> > devlink parameter. This parameter is disabled by default. It can be
> > enabled u
> >Cc: "David S. Miller"
> >Cc: Jonathan Corbet
> >Cc: linux-...@vger.kernel.org
> >Cc: Jiri Pirko
> >Cc: Michael Chan
> >Signed-off-by: Vasundhara Volam
> >---
> > Documentation/networking/devlink-params-bnxt.txt | 22 ++
-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 50 ++-
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 5 +++
2 files changed, 53 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
b/drivers/net/ethernet
This patch adds a new file to add information about some of the
generic configuration parameters set via devlink.
Cc: "David S. Miller"
Cc: Jonathan Corbet
Cc: linux-...@vger.kernel.org
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
Documentation/networki
msix_vec_per_pf_max - This param sets the number of MSIX vectors
that the device requests from the host on driver initialization.
This value is set in the device which is applicable per PF.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net
same number
of partitions when platform does not support ARI capability.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 ++
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 2 ++
2 files changed, 8 insertions(+)
diff --git
ignore_ari - Device ignores ARI(Alternate Routing ID) capability,
even when platforms has the support and creates same number of
partitions when platform does not support ARI capability.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net
msix_vec_per_pf_min - This param sets the number of minimal MSIX
vectors required for the device initialization. This value is set
in the device which limits MSIX vectors per PF.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net/core
This patch adds a new file to add information about configuration
parameters that are supported by bnxt_en driver via devlink.
Cc: "David S. Miller"
Cc: Jonathan Corbet
Cc: linux-...@vger.kernel.org
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
Documentation/
This patch adds following driver-specific permanent mode boolean
parameter.
gre_ver_check - Generic Routing Encapsulation(GRE) version check
will be enabled in the device. If disabled, device skips version
checking for GRE packets.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers
Return proper error code when Firmware returns
HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED for HWRM_NVM_GET/SET_VARIABLE
commands.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
h some
generic devlink parameters information.
-Add a new Documentation/networking/devlink-params-bnxt.txt with devlink
parameters information that are supported by bnxt_en driver.
Vasundhara Volam (9):
devlink: Add generic parameter ignore_ari
devlink: Add generic parameter msix_vec_per_
On Mon, Sep 24, 2018 at 10:11 PM Jakub Kicinski
wrote:
>
> On Mon, 24 Sep 2018 10:46:12 +0530, Vasundhara Volam wrote:
> > This patchset adds support for 3 generic and 1 driver-specific devlink
> > parameters. Add documentation for these configuration parameters.
> >
>
On Mon, Sep 24, 2018 at 9:54 PM Jakub Kicinski
wrote:
>
> On Mon, 24 Sep 2018 10:46:21 +0530, Vasundhara Volam wrote:
> > This patch adds a new file to add information about configuration
> > parameters that are supported by bnxt_en driver via devlink.
> >
> >
This patch adds following driver-specific permanent mode boolean
parameter.
gre_ver_check - Generic Routing Encapsulation(GRE) version check
will be enabled in the device. If disabled, device skips version
checking for GRE packets.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers
same number
of partitions when platform does not support ARI capability.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 ++
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 2 ++
2 files changed, 8 insertions(+)
diff --git
ignore_ari - Device ignores ARI(Alternate Routing ID) capability,
even when platforms has the support and creates same number of
partitions when platform does not support ARI capability.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net
msix_vec_per_pf_min - This param sets the number of minimal MSIX
vectors required for the device initialization. This value is set
in the device which limits MSIX vectors per PF.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net/core
msix_vec_per_pf_max - This param sets the number of MSIX vectors
that the device requests from the host on driver initialization.
This value is set in the device which is applicable per PF.
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net
This patch adds a new file to add information about configuration
parameters that are supported by bnxt_en driver via devlink.
Cc: "David S. Miller"
Cc: Jonathan Corbet
Cc: linux-...@vger.kernel.org
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
Doc
This patch adds a new file to add information about some of the
generic configuration parameters set via devlink.
Cc: "David S. Miller"
Cc: Jonathan Corbet
Cc: linux-...@vger.kernel.org
Cc: Jiri Pirko
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
Documentation/networki
-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 50 ++-
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 5 +++
2 files changed, 53 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
b/drivers/net/ethernet
ink-params-bnxt_en.txt with devlink
parameters information that are supported by bnxt_en driver.
Vasundhara Volam (9):
devlink: Add generic parameter ignore_ari
devlink: Add generic parameter msix_vec_per_pf_max
devlink: Add generic parameter msix_vec_per_pf_min
bnxt_en: Use ignore_ari devl
Return proper error code when Firmware returns
HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED for HWRM_NVM_GET/SET_VARIABLE
commands.
Cc: Michael Chan
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
On Wed, Sep 12, 2018 at 3:20 PM Jakub Kicinski
wrote:
>
> On Wed, 12 Sep 2018 12:09:37 +0530, Vasundhara Volam wrote:
> > On Tue, Sep 11, 2018 at 5:04 PM Jakub Kicinski wrote:
> > > On Tue, 11 Sep 2018 14:14:57 +0530, Vasundhara Volam wrote:
> > > > This patchset
On Tue, Sep 11, 2018 at 5:25 PM Jiri Pirko wrote:
>
> Tue, Sep 11, 2018 at 01:33:51PM CEST, jakub.kicin...@netronome.com wrote:
> >On Tue, 11 Sep 2018 14:14:57 +0530, Vasundhara Volam wrote:
> >> This patchset adds support for 4 generic and 1 driver-specific de
On Tue, Sep 11, 2018 at 5:04 PM Jakub Kicinski
wrote:
>
> On Tue, 11 Sep 2018 14:14:57 +0530, Vasundhara Volam wrote:
> > This patchset adds support for 4 generic and 1 driver-specific devlink
> > parameters.
> >
> > Also, this patchset adds support to return proper
On Tue, Sep 11, 2018 at 3:25 PM Jiri Pirko wrote:
>
> Tue, Sep 11, 2018 at 10:44:58AM CEST, vasundhara-v.vo...@broadcom.com wrote:
> >hw_tc_offload - Enable/Disable TC flower offload in the device.
> >
> >Signed-off-by: Vasundhara Volam
> >---
> > include
This patch adds following driver-specific permanent mode boolean
parameter.
gre_ver_check - When this param is disabled, device skips GRE
version check.
Signed-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 24 ++-
drivers/net/ethernet/broadcom
which limits MSIX vectors per PF.
msix_vec_per_pf_min - This param sets the number of minimal MSIX
vectors required for the device initialization. Value 0 indicates
a default value is selected. This value is set in the device which
limits MSIX vectors per PF.
Signed-off-by: Vasundhara Volam
Return proper error code when Firmware returns
HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED for HWRM_NVM_GET/SET_VARIABLE
commands.
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net
when platforms has the support and creates same number of
partitions when platform does not support ARI capability.
Signed-off-by: Vasundhara Volam
---
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 12
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 2 ++
2 files changed
This patchset adds support for 4 generic and 1 driver-specific devlink
parameters.
Also, this patchset adds support to return proper error code if
HWRM_NVM_GET/SET_VARIABLE commands return error code
HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED.
Vasundhara Volam (8):
devlink: Add generic parameter
hw_tc_offload - Enable/Disable TC flower offload in the device.
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net/core/devlink.c| 5 +
2 files changed, 9 insertions(+)
diff --git a/include/net/devlink.h b/include/net/devlink.h
index b9b89d6..a0e9ce9 100644
msix_vec_per_pf_min - This param sets the number of minimal MSIX
vectors required for the device initialization. This value is set
in the device which limits MSIX vectors per PF.
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net/core/devlink.c| 5 +
2 files changed
msix_vec_per_pf_max - This param sets the number of MSIX vectors
that the device requests from the host on driver initialization.
This value is set in the device which is applicable per PF.
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net/core/devlink.c| 5 +
2
ignore_ari - Device ignores ARI(Alternate Routing ID) capability,
even when platforms has the support and creates same number of
partitions when platform does not support ARI capability.
Signed-off-by: Vasundhara Volam
---
include/net/devlink.h | 4
net/core/devlink.c| 5 +
2 files
Hi Andy,
If you are re-doing the patch, could you modify a minor comment below?
On Sat, Jan 6, 2018 at 4:28 AM, Andy Gospodarek wrote:
> diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c
> b/drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c
> new file mode 100644
>
61 matches
Mail list logo