Re: [net-next PATCH 0/5] be2net: patch set

2016-06-27 Thread David Miller
From: Sathya Perla 
Date: Wed, 22 Jun 2016 08:54:52 -0400

> Hi Dave, pls consider commiting the following patches to the net-next tree.
> Thanks!
> 
> Patch 1 replaces the be_max_eqs() macro with two new macros called
> be_max_nic_eqs() and be_max_func_eqs() to clear confusion in that part
> of the code.
> 
> Patch 2 adds support to configure asymmetric number of rx/tx queues via
> ethtool set-channels option.
> 
> Patch 3 disables EVB when VFs are not enabled on a BE3 SR-IOV config to
> avoid the broadcast echo problem.
> 
> Patch 4 updates copyright markings in be2net src files
> 
> Patch 5 updates the be2net maintainers' list

Series applied, thanks.


[net-next PATCH 0/5] be2net: patch set

2016-06-22 Thread Sathya Perla
Hi Dave, pls consider commiting the following patches to the net-next tree.
Thanks!

Patch 1 replaces the be_max_eqs() macro with two new macros called
be_max_nic_eqs() and be_max_func_eqs() to clear confusion in that part
of the code.

Patch 2 adds support to configure asymmetric number of rx/tx queues via
ethtool set-channels option.

Patch 3 disables EVB when VFs are not enabled on a BE3 SR-IOV config to
avoid the broadcast echo problem.

Patch 4 updates copyright markings in be2net src files

Patch 5 updates the be2net maintainers' list

Sathya Perla (3):
  be2net: fix definition of be_max_eqs()
  be2net: support asymmetric rx/tx queue counts
  be2net: update be2net maintainers list

Somnath Kotur (2):
  be2net: Fix broadcast echoes from EVB in BE3
  be2net: Change copyright markings in source files

 MAINTAINERS|  3 +-
 drivers/net/ethernet/emulex/benet/be.h | 36 +--
 drivers/net/ethernet/emulex/benet/be_cmds.c| 13 +++-
 drivers/net/ethernet/emulex/benet/be_cmds.h|  2 +-
 drivers/net/ethernet/emulex/benet/be_ethtool.c | 31 +++--
 drivers/net/ethernet/emulex/benet/be_main.c| 89 +-
 drivers/net/ethernet/emulex/benet/be_roce.c|  2 +-
 drivers/net/ethernet/emulex/benet/be_roce.h|  2 +-
 8 files changed, 128 insertions(+), 50 deletions(-)

-- 
2.4.1



Re: [PATCH 0/5] be2net: patch set

2015-10-13 Thread David Miller
From: Sathya Perla 
Date: Mon, 12 Oct 2015 03:47:16 -0400

> Patch 1 fixes a FW image compatibility check in the driver that
> prevents certain FW images from being flashed on BE3 (not BE3-R)
> adapters.
> 
> Patch 2 fixes a spin_lock not being released in a failure case in
> be_cmd_notify_wait().
> 
> Patch 3 includes a workaround to pad packets that are only 32b long or less
> to be applicabe to BE3 too. This workaround was currently applied only to
> Skyhawk and Lancer chips. Such packets are causing BE3's TX path to stall
> on a SR-IOV config.
> 
> Patch 4 fixes the be_cmd_get_profile_config() routine to set the pf_num
> field in the cmd request. The FW requires this field to be set for it to
> return the specific function's descriptors. If not set, the FW returns
> the descriptors of all the functions on the device. If the first descriptor
> is not what is being queried for, the driver will read wrong data.
> This patch fixes this issue by using the GET_CNTL_ATTRIB cmd to query the
> real pci_func_num of a function and then uses it in the GET_PROFILE_CONFIG
> cmd.
> 
> Patch 5 completes an earlier fix that removed the vlan promisc capability
> for VFs. The earlier fix did not update the removal of this capability from
> the profile descriptor of the VF. This causes the VF driver to request this
> capability when it tries to create it's interface at probe time. This could
> potentailly cause the VF probe to fail if the FW enforces strict checking of
> the flags based on what was provisoned by the PF.  This strict checking is
> not being done by FW currently but will be fixed in a future version. This
> patch fixes this issue by updating the VF's profile descriptor so that they
> match the interface capability flags provisioned by the PF.
> 
> Pls consider adding these patches to the net tree. Thanks!

Series applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/5] be2net: patch set

2015-10-12 Thread Sathya Perla
Patch 1 fixes a FW image compatibility check in the driver that
prevents certain FW images from being flashed on BE3 (not BE3-R)
adapters.

Patch 2 fixes a spin_lock not being released in a failure case in
be_cmd_notify_wait().

Patch 3 includes a workaround to pad packets that are only 32b long or less
to be applicabe to BE3 too. This workaround was currently applied only to
Skyhawk and Lancer chips. Such packets are causing BE3's TX path to stall
on a SR-IOV config.

Patch 4 fixes the be_cmd_get_profile_config() routine to set the pf_num
field in the cmd request. The FW requires this field to be set for it to
return the specific function's descriptors. If not set, the FW returns
the descriptors of all the functions on the device. If the first descriptor
is not what is being queried for, the driver will read wrong data.
This patch fixes this issue by using the GET_CNTL_ATTRIB cmd to query the
real pci_func_num of a function and then uses it in the GET_PROFILE_CONFIG
cmd.

Patch 5 completes an earlier fix that removed the vlan promisc capability
for VFs. The earlier fix did not update the removal of this capability from
the profile descriptor of the VF. This causes the VF driver to request this
capability when it tries to create it's interface at probe time. This could
potentailly cause the VF probe to fail if the FW enforces strict checking of
the flags based on what was provisoned by the PF.  This strict checking is
not being done by FW currently but will be fixed in a future version. This
patch fixes this issue by updating the VF's profile descriptor so that they
match the interface capability flags provisioned by the PF.

Pls consider adding these patches to the net tree. Thanks!

Kalesh AP (2):
  be2net: fix BE3-R FW download compatibility check
  be2net: remove vlan promisc capability from VF's profile descriptors

Somnath Kotur (1):
  be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd

Suresh Reddy (2):
  be2net: release mcc-lock in a failure case in be_cmd_notify_wait()
  be2net: pad skb to meet minimum TX pkt size in BE3

 drivers/net/ethernet/emulex/benet/be.h  |  1 +
 drivers/net/ethernet/emulex/benet/be_cmds.c | 31 ++---
 drivers/net/ethernet/emulex/benet/be_cmds.h | 10 --
 drivers/net/ethernet/emulex/benet/be_main.c | 28 +-
 4 files changed, 52 insertions(+), 18 deletions(-)

-- 
2.4.1

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html