* [dpdk-stable] [PATCH] net/failsafe: fix default Rx offload capabilities
@ 2018-01-19 9:42 Moti Haimovsky
2018-01-19 10:33 ` Gaëtan Rivet
0 siblings, 1 reply; 3+ messages in thread
From: Moti Haimovsky @ 2018-01-19 9:42 UTC (permalink / raw)
To: gaetan.rivet; +Cc: dev, Moti Haimovsky, stable
This commit enhances the default Rx offload capabilities of the
failsafe device to initially support all possible capabilities.
This is done in order to support a wider range of Rx offloads
provided by different slave devices.
Fixes: 2199a208232e ("net/failsafe: use new Rx offloads API")
Cc: stable@dpdk.org
Signed-off-by: Moti Haimovsky <motih@mellanox.com>
---
drivers/net/failsafe/failsafe_ops.c | 28 ++++++++++++++++++++++++----
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/drivers/net/failsafe/failsafe_ops.c b/drivers/net/failsafe/failsafe_ops.c
index a2c74f5..3384c3d 100644
--- a/drivers/net/failsafe/failsafe_ops.c
+++ b/drivers/net/failsafe/failsafe_ops.c
@@ -72,18 +72,38 @@
*/
.rx_offload_capa =
DEV_RX_OFFLOAD_VLAN_STRIP |
- DEV_RX_OFFLOAD_QINQ_STRIP |
DEV_RX_OFFLOAD_IPV4_CKSUM |
DEV_RX_OFFLOAD_UDP_CKSUM |
DEV_RX_OFFLOAD_TCP_CKSUM |
- DEV_RX_OFFLOAD_TCP_LRO,
+ DEV_RX_OFFLOAD_TCP_LRO |
+ DEV_RX_OFFLOAD_QINQ_STRIP |
+ DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
+ DEV_RX_OFFLOAD_MACSEC_STRIP |
+ DEV_RX_OFFLOAD_HEADER_SPLIT |
+ DEV_RX_OFFLOAD_VLAN_FILTER |
+ DEV_RX_OFFLOAD_VLAN_EXTEND |
+ DEV_RX_OFFLOAD_JUMBO_FRAME |
+ DEV_RX_OFFLOAD_CRC_STRIP |
+ DEV_RX_OFFLOAD_SCATTER |
+ DEV_RX_OFFLOAD_TIMESTAMP |
+ DEV_RX_OFFLOAD_SECURITY,
.rx_queue_offload_capa =
DEV_RX_OFFLOAD_VLAN_STRIP |
- DEV_RX_OFFLOAD_QINQ_STRIP |
DEV_RX_OFFLOAD_IPV4_CKSUM |
DEV_RX_OFFLOAD_UDP_CKSUM |
DEV_RX_OFFLOAD_TCP_CKSUM |
- DEV_RX_OFFLOAD_TCP_LRO,
+ DEV_RX_OFFLOAD_TCP_LRO |
+ DEV_RX_OFFLOAD_QINQ_STRIP |
+ DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
+ DEV_RX_OFFLOAD_MACSEC_STRIP |
+ DEV_RX_OFFLOAD_HEADER_SPLIT |
+ DEV_RX_OFFLOAD_VLAN_FILTER |
+ DEV_RX_OFFLOAD_VLAN_EXTEND |
+ DEV_RX_OFFLOAD_JUMBO_FRAME |
+ DEV_RX_OFFLOAD_CRC_STRIP |
+ DEV_RX_OFFLOAD_SCATTER |
+ DEV_RX_OFFLOAD_TIMESTAMP |
+ DEV_RX_OFFLOAD_SECURITY,
.tx_offload_capa = 0x0,
.flow_type_rss_offloads = 0x0,
};
--
1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-stable] [PATCH] net/failsafe: fix default Rx offload capabilities
2018-01-19 9:42 [dpdk-stable] [PATCH] net/failsafe: fix default Rx offload capabilities Moti Haimovsky
@ 2018-01-19 10:33 ` Gaëtan Rivet
2018-01-19 20:06 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Gaëtan Rivet @ 2018-01-19 10:33 UTC (permalink / raw)
To: Moti Haimovsky; +Cc: dev, stable
Hi Moti,
On Fri, Jan 19, 2018 at 11:42:48AM +0200, Moti Haimovsky wrote:
> This commit enhances the default Rx offload capabilities of the
> failsafe device to initially support all possible capabilities.
> This is done in order to support a wider range of Rx offloads
> provided by different slave devices.
>
> Fixes: 2199a208232e ("net/failsafe: use new Rx offloads API")
> Cc: stable@dpdk.org
>
> Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
--
Gaëtan Rivet
6WIND
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-stable] [PATCH] net/failsafe: fix default Rx offload capabilities
2018-01-19 10:33 ` Gaëtan Rivet
@ 2018-01-19 20:06 ` Ferruh Yigit
0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2018-01-19 20:06 UTC (permalink / raw)
To: Gaëtan Rivet, Moti Haimovsky; +Cc: dev, stable
On 1/19/2018 10:33 AM, Gaëtan Rivet wrote:
> Hi Moti,
>
> On Fri, Jan 19, 2018 at 11:42:48AM +0200, Moti Haimovsky wrote:
>> This commit enhances the default Rx offload capabilities of the
>> failsafe device to initially support all possible capabilities.
>> This is done in order to support a wider range of Rx offloads
>> provided by different slave devices.
>>
>> Fixes: 2199a208232e ("net/failsafe: use new Rx offloads API")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Moti Haimovsky <motih@mellanox.com>
> Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Squashed into relevant commit in next-net, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-19 20:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19 9:42 [dpdk-stable] [PATCH] net/failsafe: fix default Rx offload capabilities Moti Haimovsky
2018-01-19 10:33 ` Gaëtan Rivet
2018-01-19 20:06 ` Ferruh Yigit
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).