[PATCH net 1/1] qlge: Fix netdev features configuration.

2018-08-23 Thread Manish Chopra
qlge_fix_features() is not supposed to modify hardware or driver state, rather it is supposed to only fix requested fetures bits. Currently qlge_fix_features() also goes for interface down and up unnecessarily if there is not even any change in features set. This patch changes/fixes following -

[PATCH net 1/1] qlge: Fix netdev features configuration.

2018-08-23 Thread Manish Chopra
qlge_fix_features() is not supposed to modify hardware or driver state, rather it is supposed to only fix requested fetures bits. Currently qlge_fix_features() also goes for interface down and up unnecessarily if there is not even any change in features set. This patch changes/fixes following -

[PATCH net-next 3/3] qede: Ingress tc flower offload (drop action) support.

2018-08-09 Thread Manish Chopra
ff: flower \ skip_sw ip_proto tcp dst_port 98 action drop Signed-off-by: Manish Chopra Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qede/qede.h | 7 +- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 2 +- drivers/net/ethernet/qlogic/qede/qede_filte

[PATCH net-next 2/3] qede: Add destination ip based flow profile.

2018-08-09 Thread Manish Chopra
action -1 ethtool -N p5p1 flow-type udp4 dst-ip 192.168.50.100 action 1 ethtool -N p5p1 flow-type tcp4 dst-ip 192.168.60.100 action 0x1 Signed-off-by: Manish Chopra Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qede/qede_filter.c | 114 ++--- 1 file changed

[PATCH net-next 1/3] qed/qede: Multi CoS support.

2018-08-09 Thread Manish Chopra
hardware queues respectively. Signed-off-by: Manish Chopra Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qed/qed_l2.c| 9 +- drivers/net/ethernet/qlogic/qed/qed_main.c | 5 +- drivers/net/ethernet/qlogic/qede/qede.h | 13 +++ drivers/net/ethernet/qlogic

[PATCH net-next 0/3] qed*: Enhancements

2018-08-09 Thread Manish Chopra
Hi David, This patch series adds following support in drivers - 1. Egress mqprio offload. 2. Add destination IP based flow profile. 3. Ingress flower offload (for drop action). Please consider applying this series to "net-next". Thanks, Manish Manish Chopra (3): qed/qede: Multi C

[PATCH net-next 4/5] qede: Support flow classification to the VFs.

2018-05-24 Thread Manish Chopra
p 192.16.6.10 action 0x2 ethtool -U p5p1 flow-type tcp4 src-ip 192.168.40.100 dst-ip \ 192.168.40.200 src-port 6660 dst-port 5550 \ action 0x10000 Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Shahed Shaikh <shahed.sha...@cavium.com> Sign

[PATCH net-next 5/5] qed*: Support drop action classification

2018-05-24 Thread Manish Chopra
action -1 Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Shahed Shaikh <shahed.sha...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_l2.c| 35 ++--- drivers/net/ethernet/qlo

[PATCH net-next 2/5] qede: Validate unsupported configurations

2018-05-24 Thread Manish Chopra
Validate and prevent some of the configurations for unsupported [by firmware] inputs [for example - mac ext, vlans, masks/prefix, tos/tclass] via ethtool -N/-U. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Shahed Shaikh <shahed.sha...@cavium.com> Signed-o

[PATCH net-next 1/5] qede: Refactor ethtool rx classification flow.

2018-05-24 Thread Manish Chopra
This patch simplifies the ethtool rx flow configuration [via ethtool -U/-N] flow code base by dividing it logically into various APIs based on given protocols. It also separates various validations and calculations done along the flow in their own APIs. Signed-off-by: Manish Chopra <manish.

[PATCH net-next 3/5] qed*: Support other classification modes.

2018-05-24 Thread Manish Chopra
action 1 ethtool -N enp7s0f0 flow-type udp6 dst-port 45762 action 3 Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Shahed Shaikh <shahed.sha...@cavium.com> Signed-off-by: Ariel Elior <ariel.el...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_l2.c

[PATCH net-next 0/5] qed*: ethtool rx flow classification enhancements.

2018-05-24 Thread Manish Chopra
Hi David, This series re-structures the driver's ethtool rx flow classification flow, following that it adds other flow profiles and rx flow classification enhancements via "ethtool -N/-U" Please consider applying this to "net-next" Thanks, Manish Manish Chopra (5): qede:

[PATCH net-next 1/1] qede: Add build_skb() support.

2018-05-17 Thread Manish Chopra
6.190.00 0.00 69.19 Signed-off-by: Ariel Elior <ariel.el...@cavium.com> Signed-off-by: Manish Chopra <manish.cho...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede.h | 5 +- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 3 +- drivers/net/ethernet

[PATCH net 1/1] qede: Do not drop rx-checksum invalidated packets.

2018-03-28 Thread Manish Chopra
Today, driver drops received packets which are indicated as invalid checksum by the device. Instead of dropping such packets, pass them to the stack with CHECKSUM_NONE indication in skb. Signed-off-by: Ariel Elior <ariel.el...@cavium.com> Signed-off-by: Manish Chopra <manish.cho...@c

[PATCH v2 net 1/1] qede: Fix barrier usage after tx doorbell write.

2018-03-27 Thread Manish Chopra
eded" in patchwork. (Not really sure for what reason).Resending it as v2. Signed-off-by: Ariel Elior <ariel.el...@cavium.com> Signed-off-by: Manish Chopra <manish.cho...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede_fp.c | 10 -- 1 files changed, 4 insertions(+), 6 del

[PATCH net 1/1] qede: Fix barrier usage after tx doorbell write.

2018-03-16 Thread Manish Chopra
ver on x86 mmiowb() does not flush the write combined buffer. This patch fixes this problem by replacing mmiowb() with wmb() after the write combined doorbell write so that writes are flushed and synchronized from more than one processor. Signed-off-by: Ariel Elior <ariel.el...@cavium.com> Signe

[PATCH v2 net-next 0/7] qed/qede: Enhancements

2017-07-26 Thread Manish Chopra
n-declaration] Thanks, Manish Manish Chopra (2): qede: Add getter APIs support for RX flow classification qed/qede: Add setter APIs support for RX flow classification Rahul Verma (3): qed: Add support for vf coalesce configuration. qed: Read per queue coalesce from hardware qed: enhanced

[PATCH v2 net-next 3/7] qed: Add support for Energy efficient ethernet.

2017-07-26 Thread Manish Chopra
From: Sudarsana Reddy Kalluru The patch adds required driver support for reading/configuring the Energy Efficient Ethernet (EEE) parameters. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Yuval Mintz

[PATCH v2 net-next 7/7] qed: enhanced per queue max coalesce value.

2017-07-26 Thread Manish Chopra
From: Rahul Verma Maximum coalesce per Rx/Tx queue is extended from 255 to 511. Signed-off-by: Rahul Verma Signed-off-by: Yuval Mintz --- include/linux/qed/qed_if.h |2 +- 1 files changed, 1 insertions(+), 1

[PATCH v2 net-next 4/7] qede: Add ethtool support for Energy efficient ethernet.

2017-07-26 Thread Manish Chopra
From: Sudarsana Reddy Kalluru The patch adds ethtool callback implementations for querying/configuring the Energy Efficient Ethernet (EEE) parameters. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Yuval Mintz

[PATCH v2 net-next 1/7] qede: Add getter APIs support for RX flow classification

2017-07-26 Thread Manish Chopra
This patch adds support for ethtool getter APIs to query RX flow classification rules. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <yuval.mi...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede.h | 10 ++- drivers/net/ethernet

[PATCH v2 net-next 6/7] qed: Read per queue coalesce from hardware

2017-07-26 Thread Manish Chopra
From: Rahul Verma Retrieve the actual coalesce value from hardware for every Rx/Tx queue, instead of Rx/Tx coalesce value cached during set coalesce. Signed-off-by: Rahul Verma Signed-off-by: Yuval Mintz ---

[PATCH v2 net-next 5/7] qed: Add support for vf coalesce configuration.

2017-07-26 Thread Manish Chopra
From: Rahul Verma This patch add the ethtool support to set RX/Tx coalesce value to the VF associated Rx/Tx queues. Signed-off-by: Rahul Verma Signed-off-by: Yuval Mintz --- drivers/net/ethernet/qlogic/qed/qed_dev.c

[PATCH v2 net-next 2/7] qed/qede: Add setter APIs support for RX flow classification

2017-07-26 Thread Manish Chopra
This patch adds support for adding and deleting rx flow classification rules. Using this user can classify RX flow constituting of TCP/UDP 4-tuples [src_ip/dst_ip and src_port/dst_port] to be steered on a given RX queue Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by:

[PATCH net-next 3/7] qed: Add support for Energy efficient ethernet.

2017-06-30 Thread Manish Chopra
From: Sudarsana Reddy Kalluru The patch adds required driver support for reading/configuring the Energy Efficient Ethernet (EEE) parameters. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Yuval Mintz

[PATCH net-next 6/7] qed/qede: Read per queue coalesce from hardware

2017-06-30 Thread Manish Chopra
From: Rahul Verma Retrieve the actual coalesce value from hardware for every Rx/Tx queue, instead of Rx/Tx coalesce value cached during set coalesce. Signed-off-by: Rahul Verma Signed-off-by: Yuval Mintz ---

[PATCH net-next 5/7] qed/qede: Add support for vf coalesce configuration.

2017-06-30 Thread Manish Chopra
From: Rahul Verma This patch add the ethtool support to set RX/Tx coalesce value to the VF associated Rx/Tx queues. Signed-off-by: Rahul Verma Signed-off-by: Yuval Mintz --- drivers/net/ethernet/qlogic/qed/qed_dev.c

[PATCH net-next 0/7] qed/qede: Enhancements

2017-06-30 Thread Manish Chopra
this to "net-next" Thanks, Manish Manish Chopra (2): qede: Add getter APIs support for RX flow classification qed/qede: Add setter APIs support for RX flow classification Rahul Verma (3): qed/qede: Add support for vf coalesce configuration. qed/qede: Read per queue coalesce from hard

[PATCH net-next 4/7] qede: Add ethtool support for Energy efficient ethernet.

2017-06-30 Thread Manish Chopra
From: Sudarsana Reddy Kalluru The patch adds ethtool callback implementations for querying/configuring the Energy Efficient Ethernet (EEE) parameters. Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Yuval Mintz

[PATCH net-next 1/7] qede: Add getter APIs support for RX flow classification

2017-06-30 Thread Manish Chopra
This patch adds support for ethtool getter APIs to query RX flow classification rules. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <yuval.mi...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede.h | 10 +- drivers/net/ethernet

[PATCH net-next 2/7] qed/qede: Add setter APIs support for RX flow classification

2017-06-30 Thread Manish Chopra
This patch adds support for adding and deleting rx flow classification rules. Using this user can classify RX flow constituting of TCP/UDP 4-tuples [src_ip/dst_ip and src_port/dst_port] to be steered on a given RX queue Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by:

[PATCH net-next 7/7] qed: Increase per queue max coalesce value.

2017-06-30 Thread Manish Chopra
From: Rahul Verma Maximum coalesce per Rx/Tx queue is extended from 255 to 511. Signed-off-by: Rahul Verma Signed-off-by: Yuval Mintz --- include/linux/qed/qed_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH net 1/1] qlcnic: Fix tunnel offload for 82xx adapters

2017-06-02 Thread Manish Chopra
Qlogic's 82xx series adapter doesn't support tunnel offloads, driver incorrectly assumes that it is supported and causes firmware hang while running tunnel IO. This patch fixes this by not advertising tunnel offloads for 82xx adapters. Signed-off-by: Manish Chopra <manish.cho...@cavium.

[PATCH net 2/2] qlcnic: Update version to 5.3.66

2017-05-11 Thread Manish Chopra
Bumping up the version as couple of fixes added after 5.3.65 Signed-off-by: Manish Chopra <manish.cho...@cavium.com> --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drive

[PATCH net 0/2] qlcnic: Bug fix and update version

2017-05-11 Thread Manish Chopra
Hi David, This series has one fix and bumps up driver version. Please consider applying to "net" Thanks, Manish Manish Chopra (2): qlcnic: Fix link configuration with autoneg disabled qlcnic: Update version to 5.3.66 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h| 4 +-

[PATCH net 1/2] qlcnic: Fix link configuration with autoneg disabled

2017-05-11 Thread Manish Chopra
hardware before any speed/autoneg configuration. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> --- .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c| 34 ++ .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h| 1 + .../net/ethernet/qlogic/qlcnic/qlcnic_eth

[PATCH net-next 5/6] qed/qede: Add UDP ports in bulletin board

2017-04-24 Thread Manish Chopra
This patch adds support for UDP ports in bulletin board to notify UDP ports change to the VFs Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <yuval.mi...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_l2.c | 19 +++

[PATCH net-next 6/6] qed - VF tunnelling support [VXLAN/GENEVE/GRE]

2017-04-24 Thread Manish Chopra
, although PF and it's child VFs share the same port. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <yuval.mi...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed.h | 1 + drivers/net/ethernet/qlogic/qed/qed_dev.c | 15 +- drivers/

[PATCH net-next 3/6] qede: Disable tunnel offloads for non offloaded UDP ports

2017-04-24 Thread Manish Chopra
This patch disables tunnel offloads via ndo_features_check() if given UDP port is not offloaded to hardware. This in turn allows to run multiple tunnel interfaces using different UDP ports. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <yuval.mi...@c

[PATCH net-next 4/6] qede: Configure UDP ports in local context.

2017-04-24 Thread Manish Chopra
This patch configures UDP ports locally instead of configuring them in deferred context which would be helpful in synchronizing UDP ports configuration for VFs which will be enabled in further patches. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <

[PATCH net-next 2/6] qed/qede: Enable tunnel offloads based on hw configuration

2017-04-24 Thread Manish Chopra
This patch enables tunnel feature offloads based on hw configuration at initialization time instead of enabling them always. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <yuval.mi...@cavium.com> --- drivers/net/ethernet/qlogic/qed/qed_mai

[PATCH net-next 0/6] qed/qede: VF tunnelling support

2017-04-24 Thread Manish Chopra
Hi David, With this series VFs can run vxlan/geneve/gre tunnels over it. Please consider applying this series to "net-next" Thanks, Manish Manish Chopra (6): qed: refactor tunnelling - API/Structs qed/qede: Enable tunnel offloads based on hw configuration qede: Disable tunne

[PATCH net-next 1/6] qed: refactor tunnelling - API/Structs

2017-04-24 Thread Manish Chopra
This patch changes the tunnel APIs to use per tunnel info instead of using bitmasks for all tunnels and also uses single struct to hold the data to prepare multiple variant of tunnel configuration ramrods to be sent to the hardware. Signed-off-by: Manish Chopra <manish.cho...@cavium.com>

[PATCH net-next 2/2] qede: Add aRFS support

2017-04-13 Thread Manish Chopra
This patch adds support for aRFS for TCP and UDP protocols with IPv4/IPv6. Signed-off-by: Manish Chopra <manish.cho...@cavium.com> Signed-off-by: Yuval Mintz <yuval.mi...@cavium.com> --- drivers/net/ethernet/qlogic/qede/qede.h| 22 +- drivers/net/ethernet/qlogic/qede/qede_fi

[PATCH net-next 1/2] qed: aRFS infrastructure support

2017-04-13 Thread Manish Chopra
This patch adds necessary APIs to interface with qede aRFS support in successive patch. It also reserves separate PTT entry for aRFS, [as being in fastpath flow] for hardware access instead of trying to acquire it at run time from the ptt pool. Signed-off-by: Manish Chopra <manish.

[PATCH net-next 0/2] qed/qede: aRFS support

2017-04-13 Thread Manish Chopra
Hi David, This series adds support for Accelerated Flow Steering in qede driver for TCP/UDP over IPv4/IPv6 protocols. Please consider applying this series to "net-next" Thanks, Manish Manish Chopra (2): qed: aRFS infrastructure support qede: Add aRFS support drivers/net/ether

[PATCH v3 net-next 6/7] qed: Handle malicious VFs events

2016-10-14 Thread Manish Chopra
From: Yuval Mintz Malicious VFs might be caught in several different methods: - Misusing their bar permission and being blocked by hardware. - Misusing their fastpath logic and being blocked by firmware. - Misusing their interaction with their PF via

[PATCH v3 net-next 2/7] qede: GSO support for tunnels with outer csum

2016-10-14 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> This patch adds GSO support for GRE and UDP tunnels where outer checksums are enabled. Signed-off-by: Manish Chopra <manish.cho...@caviumnetworks.com> Signed-off-by: Yuval Mintz <yuval.mi...@caviumnetworks.com> --- dr

[PATCH v3 net-next 3/7] qede: Prevent GSO on long Geneve headers

2016-10-14 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> Due to hardware limitation, when transmitting a geneve-encapsulated packet with more than 32 bytes worth of geneve options the hardware would not be able to crack the packet and consider it a regular UDP packet. This impl

[PATCH v3 net-next 1/7] qed: Pass MAC hints to VFs

2016-10-14 Thread Manish Chopra
From: Yuval Mintz Some hypervisors can support MAC hints to their VFs. Even though we don't have such a hypervisor API in linux, we add sufficient logic for the VF to be able to receive such hints and set the mac accordingly - as long as the VF has not been set

[PATCH v3 net-next 5/7] qed: Allow chance for fast ramrod completions

2016-10-14 Thread Manish Chopra
From: Yuval Mintz Whenever a ramrod is being sent for some device configuration, the driver is going to sleep at least 5ms between each iteration of polling on the completion of the ramrod. However, in almost every configuration scenario the firmware would be

[PATCH v3 net-next 4/7] qed*: Allow unicast filtering

2016-10-14 Thread Manish Chopra
From: Yuval Mintz Apparently qede fails to set IFF_UNICAST_FLT, and as a result is not actually performing unicast MAC filtering. While we're at it - relax a hard-coded limitation that limits each interface into using at most 15 unicast MAC addresses before

[PATCH v3 net-next 0/7] qed*: driver updates

2016-10-14 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> Hi David, There are several new additions in this series; Most are connected to either Tx offloading or Rx classifications [either fastpath changes or supporting configuration]. In addition, there's a single IOV enhancement.

[PATCH v3 net-next 7/7] qed: Fix possible race when reading firmware return code.

2016-10-14 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> While handling SPQ ramrod completion, there is a possible race where driver might not read updated fw return code based on ramrod completion done. This patch ensures that fw return code is written first and then completion don

[PATCH v2 net-next 0/7] qed*: driver updates

2016-10-13 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> Hi David, There are several new additions in this series; Most are connected to either Tx offloading or Rx classifications [either fastpath changes or supporting configuration]. In addition, there's a single IOV enhancement.

[PATCH v2 net-next 5/7] qed: Allow chance for fast ramrod completions

2016-10-13 Thread Manish Chopra
From: Yuval Mintz Whenever a ramrod is being sent for some device configuration, the driver is going to sleep at least 5ms between each iteration of polling on the completion of the ramrod. However, in almost every configuration scenario the firmware would be

[PATCH v2 net-next 3/7] qede: Prevent GSO on long Geneve headers

2016-10-13 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> Due to hardware limitation, when transmitting a geneve-encapsulated packet with more than 32 bytes worth of geneve options the hardware would not be able to crack the packet and consider it a regular UDP packet. This impl

[PATCH v2 net-next 6/7] qed: Handle malicious VFs events

2016-10-13 Thread Manish Chopra
From: Yuval Mintz Malicious VFs might be caught in several different methods: - Misusing their bar permission and being blocked by hardware. - Misusing their fastpath logic and being blocked by firmware. - Misusing their interaction with their PF via

[PATCH v2 net-next 7/7] qed: Fix possible race when reading firmware return code.

2016-10-13 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> While handling SPQ ramrod completion, there is a possible race where driver might not read updated fw return code based on ramrod completion done. This patch ensures that fw return code is written first and then completion don

[PATCH v2 net-next 4/7] qed*: Allow unicast filtering

2016-10-13 Thread Manish Chopra
From: Yuval Mintz Apparently qede fails to set IFF_UNICAST_FLT, and as a result is not actually performing unicast MAC filtering. While we're at it - relax a hard-coded limitation that limits each interface into using at most 15 unicast MAC addresses before

[PATCH v2 net-next 1/7] qed: Pass MAC hints to VFs

2016-10-13 Thread Manish Chopra
From: Yuval Mintz Some hypervisors can support MAC hints to their VFs. Even though we don't have such a hypervisor API in linux, we add sufficient logic for the VF to be able to receive such hints and set the mac accordingly - as long as the VF has not been set

[PATCH v2 net-next 2/7] qede: GSO support for tunnels with outer csum

2016-10-13 Thread Manish Chopra
From: Manish Chopra <manish.cho...@caviumnetworks.com> This patch adds GSO support for GRE and UDP tunnels where outer checksums are enabled. Signed-off-by: Manish Chopra <manish.cho...@caviumnetworks.com> Signed-off-by: Yuval Mintz <yuval.mi...@caviumnetworks.com> --- dr

[PATCH net 2/3] qlcnic: fix napi budget alteration

2016-08-03 Thread Manish Chopra
Driver modifies the supplied NAPI budget in qlcnic_83xx_msix_tx_poll() function. Instead, it should use the budget as it is. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c |2 -- 1 files changed, 0 insertions(+), 2 del

[PATCH net 3/3] qlcnic: Update version to 5.3.65

2016-08-03 Thread Manish Chopra
Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index fd973f4..4

[PATCH net 0/3] qlcnic: bug fixes

2016-08-03 Thread Manish Chopra
Hi David, This series fixes a data structure corruption bug in VF's async mailbox commands handling and an issue realted to napi poll budget in the driver. Please consider applying this series to "net" Thanks, Manish Manish Chopra (3): qlcnic: fix data structure corruption in

[PATCH net 1/3] qlcnic: fix data structure corruption in async mbx command handling

2016-08-03 Thread Manish Chopra
-by: Rajesh Borundia <rajesh.borun...@qlogic.com> Signed-off-by: Sony Chacko <sony.cha...@qlogic.com> Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h |9 +- .../ethernet/qlogic/qlcnic/qlcnic_sriov

RE: [PATCH net-next v2 0/4] net: support MPLS in IPv4 and UDP

2016-07-08 Thread Manish Chopra
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Simon Horman > Sent: Thursday, July 07, 2016 11:26 AM > To: David Miller > Cc: Tom Herbert ; netdev ; > Simon

MPLS in Linux

2016-07-05 Thread Manish Chopra
Hello Folks, I am trying to play a bit with MPLS on linux. I have basically two servers connected back to back [No switch/router in between those] using NIC devices. Linux kernels are configured for MPLS and all required modules [mpls_gso, mpls_router, mpls_iptunnel etc.] are loaded on the

[PATCH net-next 3/5] qede: Utilize xmit_more

2016-06-30 Thread Manish Chopra
This patch uses xmit_more optimization to reduce number of TX doorbells write per packet. Signed-off-by: Manish Signed-off-by: Yuval Mintz --- drivers/net/ethernet/qlogic/qede/qede_main.c | 37 +--- 1 file changed, 23

[PATCH net-next 1/5] qede: Add support for handling IP fragmented packets.

2016-06-30 Thread Manish Chopra
When handling IP fragmented packets with csum in their transport header, the csum isn't changed as part of the fragmentation. As a result, the packet containing the transport headers would have the correct csum of the original packet, but one that mismatches the actual packet that passes on the

[PATCH net-next 2/5] qede: qede_poll refactoring

2016-06-30 Thread Manish Chopra
This patch cleanups qede_poll() routine a bit and allows qede_poll() to do single iteration to handle TX completion [As under heavy TX load qede_poll() might run for indefinite time in the while(1) loop for TX completion processing and cause CPU stuck]. Signed-off-by: Manish

[PATCH net-next 4/5] qede: Add get/set rx copy break tunable support

2016-06-30 Thread Manish Chopra
Signed-off-by: Manish Signed-off-by: Yuval Mintz --- drivers/net/ethernet/qlogic/qede/qede.h | 3 ++ drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 46 + drivers/net/ethernet/qlogic/qede/qede_main.c| 3 +-

[PATCH net-next 0/5] qede: Enhancements

2016-06-30 Thread Manish Chopra
kernel support. Do let us know if we need to add support for that in user ethtool. Please consider applying this series to "net-next". Thanks, Manish Manish Chopra (5): qede: Add support for handling IP fragmented packets. qede: qede_poll refactoring qede: Utilize xmit_more qede

[PATCH net-next 5/5] qede: Bump up driver version to 8.10.1.20

2016-06-30 Thread Manish Chopra
Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qede/qede.h b/drivers/net/ethernet

[PATCH net-next 4/5] qede: Add support to handle GRE hardware GRO packets

2016-06-22 Thread Manish Chopra
This patch adds support to do necessary processing for hardware assisted GRE tunnel GRO packets before driver delivers them upto the stack. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede

[PATCH net-next 2/5] qede: Add support to handle VXLAN hardware GRO packets

2016-06-22 Thread Manish Chopra
This patch adds support to do necessary processing for hardware assisted VXLAN tunnel GRO packets before driver delivers them upto the stack. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic

[PATCH net-next 5/5] qed: Enable hardware GRO feature for encapsulated packets

2016-06-22 Thread Manish Chopra
This patch actually enables the hardware to perform GRO over encapsulated Ipv4/Ipv6 packets. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qed/qed_l2.c | 2 ++ 1 file changed, 2 inserti

[PATCH net-next 1/5] net: export udp and gre gro_complete() APIs

2016-06-22 Thread Manish Chopra
This patch exports relevant APIs needed to be used by this driver to handle hardware assisted encapsulated GRO packets. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- include/net/gre.h | 3 +++ include/net/ud

[PATCH net-next 0/5] qed/qede: Tunnel hardware GRO support

2016-06-22 Thread Manish Chopra
] in the driver receive data path. Patch 5 - This actually enables GRO functionality for tunnel packets on the adapter. Please consider applying this series to "net-next" Thanks, Manish Manish Chopra (5): net: export udp and gre gro_complete() APIs qede: Add support to handle VXLAN ha

[PATCH net-next 3/5] qede: Add support to handle GENEVE hardware GRO packets

2016-06-22 Thread Manish Chopra
This patch adds support to do necessary processing for hardware assisted GENEVE tunnel GRO packets before driver delivers them upto the stack. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet

[PATCH net 1/1] qede: Fix DMA address APIs usage

2016-05-18 Thread Manish Chopra
. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b

[PATCH net-next 1/1] qed: Apply tunnel configurations after PF start

2016-05-02 Thread Manish Chopra
Configure and enable various tunnels on the adapter after PF start. This change was missed as a part of 'commit 464f664501816ef5fbbc00b8de96f4ae5a1c9325 ("qed: Add infrastructure support for tunneling")' Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval

[PATCH net-next 0/3] qed: Bandwidth configuration support

2016-04-26 Thread Manish Chopra
for the VFs] Please consider applying this series to "net-next" Thanks, Manish Manish Chopra (3): qed: Add vport WFQ configuration APIs qed: Add PF max bandwidth configuration support qed: Add PF min bandwidth configuration support drivers/net/ethernet/qlogic/qed/qed.h

[PATCH net-next 1/3] qed: Add vport WFQ configuration APIs

2016-04-26 Thread Manish Chopra
This patch adds relevant APIs needed to configure WFQ (Weighted fair queueing) values for the vports. WFQ configuration is used per vport basis when minimum bandwidth update/configuration is notified to the PF by the management firmware. Signed-off-by: Manish Chopra <manish.cho...@qlogic.

[PATCH net-next 3/3] qed: Add PF min bandwidth configuration support

2016-04-26 Thread Manish Chopra
This patch adds support for PF minimum bandwidth update or configuration notified by management firmware. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qed/qed_dev.c

[PATCH net-next 2/3] qed: Add PF max bandwidth configuration support

2016-04-26 Thread Manish Chopra
This patch adds support for PF maximum bandwidth update or configuration notified by management firmware. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qed/qed_dev.c | 68 ++-

[PATCH net 1/1] qlcnic: Update version to 5.3.64

2016-04-21 Thread Manish Chopra
Just updating the version as many fixes got accumulated over 5.3.63 Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> --- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcni

[PATCH v2 net 1/3] qede: Fix various memory allocation error flows for fastpath

2016-04-20 Thread Manish Chopra
This patch handles memory allocation failures for fastpath gracefully in the driver. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 140 --- 1 file

[PATCH v2 net 3/3] qede: Fix single MTU sized packet from firmware GRO flow

2016-04-20 Thread Manish Chopra
. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b/drivers/

[PATCH v2 net 0/3] qede: Bug fixes

2016-04-20 Thread Manish Chopra
Hi David, This series fixes - * various memory allocation failure flows for fastpath * issues with respect to driver GRO packets handling V1->V2 * Send series against net instead of net-next. Please consider applying this series to "net" Thanks, Manish Manish Chopra (3): qede

[PATCH v2 net 2/3] qede: Fix setting Skb network header

2016-04-20 Thread Manish Chopra
Skb's network header needs to be set before extracting IPv4/IPv6 headers from it. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH net-next 1/3] qede: Fix various memory allocation error flows for fastpath

2016-04-18 Thread Manish Chopra
This patch handles memory allocation failures for fastpath gracefully in the driver. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 140 --- 1 file

[PATCH net-next 3/3] qede: Fix single MTU sized packet from firmware GRO flow

2016-04-18 Thread Manish Chopra
. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b/drivers/

[PATCH net-next 0/3] qede: Bug fixes

2016-04-18 Thread Manish Chopra
e consider applying this series to "net-next" Thanks, Manish Manish Chopra (3): qede: Fix various memory allocation error flows for fastpath qede: Fix setting Skb network header qede: Fix single MTU sized packet from firmware GRO flow drivers/net/ethernet/qlogic/qe

[PATCH net-next 2/3] qede: Fix setting Skb network header

2016-04-18 Thread Manish Chopra
Skb's network header needs to be set before extracting IPv4/IPv6 headers from it. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> --- drivers/net/ethernet/qlogic/qede/qede_main.c | 4 ++-- 1 file changed, 2 insertions(+),

RE: [PATCH] qlge: Replace create_singlethread_workqueue with alloc_ordered_workqueue

2016-04-14 Thread Manish Chopra
> -Original Message- > From: dept_hsg_linux_nic_dev-boun...@qlclistserver.qlogic.com > [mailto:dept_hsg_linux_nic_dev-boun...@qlclistserver.qlogic.com] On Behalf > Of Tejun Heo > Sent: Wednesday, April 13, 2016 11:14 PM > To: Amitoj Kaur Chawla > Cc: Sudarsana

[PATCH v2 net-next 5/5] qede: Add fastpath support for tunneling

2016-04-14 Thread Manish Chopra
This patch enables netdev tunneling features and adds TX/RX fastpath support for tunneling in driver. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> Signed-off-by: Ariel Elior <ariel.el...@qlogic.com> --- drivers/n

[PATCH v2 net-next 2/5] qed/qede: Add VXLAN tunnel slowpath configuration support

2016-04-14 Thread Manish Chopra
This patch enables VXLAN tunnel on the adapter and add support for driver hooks to configure UDP ports for VXLAN tunnel offload to be performed by the adapter. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> Signed-off-by:

[PATCH v2 net-next 1/5] qed: Add infrastructure support for tunneling

2016-04-14 Thread Manish Chopra
This patch adds various structure/APIs needed to configure/enable different tunnel [VXLAN/GRE/GENEVE] parameters on the adapter. Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> Signed-off-by: Ariel Elior <ariel.e

[PATCH v2 net-next 4/5] qed: Enable GRE tunnel slowpath configuration

2016-04-14 Thread Manish Chopra
Signed-off-by: Manish Chopra <manish.cho...@qlogic.com> Signed-off-by: Yuval Mintz <yuval.mi...@qlogic.com> Signed-off-by: Ariel Elior <ariel.el...@qlogic.com> --- drivers/net/ethernet/qlogic/qed/qed_main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/e

  1   2   >