* [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
@ 2018-09-21 7:36 Beilei Xing
2018-09-21 8:15 ` Ananyev, Konstantin
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Beilei Xing @ 2018-09-21 7:36 UTC (permalink / raw)
To: qi.z.zhang; +Cc: dev
HW supports Rx scatter offload, this patch updates
Rx scatter offload for PF.
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 24d73f2..37c9c08 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
DEV_RX_OFFLOAD_TCP_CKSUM |
DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
DEV_RX_OFFLOAD_KEEP_CRC |
+ DEV_RX_OFFLOAD_SCATTER |
DEV_RX_OFFLOAD_VLAN_EXTEND |
DEV_RX_OFFLOAD_VLAN_FILTER |
DEV_RX_OFFLOAD_JUMBO_FRAME;
--
2.5.5
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
2018-09-21 7:36 [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Beilei Xing
@ 2018-09-21 8:15 ` Ananyev, Konstantin
2018-09-21 13:58 ` Zhang, Qi Z
2018-09-21 8:25 ` [dpdk-dev] [PATCH v2] net/i40e: update Rx offload Beilei Xing
2018-09-25 15:35 ` [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Kevin Traynor
2 siblings, 1 reply; 9+ messages in thread
From: Ananyev, Konstantin @ 2018-09-21 8:15 UTC (permalink / raw)
To: Xing, Beilei, Zhang, Qi Z; +Cc: dev
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing
> Sent: Friday, September 21, 2018 8:36 AM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
>
> HW supports Rx scatter offload, this patch updates
> Rx scatter offload for PF.
>
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> ---
> drivers/net/i40e/i40e_ethdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
> index 24d73f2..37c9c08 100644
> --- a/drivers/net/i40e/i40e_ethdev.c
> +++ b/drivers/net/i40e/i40e_ethdev.c
> @@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
> DEV_RX_OFFLOAD_TCP_CKSUM |
> DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
> DEV_RX_OFFLOAD_KEEP_CRC |
> + DEV_RX_OFFLOAD_SCATTER |
> DEV_RX_OFFLOAD_VLAN_EXTEND |
> DEV_RX_OFFLOAD_VLAN_FILTER |
> DEV_RX_OFFLOAD_JUMBO_FRAME;
> --
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> 2.5.5
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH v2] net/i40e: update Rx offload
2018-09-21 7:36 [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Beilei Xing
2018-09-21 8:15 ` Ananyev, Konstantin
@ 2018-09-21 8:25 ` Beilei Xing
2018-09-25 15:35 ` [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Kevin Traynor
2 siblings, 0 replies; 9+ messages in thread
From: Beilei Xing @ 2018-09-21 8:25 UTC (permalink / raw)
To: qi.z.zhang; +Cc: dev
HW supports Rx scatter offload, this patch updates
Rx scatter offload for PF.
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 1 +
1 file changed, 1 insertion(+)
v2 change:
- Remove typo in title
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 24d73f2..37c9c08 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
DEV_RX_OFFLOAD_TCP_CKSUM |
DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
DEV_RX_OFFLOAD_KEEP_CRC |
+ DEV_RX_OFFLOAD_SCATTER |
DEV_RX_OFFLOAD_VLAN_EXTEND |
DEV_RX_OFFLOAD_VLAN_FILTER |
DEV_RX_OFFLOAD_JUMBO_FRAME;
--
2.5.5
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
2018-09-21 8:15 ` Ananyev, Konstantin
@ 2018-09-21 13:58 ` Zhang, Qi Z
0 siblings, 0 replies; 9+ messages in thread
From: Zhang, Qi Z @ 2018-09-21 13:58 UTC (permalink / raw)
To: Ananyev, Konstantin, Xing, Beilei; +Cc: dev
> -----Original Message-----
> From: Ananyev, Konstantin
> Sent: Friday, September 21, 2018 4:16 PM
> To: Xing, Beilei <beilei.xing@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
>
>
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing
> > Sent: Friday, September 21, 2018 8:36 AM
> > To: Zhang, Qi Z <qi.z.zhang@intel.com>
> > Cc: dev@dpdk.org
> > Subject: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
> >
> > HW supports Rx scatter offload, this patch updates Rx scatter offload
> > for PF.
> >
> > Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> > ---
> > drivers/net/i40e/i40e_ethdev.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/net/i40e/i40e_ethdev.c
> > b/drivers/net/i40e/i40e_ethdev.c index 24d73f2..37c9c08 100644
> > --- a/drivers/net/i40e/i40e_ethdev.c
> > +++ b/drivers/net/i40e/i40e_ethdev.c
> > @@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev,
> struct rte_eth_dev_info *dev_info)
> > DEV_RX_OFFLOAD_TCP_CKSUM |
> > DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
> > DEV_RX_OFFLOAD_KEEP_CRC |
> > + DEV_RX_OFFLOAD_SCATTER |
> > DEV_RX_OFFLOAD_VLAN_EXTEND |
> > DEV_RX_OFFLOAD_VLAN_FILTER |
> > DEV_RX_OFFLOAD_JUMBO_FRAME;
> > --
>
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
> > 2.5.5
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
2018-09-21 7:36 [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Beilei Xing
2018-09-21 8:15 ` Ananyev, Konstantin
2018-09-21 8:25 ` [dpdk-dev] [PATCH v2] net/i40e: update Rx offload Beilei Xing
@ 2018-09-25 15:35 ` Kevin Traynor
2018-09-25 15:50 ` Ferruh Yigit
2 siblings, 1 reply; 9+ messages in thread
From: Kevin Traynor @ 2018-09-25 15:35 UTC (permalink / raw)
To: Beilei Xing, qi.z.zhang; +Cc: dev
On 09/21/2018 08:36 AM, Beilei Xing wrote:
> HW supports Rx scatter offload, this patch updates
> Rx scatter offload for PF.
>
Should this be for stable branch also?
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> ---
> drivers/net/i40e/i40e_ethdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
> index 24d73f2..37c9c08 100644
> --- a/drivers/net/i40e/i40e_ethdev.c
> +++ b/drivers/net/i40e/i40e_ethdev.c
> @@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
> DEV_RX_OFFLOAD_TCP_CKSUM |
> DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
> DEV_RX_OFFLOAD_KEEP_CRC |
> + DEV_RX_OFFLOAD_SCATTER |
> DEV_RX_OFFLOAD_VLAN_EXTEND |
> DEV_RX_OFFLOAD_VLAN_FILTER |
> DEV_RX_OFFLOAD_JUMBO_FRAME;
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
2018-09-25 15:35 ` [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Kevin Traynor
@ 2018-09-25 15:50 ` Ferruh Yigit
0 siblings, 0 replies; 9+ messages in thread
From: Ferruh Yigit @ 2018-09-25 15:50 UTC (permalink / raw)
To: Kevin Traynor, Beilei Xing, qi.z.zhang; +Cc: dev
On 9/25/2018 4:35 PM, Kevin Traynor wrote:
> On 09/21/2018 08:36 AM, Beilei Xing wrote:
>> HW supports Rx scatter offload, this patch updates
>> Rx scatter offload for PF.
>>
>
> Should this be for stable branch also?
I think it should, I will update in next-net, Thanks for reminder.
>
>> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
>> ---
>> drivers/net/i40e/i40e_ethdev.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
>> index 24d73f2..37c9c08 100644
>> --- a/drivers/net/i40e/i40e_ethdev.c
>> +++ b/drivers/net/i40e/i40e_ethdev.c
>> @@ -3378,6 +3378,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
>> DEV_RX_OFFLOAD_TCP_CKSUM |
>> DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
>> DEV_RX_OFFLOAD_KEEP_CRC |
>> + DEV_RX_OFFLOAD_SCATTER |
>> DEV_RX_OFFLOAD_VLAN_EXTEND |
>> DEV_RX_OFFLOAD_VLAN_FILTER |
>> DEV_RX_OFFLOAD_JUMBO_FRAME;
>>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
2018-02-02 8:13 ` Zhang, Helin
@ 2018-02-02 8:17 ` Zhang, Helin
0 siblings, 0 replies; 9+ messages in thread
From: Zhang, Helin @ 2018-02-02 8:17 UTC (permalink / raw)
To: Zhang, Helin, Xing, Beilei, Zhang, Qi Z; +Cc: dev
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhang, Helin
> Sent: Friday, February 2, 2018 4:14 PM
> To: Xing, Beilei; Zhang, Qi Z
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
>
>
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing
> > Sent: Wednesday, January 31, 2018 11:34 AM
> > To: Zhang, Qi Z
> > Cc: dev@dpdk.org
> > Subject: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
> >
> > HW supports outer IP Rx checksum offload, this patch updates Rx
> > checksum offload for PF and VF.
> >
> > Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> Acked-by: Helin Zhang <helin.zhang@intel.com>
Applied to dpdk-next-net-intel, thanks!
/Helin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
2018-01-31 3:34 Beilei Xing
@ 2018-02-02 8:13 ` Zhang, Helin
2018-02-02 8:17 ` Zhang, Helin
0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Helin @ 2018-02-02 8:13 UTC (permalink / raw)
To: Xing, Beilei, Zhang, Qi Z; +Cc: dev
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing
> Sent: Wednesday, January 31, 2018 11:34 AM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
>
> HW supports outer IP Rx checksum offload, this patch updates Rx checksum
> offload for PF and VF.
>
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload
@ 2018-01-31 3:34 Beilei Xing
2018-02-02 8:13 ` Zhang, Helin
0 siblings, 1 reply; 9+ messages in thread
From: Beilei Xing @ 2018-01-31 3:34 UTC (permalink / raw)
To: qi.z.zhang; +Cc: dev
HW supports outer IP Rx checksum offload, this patch
updates Rx checksum offload for PF and VF.
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 3 ++-
drivers/net/i40e/i40e_ethdev_vf.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 1ba18f2..ebc949c 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -3083,7 +3083,8 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
DEV_RX_OFFLOAD_QINQ_STRIP |
DEV_RX_OFFLOAD_IPV4_CKSUM |
DEV_RX_OFFLOAD_UDP_CKSUM |
- DEV_RX_OFFLOAD_TCP_CKSUM;
+ DEV_RX_OFFLOAD_TCP_CKSUM |
+ DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM;
dev_info->tx_offload_capa =
DEV_TX_OFFLOAD_VLAN_INSERT |
DEV_TX_OFFLOAD_QINQ_INSERT |
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index 57f7613..7e5c6e9 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i40e_ethdev_vf.c
@@ -2194,7 +2194,8 @@ i40evf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
DEV_RX_OFFLOAD_QINQ_STRIP |
DEV_RX_OFFLOAD_IPV4_CKSUM |
DEV_RX_OFFLOAD_UDP_CKSUM |
- DEV_RX_OFFLOAD_TCP_CKSUM;
+ DEV_RX_OFFLOAD_TCP_CKSUM |
+ DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM;
dev_info->tx_offload_capa =
DEV_TX_OFFLOAD_VLAN_INSERT |
DEV_TX_OFFLOAD_QINQ_INSERT |
--
2.5.5
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-09-25 15:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-21 7:36 [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Beilei Xing
2018-09-21 8:15 ` Ananyev, Konstantin
2018-09-21 13:58 ` Zhang, Qi Z
2018-09-21 8:25 ` [dpdk-dev] [PATCH v2] net/i40e: update Rx offload Beilei Xing
2018-09-25 15:35 ` [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload Kevin Traynor
2018-09-25 15:50 ` Ferruh Yigit
-- strict thread matches above, loose matches on Subject: below --
2018-01-31 3:34 Beilei Xing
2018-02-02 8:13 ` Zhang, Helin
2018-02-02 8:17 ` Zhang, Helin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).