[dpdk-dev] [PATCH v2 3/3] net/sfc: support matching on VLAN presence in transfer rules

2021-05-22 Thread Ivan Malov
Take into account VLAN presence fields in items ETH and VLAN. Provided that the item ETH does not match on the EtherType, the pattern behaviour will be as follows: - ETH (mask->has_vlan = 0) | IPv4= match both tagged and untagged; - ETH (mask->has_vlan = 1) | IPv4= match as per sp

[dpdk-dev] [PATCH v2 2/3] common/sfc_efx/base: add MAE VLAN presence match bits

2021-05-22 Thread Ivan Malov
Introduce necessary infrastructure for these fields to be set, validated and compared during class comparison. Enumeration and mappings envisaged are MCDI-compatible. Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko Reviewed-by: Andy Moreton Acked-by: Ray Kinsella --- drivers/common/sf

[dpdk-dev] [PATCH v2 0/3] Match On VLAN Presence In Transfer Flows

2021-05-22 Thread Ivan Malov
Changes in v2: * [1/3] no longer triggers spelling warnings Andrew Rybchenko (1): common/sfc_efx/base: update MCDI headers Ivan Malov (2): common/sfc_efx/base: add MAE VLAN presence match bits net/sfc: support matching on VLAN presence in transfer rules drivers/common/sfc_efx/base/efx.h

[dpdk-dev] [PATCH] ixgbe: Add runtime tx/rx queue setup for X550

2021-05-22 Thread Wu, Jianyue (NSB - CN/Hangzhou)
X550 NIC can support runtime tx/rx queue setup. Add capacity in dev_capa and queue offload capacity. Signed-off-by: Wu, Jianyue (NSB - CN/Hangzhou) --- drivers/net/ixgbe/ixgbe_ethdev.c | 22 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 21 +++-- 2 files changed, 41