Ganesg will be taking over as maintainer from now
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index c36976d3bd1a..af3456d33a18 100644
--- a/MAINTAINERS
+++ b/MAINT
. This will also force
the port Link Status to go down -- if register writes work --
which should help our peers figure out that we're down.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_
to
complete.
Also timeout from the loop, if the command under execution takes
long time to run.
In reality, the number of mailbox access collisions is going to be
very rare since no one runs such abusive script.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/c
to
complete.
Also timeout from the loop, if the command under execution takes
long time to run.
In reality, the number of mailbox access collisions is going to be
very rare since no one runs such abusive script.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/c
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
index df1573
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
tput.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
V2: Missed 25G in the first one
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 4 ++--
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 15 +--
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
On Mon, Sep 19, 2016 at 01:32:46PM +0530, Hariprasad Shenai wrote:
> We were missing check for 100G while checking port speed, which lead to
> less number of queues getting allocated for 100G and leading to low
> throughput. Adding the missing check for both NIC and vNIC driver.
>
We were missing check for 100G while checking port speed, which lead to
less number of queues getting allocated for 100G and leading to low
throughput. Adding the missing check for both NIC and vNIC driver.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/et
remove.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/crypto/chelsio/chcr_core.c | 10 +-
drivers/infiniband/hw/cxgb4/device.c |4 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 47 +-
drivers/net/ethernet/chelsio
The checksum provided by the device doesn't include the L3 headers,
as IPv6 expects
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
V2: Fixed compilation issue reported by kbuild bot
drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 7 ---
1 file changed, 4 insertions
The checksum provided by the device doesn't include the L3 headers,
as IPv6 expects
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/c
Adds support for ndo_get_vf_config, also fill the default mac address
that will be provided to the VF by firmware, in case user doesn't
provide one. So user can get the default MAC address address also
through ndo_get_vf_config.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.
On Wednesday, August 08/24/16, 2016 at 08:31:58 +, Yuval Mintz wrote:
> > > > @@ -1202,6 +1202,10 @@ int t4vf_eth_xmit(struct sk_buff *skb, struct
> > > > net_device *dev)
> > > > BUG_ON(qidx >= pi->nqsets);
> > > > txq = >sge.ethtxq[pi->first_qset + qidx];
> > > >
> > > > +
ssed with
> the original vlan-id [instead of the one of PF has provided].
> Is that intentional?
No, this isn't intentional. I thought VST and VGT cannot co-exist.
What should be the behavior?
Thanks,
Hariprasad Shenai
On Wednesday, August 08/24/16, 2016 at 07:15:49 +, Yuval Mintz wrote:
> > +static void fill_vf_station_mac_addr(struct adapter *adap)
> > +{
> > + unsigned int i;
> > + u8 hw_addr[ETH_ALEN], macaddr[ETH_ALEN];
> > + int err;
> > + u8 *na;
> > + u16 a, b;
> > +
> > + err =
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 10 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 77 ++-
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c |2 +-
3 files changed, 86 insertions
Hariprasad Shenai (2):
cxgb4/cxgb4vf: Add support for ndo_set_vf_vlan
cxgb4: Add support for ndo_get_vf_config
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 11 +++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 96 +++-
drivers/net/ethernet/chelsio/cxgb4
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |1 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 21 +++
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 25 +
drivers/net/et
On Tuesday, August 08/23/16, 2016 at 10:01:59 +0200, Andrzej Hajda wrote:
> On 08/23/2016 09:46 AM, Hariprasad Shenai wrote:
> > On Tuesday, August 08/23/16, 2016 at 08:16:19 +0200, Andrzej Hajda wrote:
> >> Local variable msi_idx defined as unsigned int is always >= 0, thus
On Tuesday, August 08/23/16, 2016 at 08:16:19 +0200, Andrzej Hajda wrote:
> Local variable msi_idx defined as unsigned int is always >= 0, thus both
> 'if' checks are always true. On the other side presence of USING_MSIX flag
> suggests the checks should not be trivially true.
> The simplest
evice for configuring PCIe VF")
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |1 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 97 +++---
2 files changed, 67 insertions(+), 31 deletions(-)
diff --g
Adds support for ndo_set_vf_vlan for cxgb4 driver
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
b/drivers/net/ethernet/chelsio/cxgb4/c
At present the code to check in kdump kernel was not disabling
allocation of resources when CONFIG_CHELSIO_T4_DCB is defined, move the
code outside #defines so that it gets disabled irrespective of #define,
when in kdump kernel.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.
Signed-off-by: Atul Gupta <atul.gu...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 437 +
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 124 +++
2 files changed, 561 inse
com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/crypto/chelsio/chcr_algo.c | 1525 ++
drivers/crypto/chelsio/chcr_algo.h | 471 +++
drivers/crypto/chelsio/chcr_core.c | 240 ++
drivers/crypto/chelsio/chcr_cor
Adds the config entry for the Chelsio Crypto Driver, Makefile changes
for the same.
Signed-off-by: Atul Gupta <atul.gu...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/crypto/Kconfig |2 ++
drivers/crypto/Makefile |1 +
dr
t for certain architectures
- Dependency fix in Kconfig.
- If the request has the MAY_BACKLOG bit set and hardware queue is
full the request is queued up else -EBUSY is returned to throttle
the user. The queue when executed and processed returns -EINPROGRESS
in completion.
Haripra
Gupta <atul.gu...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/Makefile |2 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 59 +++-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 153 +--
drivers/
On Tue, Jul 19, 2016 at 09:15:22PM -0700, David Miller wrote:
> From: Yeshaswi M R Gowda
> Date: Mon, 18 Jul 2016 22:42:14 -0700
>
> > +config CRYPTO_DEV_CHELSIO
> > + tristate "Chelsio Crypto Co-processor Driver"
> > + depends on PCI && NETDEVICES && ETHERNET
> > +
, since it doesn't need to transmit/receive. Its purely used
for VF management purpose only. The device will be registered only when
VF for a particular PF is configured using PCI sysfs interface and
unregistered while pci_disable_sriov() for the PF is called.
Signed-off-by: Hariprasad Shenai <hari
atch 2/2, based on review comment by
Yuval Mintz <yuval.mi...@qlogic.com>
Hariprasad Shenai (2):
cxgb4: Add control net_device for configuring PCIe VF
cxgb4/cxgb4vf: Add set VF mac address support
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 +
drivers/net/ethernet/chels
Add ndo_set_vf_mac support which allows to set the MAC address
for cxgb4vf interfaces from the host
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 ++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 24 -
d
, since it doesn't need to transmit/receive. Its purely used
for VF management purpose only. The device will be registered only when
VF for a particular PF is configured using PCI sysfs interface and
unregistered while pci_disable_sriov() for the PF is called.
Signed-off-by: Hariprasad Shenai <hari
ameter pf
added to IFLA_VF API's and created a net_device corresponding to
each PF for controling their VF. Based on review comment by
Yuval Mintz <yuval.mi...@qlogic.com>
V2: Fixed check for MAC address in Patch 2/2, based on review comment by
Yuval Mintz <yuval.mi...@qlogi
Add ndo_set_vf_mac support which allows to set the MAC address
for cxgb4vf interfaces from the host
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |3 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
Add ndo_set_vf_mac support which allows to set the MAC address
for cxgb4vf interfaces from the host
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 ++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 24 -
d
gmtpf", for example
for PF1 of adapter 0 will be named 'mgmtpf01'.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 115
1 file changed, 97 insertions(+), 18 deletions(-)
diff --git a/drivers/net/ethern
. Based on review comment by
Yuval Mintz <yuval.mi...@qlogic.com>
V2: Fixed check for MAC address in Patch 2/2, based on review comments by
Yuval Mintz <yuval.mi...@qlogic.com>
Hariprasad Shenai (2):
cxgb4: Add control net_device for configuring PCIe VF
cxgb4/cxgb4vf: Ad
51 ("cxgb4: Discard the packet if the length is greater than
mtu")
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 2 +-
drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
could control their
> VFs.
Hi Dave and all,
Based on above comment, since the control node should always be net_device, we
will go with the below implementation.
We will have dummy net devices with 00:00:00:00:00:00 mac address. The device
won't be associated with any port, since it doesn't need to transmit/receive.
On a two port adapter, we need to create 4 dummy net devices, corresponding to
PF0 ... PF3. Basically the dummy net device will have callback's only
for "ndo_set_vf_*" API's.
Thanks,
Hariprasad Shenai
On Thu, Jun 30, 2016 at 19:04:16 +, Yuval Mintz wrote:
> > Chelsio T4/T5 cards have SR-IOV Capabilities on Physical Functions
> > 0..3 and the administrative Driver(cxgb4) attaches to Physical Function 4.
> > Each of the Physical Functions 0..3 can support up to 16 Virtual
> > Functions. With
On Thu, Jun 30, 2016 at 13:13:15 +, Yuval Mintz wrote:
> > + /* verify MAC addr is valid */
> > + if (!is_zero_ether_addr(mac) && !is_valid_ether_addr(mac) &&
> > + is_multicast_ether_addr(mac)) {
>
> This is really odd as verification goes; Currently this is a very elaborate
> way
Add ndo_set_vf_mac support which allows to set the MAC address
for cxgb4vf interfaces from the host.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |3 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
and the
SR-IOV Virtual Functions of those Physical Functions. But it is not
true in our case and won't work for us.
Added a new argument to specify the PF number associated with the VF, to
fix this.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/broadcom
Functions 0..3 and the PF Driver registers
ports on PF4.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
include/linux/if_link.h |1 +
ip/ipaddress.c |3 +++
ip/iplink.c | 21 ++---
man/man8/ip-link.8.in | 15 +--
4
.mi...@qlogic.com>
Hariprasad Shenai (2):
net: Add provision to specify pf number while assigning VF mac
cxgb4/cxgb4vf: Add set VF mac address support
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h|2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c |2 +-
drivers/net/ethernet/br
, and
patch 3/3 has been created against iproute2 tree.
We have included all the maintainers of respective drivers. Kindly review
the change and let us know in case of any review comments.
Thanks
Hariprasad Shenai (2):
net: Add provision to specify pf number while assigning VF mac
cxgb4/cxgb4vf
and the
SR-IOV Virtual Functions of those Physical Functions. But it is not
true in our case and won't work for us.
Added a new argument to specify the PF number associated with the VF, to
fix this.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/broadcom
Add ndo_set_vf_mac support which allows to set the MAC address
for cxgb4vf interfaces from the host.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |3 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
Functions 0..3 and the PF Driver registers
ports on PF4.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
include/linux/if_link.h |1 +
ip/ipaddress.c |3 +++
ip/iplink.c | 21 ++---
man/man8/ip-link.8.in | 15 +--
4
If the ctrl queue is full, just follows current path by allocating an
skb. If that fails then caller will just have to handle that case as
before.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 +
drivers/net/ethernet/c
to
complete. Usually command takes less than a milli-second to complete.
Also timeout from the loop, if the command under execution takes
long time to run.
In reality, the number of mailbox access collisions is going to be very
rare since no one runs such abusive script.
Signed-off-by: Hariprasad
Implement callback in the driver for the new PCI bus driver
interface that allows the user to enable/disable SR-IOV
virtual functions in a device via the sysfs interface.
Deprecate module parameter used to configure SRIOV
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drive
When is_kdump_kernel() is true, Forcing cxgb4 driver as Master so we can
reinitialize the Firmware/Chip. Also reduce memory usage by disabling
offload.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 9 -
1 file chan
and includes
patches on cxgb4 and cxgb4vf driver.
We have included all the maintainers of respective drivers. Kindly review
the change and let us know in case of any review comments.
Thanks
Hariprasad Shenai (3):
cxgb4: Force cxgb4 driver as MASTER in kdump kernel
cxgb4: Enable SR-IOV
Even if interface is in Promiscuous mode/Allmulti mode synchronize
MAC addresses.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 7 ++-
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 8 ++--
2 files chan
When in kdump kernel, reduce memory usage by only using a single Queue
Set for multiqueue devices. So make netif_get_num_default_rss_queues()
return one, when in kdump kernel.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
net/core/dev.c | 4 +++-
1 file changed, 3 inse
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
index a2cdfc
When is_kdump_kernel() is true, reduce our memory footprint by only using
a single "Queue Set" and Forcing Master so we can reinitialize the
Firmware/Chip.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 12
the queue priority and state machine whenever there
is a link down, this patch fixes it by adding a check to reset only if
cxgb4_dcb_enabled() returns true.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.
and includes
patches on cxgb4 driver.
We have included all the maintainers of respective drivers. Kindly review
the change and let us know in case of any review comments.
Thanks
Hariprasad Shenai (2):
cxgb4: Don't sleep when mbox cmd is issued from interrupt context
cxgb4: Check for firmware errors
Check for firmware errors in the mailbox command loop and report
them differently rather than simply timing out when the firmware goes
belly up.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 8 ++--
1 file changed, 6 inse
.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
index 49bcbf16c9ca..59f5e0b40286
. Kindly review
the change and let us know in case of any review comments.
Thanks
Hariprasad Shenai (2):
cxgb4: Add support to enable logging of firmware mailbox commands
cxgb4vf: Add support to enable logging of firmware mailbox commands
for VF
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
Add new /sys/kernel/debug/ support to dump firmware mailbox commands
and replies for debugging purpose.
Based on original work by Casey Leedom <lee...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4vf/adapter.h |
Add new /sys/kernel/debug/ support to dump a firmware mailbox command
issued and replies for debugging purpose.
Based on original work by Casey Leedom <lee...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c | 2 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
b/d
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
index 0bb41e
Information messages and throws a warning if we don't
understand what we've been given.
Also refactor t4_handle_fw_rpl() so that core functionality performed by
t4_handle_get_port_info() for a specified port.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/et
the deadlock between xmit and driver unload.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c
b/drivers/net/ethernet/chelsio/cxgb4/sge.c
index 6278e5
Decode and log port module error, unknown modules and unsupported
modules.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/ethernet/chelsio
Add new routine to print out general adapter information (various version
numbers, adapter name, part number, serial number, etc.) and remove
redundant information dumped in the Port Information.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 1 +
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c| 34 +++
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 5
3 files changed, 40 insertions(+)
Refactor t4_port_init() so that the core functionality is done by
t4_init_portinfo() for a particular port. Also rename variables to
sensible ones.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 2 +
drivers/net/ethernet/chelsio
Hariprasad Shenai (8):
cxgb4: add new routine to get adapter info
cxgb4: Add llseek operation for flash debugfs entry
cxgb4: Avoids race and deadlock while freeing tx descriptor
cxgb4: Properly decode port module type
cxgb4: Refactor t4_port_init function
cxgb4: DCB message handler
quot;PCI: Determine actual VPD size on first access")
Signed-off-by: Casey Leedom <lee...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 10 +++
drivers/pci/access.c |
Hi All,
The following patch introduced a regression, causing cxgb4 driver to fail in
PCIe probe.
commit 104daa71b39614343929e1982170d5fcb0569bb5
Author: Hannes Reinecke
Author: Hannes Reinecke
Date: Mon Feb 15 09:42:01 2016 +0100
PCI: Determine actual VPD
s Queues were no longer being serviced.
Based on original work by Casey Leedom <lee...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 +++
drivers/net/ethernet/chelsio/cxgb4/sge.c | 20 +++---
dri
Message level can be set through ethtool, so deprecate module parameter
which is used to set the same.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
V2: Fix grammar in module param description, based on review comment by
Sergei Shtylyov <sergei.shtyl...@cogentemb
Message level can be set through ethtool, so deprecate module parameter
which is used to set the same.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 ++-
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 3 ++-
2
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
index 06bc2d
, I'm still OK to merge via target-pending to enable post v4.6
> iscsi-target developments, as long as DaveM doesn't have an objection or
> if he'd prefer to pick them up.
>
> As-is, they still need Acked-by's from the cxgb4 driver maintainer.
>
> Hariprasad, please give your review + ack.
>
The entire series looks good.
Acked-by: Hariprasad Shenai <haripra...@chelsio.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c|8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
b/drivers/net/ethernet/chelsio/c
.
Thanks
Hariprasad Shenai (4):
cxgb4vf: Enable interrupts before we register our network devices
cxgb4vf: Configure queue based on resource and interrupt type
cxgb4vf: Add a couple more checks for invalid provisioning
configurations
cxgb4vf : Set number of queues in pci probe only
from MSI-X to MSI Interrupt Mode. This change fixes that
problem.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c| 165 +++-
1 files changed, 94 insertions(+), 71 deletions(-)
diff --git a/drivers/net/et
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c|5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_
and never realizing that the links has actually come up.
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c| 51 ++--
1 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/c
Adds a new function t4vf_fl_pkt_align() and use the same in SGE
initialization code to find out freelist packet alignment
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 40 ++--
drivers/net/ethernet/chelsio/c
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c| 46 --
1 file changed, 46 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_
Fetch Requests rather than a single coallesced 128-byte
Fetch Request. T6 fixes this. So, for T4/T5 we set the FBMIN value to 128
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 12 +++-
drivers/net/ethernet/chelsio
Function t4vf_wait_dev_ready() is already called in t4vf_prep_adapter(),
no need to call it again in adap_init0().
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 10 --
1 file changed, 10 deletions(-)
diff
Use freelist capacity instead of freelist size while checking, if
freelist needs to be refilled
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/sge.c | 2 +-
drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 2 +-
2 files changed, 2 insertions
have included all the maintainers of respective drivers. Kindly review
the change and let us know in case of any review comments.
Thanks
Hariprasad Shenai (5):
cxgb4/cxgb4vf: Use fl capacity to check if fl needs to be replenished
cxgb4/cxgb4vf: For T6 adapter, set FBMIN to 64 bytes
cxgb4vf
of respective drivers. Kindly review
the change and let us know in case of any review comments.
Thanks
Hariprasad Shenai (2):
cxgb4: Use __dev_uc_sync/__dev_mc_sync to sync MAC address
cxgb4vf: Use __dev_uc_sync/__dev_mc_sync to sync MAC address
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | 8 ++
.../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c| 116 +
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h | 20
drivers/net/ethernet/c
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 27 +
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 138 ++--
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 92 +---
3 files change
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
index a8dda6
-off-by: Steve Wise <sw...@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com>
---
drivers/infiniband/hw/cxgb4/cm.c | 51 ++-
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 2 ++
drivers/net/ethernet/chelsio/cxgb4/t4f
know in case of any review comments.
Thanks
Hariprasad Shenai (3):
iw_cxgb4: make queue allocation code more readable
iw_cxgb4: remove false error log entry
cxgb4/iw_cxgb4: TOS support
drivers/infiniband/hw/cxgb4/cm.c | 54 +++---
drivers/infiniband/hw/cxgb4/qp.c
1 - 100 of 251 matches
Mail list logo