[PATCH net-next v3 2/3] net: ethernet: rmnet: Support for downlink MAPv5 checksum offload

2021-02-23 Thread Sharath Chandra Vurukala
is marked either CHECKSUM_UNNECESSARY or left as CHEKSUM_NONE to let network stack revalidated the checksum and update the respective snmp stats. Current MapV1 header has been modified, the reserved field in the Mapv1 header is now used for next header indication. Signed-off-by: Sharath Chandra Vuruk

[PATCH net-next v3 3/3] net: ethernet: rmnet: Add support for Mapv5 uplink packet

2021-02-23 Thread Sharath Chandra Vurukala
Adding Support for Mapv5 uplink packet. Based on the configuration, request HW for csum offload, by setting the csum_valid_required of Mapv5 packet. Signed-off-by: Sharath Chandra Vurukala --- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h | 4 +- .../net/ethernet/qualcomm/rmnet

[PATCH net-next v3 1/3] docs: networking: Add documentation for MAPv5

2021-02-23 Thread Sharath Chandra Vurukala
Adding documentation explaining the new MAPv5 packet format and the corresponding checksum offload header. Signed-off-by: Sharath Chandra Vurukala --- .../device_drivers/cellular/qualcomm/rmnet.rst | 53 -- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a

[PATCH net-next v3 0/3] net: qualcomm: rmnet: Enable Mapv5

2021-02-23 Thread Sharath Chandra Vurukala
to support big, little endian formats as mentioned by Jakub. v2->v3: - Fixed compilation errors reported by kernel bot for big endian flavor. Sharath Chandra Vurukala (3): docs: networking: Add documentation for MAPv5 net: ethernet: rmnet: Support for downlink MAPv5 checksum offload

[PATCH net-next v2 3/3] net: ethernet: rmnet: Add support for Mapv5 uplink packet

2021-02-22 Thread Sharath Chandra Vurukala
Adding Support for Mapv5 uplink packet. Based on the configuration, request HW for csum offload, by setting the csum_valid_required of Mapv5 packet. Signed-off-by: Sharath Chandra Vurukala --- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h | 4 +- .../net/ethernet/qualcomm/rmnet

[PATCH net-next v2 2/3] net: ethernet: rmnet: Support for downlink MAPv5 checksum offload

2021-02-22 Thread Sharath Chandra Vurukala
is marked either CHECKSUM_UNNECESSARY or left as CHEKSUM_NONE to let network stack revalidated the checksum and update the respective snmp stats. Current MapV1 header has been modified, the reserved field in the Mapv1 header is now used for next header indication. Signed-off-by: Sharath Chandra Vuruk

[PATCH net-next v2 1/3] docs: networking: Add documentation for MAPv5

2021-02-22 Thread Sharath Chandra Vurukala
Adding documentation explaining the new MAPv5 packet format and the corresponding checksum offload header. Signed-off-by: Sharath Chandra Vurukala --- .../device_drivers/cellular/qualcomm/rmnet.rst | 53 -- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a

[PATCH net-next v2 0/3] net: qualcomm: rmnet: Enable Mapv5

2021-02-22 Thread Sharath Chandra Vurukala
to support big, little endian formats as mentioned by Jakub. Sharath Chandra Vurukala (3): docs: networking: Add documentation for MAPv5 net: ethernet: rmnet: Support for downlink MAPv5 checksum offload net: ethernet: rmnet: Add support for Mapv5 uplink packet .../device_drivers/cellu

[PATCH 1/3] docs:networking: Add documentation for MAP v5

2021-02-11 Thread Sharath Chandra Vurukala
Adding documentation explaining the new MAPv5 packet format and the corresponding checksum offload header. Signed-off-by: Sharath Chandra Vurukala --- .../device_drivers/cellular/qualcomm/rmnet.rst | 53 -- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a

[PATCH 3/3] net:ethernet:rmnet: Add support for Mapv5 Uplink packet

2021-02-11 Thread Sharath Chandra Vurukala
Adding Support for Mapv5 uplink packet. Based on the configuration Request HW for csum offload by setting the csum_valid_required of Mapv5 packet. Signed-off-by: Sharath Chandra Vurukala --- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h | 3 +- .../net/ethernet/qualcomm/rmnet

[PATCH 2/3] net:ethernet:rmnet:Support for downlink MAPv5 csum offload

2021-02-11 Thread Sharath Chandra Vurukala
is marked either CHECKSUM_UNNECESSARY or left as CHEKSUM_NONE to let network stack revalidated the checksum and update the respective snmp stats. Signed-off-by: Sharath Chandra Vurukala --- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h | 3 +- .../net/ethernet/qualcomm/rmnet/rmnet_handler

[PATCH 0/3]net:qualcomm:rmnet:Enable Mapv5.

2021-02-11 Thread Sharath Chandra Vurukala
, the checksum is verified by the HW and the validity is marked in the checksum header of MAPv5. for TX, the required metadata is filled up so hardware can compute the checksum. Sharath Chandra Vurukala (3): docs:networking: Add documentation for MAP v5 net:ethernet:rmnet:Support for downlink

[PATCH] net: tcp: add correct check for tcp_retransmit_skb()

2018-11-30 Thread Sharath Chandra Vurukala
failure which checks if the return value is greater than zero. The check is corrected to check for non-zero value. Signed-off-by: Sharath Chandra Vurukala --- net/ipv4/tcp_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index

[PATCH] net: tcp: add correct check for tcp_retransmit_skb()

2018-11-26 Thread Sharath Chandra Vurukala
failure which checks if the return value is greater than zero. The check is corrected to check for non-zero value. Change-Id: I494fed73b2e385216402c91e9558d5c2884add5b Signed-off-by: Sharath Chandra Vurukala --- net/ipv4/tcp_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git