This patch adds the support for IPv4 fragmented packets, but with
some limitations: for non-zero fragment offset an exact match is not
allowed, but ranges are allowed.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_mae.c
This patch seria adds support for matching fragment offsets for IPv4 packets,
but with some limitations. Exact matching is supported only for zero offset,
ranges are allowed for non-zero offsets.
v2:
* fix build issue
Artemii Morozov (2):
common/sfc_efx/base: add MAE IP fragmentation match
Introduce necessary infrastructure for these bits to
be set and validated. Using a combination of these bits
IP fragmentation can be configured.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/efx.h | 4
drivers/common
This patch adds the support for IPv4 fragmented packets, but with
some limitations: for non-zero fragment offset an exact match is not
allowed, but ranges are allowed.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_mae.c
This patch seria adds support for matching fragment offsets for IPv4 packets,
but with some limitations. Exact matching is supported only for zero offset,
ranges are allowed for non-zero offsets.
Artemii Morozov (2):
common/sfc_efx/base: add MAE IP fragmentation match bits
net/sfc: support
Introduce necessary infrastructure for these bits to
be set and validated. Using a combination of these bits
IP fragmentation can be configured.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/efx.h | 4
drivers/common
Extract VLAN TCI provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only. This is device
level offload.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
Acked-by: Andrew
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
Rx prefix should be requested.
VLAN stripping is supported on EF100.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
Acked-by: Andrew Rybchenko
This API allows to get number of installed filters. This will
be used in the future patches.
Signed-off-by: Artemii Morozov
Acked-by: Andrew Rybchenko
---
drivers/common/sfc_efx/base/ef10_filter.c | 20 ++
drivers/common/sfc_efx/base/ef10_impl.h | 6 +
drivers/common/sfc_efx
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
Acked-by: Andrew Rybchenko
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h
v3:
* fix apply patch failure warning
v2:
* rebase patches on top of dpdk-next-net/main
Artemii Morozov (4):
common/sfc_efx/base: report VLAN stripping capability
common/sfc_efx/base: add API to get installed filters count
common/sfc_efx/base: add support to enable VLAN stripping
net
Extract VLAN TCI provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only. This is device
level offload.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
doc/guides/nics
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
Rx prefix should be requested.
VLAN stripping is supported on EF100.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base
This API allows to get number of installed filters. This will
be used in the future patches.
Signed-off-by: Artemii Morozov
---
drivers/common/sfc_efx/base/ef10_filter.c | 20 ++
drivers/common/sfc_efx/base/ef10_impl.h | 6 +
drivers/common/sfc_efx/base/efx_filter.c | 32
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
Acked-by: Andrew Rybchenko
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h
:
* rebase patches on top of dpdk-next-net/main
Artemii Morozov (4):
common/sfc_efx/base: report VLAN stripping capability
common/sfc_efx/base: add API to get installed filters count
common/sfc_efx/base: add support to enable VLAN stripping
net/sfc: support VLAN stripping offload
doc/guides/nics
On 6/22/23 17:13, Ferruh Yigit wrote:
On 6/22/2023 1:31 PM, Artemii Morozov wrote:
If the prefix for the RSS hash was not chosen the ENOTSUP error should
be returned.
Before this patch success was returned for this case causing Rx queue
creation to fail.
Fixing return value to indicate
hash")
Cc: sta...@dpdk.org
Signed-off-by: Artemii Morozov
Reviewed-by: Andy Moreton
Acked-by: Andrew Rybchenko
---
v5: update commit message
v4: add Cc: sta...@dpdk.org and transform rss to RSS
v3: update commit log as fix commit
v2: don't use capital letters in email
drivers/comm
Extract VLAN TCI provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only. This is device
level offload.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
doc/guides/nics
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
Rx prefix should be requested.
VLAN stripping is supported on EF100.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base
This API allows to get number of installed filters. This will
be used in the future patches.
Signed-off-by: Artemii Morozov
---
drivers/common/sfc_efx/base/ef10_filter.c | 20 +
drivers/common/sfc_efx/base/ef10_impl.h | 6 +
drivers/common/sfc_efx/base/efx_filter.c | 27
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h | 1 +
drivers/common
with abbreviations
* fixed problems with isolated mode
* fixed problems with consistency
v4:
* fix apply patch failure warning
v3:
* fix apply patch failure warning
v2:
* rebase patches on top of dpdk-next-net/main
Artemii Morozov (4):
common/sfc_efx/base: report VLAN stripping
If the prefix for the RSS hash was not chosen the
ENOTSUP error should be returned. Before this patch
the zero code was returned in case of an error.
Fixes: f784cdc5cbb1 ("common/sfc_efx/base: provide control to deliver RSS hash")
Cc: sta...@dpdk.org
Signed-off-by: Artemii Morozov
R
If the prefix for the rss hash was not chosen the
ENOTSUP error should be returned. Before this patch
the zero code was returned in case of an error.
Fixes: f784cdc5cbb1 ("common/sfc_efx/base: provide control to deliver RSS hash")
Signed-off-by: Artemii Morozov
Reviewed-by: Andy Moret
On 6/20/23 15:50, Andrew Rybchenko wrote:
On 6/20/23 12:55, Artemii Morozov wrote:
On 6/19/23 14:28, Andrew Rybchenko wrote:
On 6/13/23 18:12, Artemii Morozov wrote:
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix
On 6/19/23 14:28, Andrew Rybchenko wrote:
On 6/13/23 18:12, Artemii Morozov wrote:
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix should be requested.
RX -> Rx
VLAN stripping is supported for ef100 datapath o
Extract VLAN TCI provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only. This is device
level offload.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
doc/guides/nics
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix should be requested.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h | 1 +
drivers/common
apply patch failure warning
v2:
* rebase patches on top of dpdk-next-net/main
Artemii Morozov (3):
common/sfc_efx/base: report VLAN stripping capability
common/sfc_efx/base: add support to enable VLAN stripping
net/sfc: support VLAN stripping offload
doc/guides/nics/sfc_efx.rst
Hello,
On 6/2/23 12:32, Andrew Rybchenko wrote:
On 6/1/23 18:30, Artemii Morozov wrote:
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix should be requested.
RX -> Rx
VLAN stripping is supported for ef100 datapath o
Extract vlan tci provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
doc/guides/nics/sfc_efx.rst| 4
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix should be requested.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h | 1 +
drivers/common
This patch series adds VLAN stripping offload. Note that this
offload are device level offload.
v4:
* fix apply patch failure warning
v3:
* fix apply patch failure warning
v2:
* rebase patches on top of dpdk-next-net/main
Artemii Morozov (3):
common/sfc_efx/base: report VLAN stripping
Extract vlan tci provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
doc/guides/nics/sfc_efx.rst| 4
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix should be requested.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h | 1 +
drivers/common
This patch series adds VLAN stripping offload. Note that this
offload are device level offload.
v3:
* fix apply patch failure warning
v2:
* rebase patches on top of dpdk-next-net/main
Artemii Morozov (3):
common/sfc_efx/base: report VLAN stripping capability
common/sfc_efx/base: add
Extract vlan tci provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
doc/guides/nics/sfc_efx.rst| 4
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix should be requested.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h | 1 +
drivers/common
This patch series adds VLAN stripping offload. Note that this
offload are device level offload.
v2:
* rebase patches on top of dpdk-next-net/main
Artemii Morozov (3):
common/sfc_efx/base: report VLAN stripping capability
common/sfc_efx/base: add support to enable VLAN stripping
net/sfc
If the prefix for the rss hash was not chosen the
ENOTSUP error should be returned.
Signed-off-by: Artemii Morozov
Reviewed-by: Andy Moreton
---
v2: don't use capital letters in email
drivers/common/sfc_efx/base/efx_rx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --
Extract vlan tci provided by the HW in the prefix and put it to mbuf.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Viacheslav Galaktionov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
doc/guides/nics/sfc_efx.rst| 4
To enable VLAN stripping, two conditions must be met:
the corresponding flag must be set and the appropriate
RX prefix should be requested.
VLAN stripping is supported for ef100 datapath only.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common
These changes are necessary in order to add support for stripping
VLAN tags in the future.
Signed-off-by: Artemii Morozov
Reviewed-by: Ivan Malov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/ef10_nic.c | 6 ++
drivers/common/sfc_efx/base/efx.h | 1 +
drivers/common
This patch series adds VLAN stripping offload. Note that this
offload are device level offload.
Artemii Morozov (3):
common/sfc_efx/base: report
The MCDI headers have newer, but ABI-compatible field names for
these actions.
Signed-off-by: Artemii Morozov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/ef10_filter.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/common/sfc_efx/base
From: Artemii Morozov
If the prefix for the rss hash was not chosen the
ENOTSUP error should be returned.
Signed-off-by: Artemii Morozov
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/efx_rx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/common
51 matches
Mail list logo