numam-dpdk/drivers/net
Viacheslav Ovsiienko 55deee1715 net/mlx5: extend flow mark support
Flow MARK item is newly supported along with MARK action. MARK
action and item are supported on both Rx and Tx. It works on the
metadata reg_c[] only if extensive flow metadata register is
supported. Without the support, MARK action behaves same as
before - valid only on Rx and no MARK item is valid.

FLAG action is also modified accordingly. FLAG action is
supported on both Rx and Tx via reg_c[] if extensive flow
metadata register is supported.

However, the new MARK/FLAG item and action are currently
disabled until register copy on loopback is supported by
forthcoming patches.

The actual index of engaged metadata reg_c[] register to
support FLAG/MARK actions depends on dv_xmeta_en devarg value.

For extensive metadata mode 1 the reg_c[1] is used and
transitive MARK data width is 24. For extensive metadata mode 2
the reg_c[0] is used and transitive MARK data width might be
restricted to 0 or 16 bits, depending on kernel usage of reg_c[0].
The actual supported width can be discovered by series of trials
with rte_flow_validate().

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2019-11-11 14:23:02 +01:00
..
af_packet net/af_packet: improve Tx statistics accuracy 2019-10-23 16:43:10 +02:00
af_xdp net/af_xdp: support unaligned umem chunks 2019-10-23 16:43:10 +02:00
ark ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
atlantic net/atlantic: add FW mailbox guard mutex 2019-10-08 12:14:31 +02:00
avp ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
axgbe net/axgbe: fix double unlock 2019-10-23 16:43:10 +02:00
bnx2x net/bnx2x: fix meson build 2019-11-06 11:55:24 +01:00
bnxt net/bnxt: fix Rx queue start/stop for Thor based NICs 2019-11-08 23:15:04 +01:00
bonding net/bonding: fix port ID check 2019-11-08 23:15:04 +01:00
cxgbe net/cxgbe: fix races on flow API operations 2019-10-08 12:14:32 +02:00
dpaa bus/dpaa: move QBMAN global init to bus 2019-11-06 01:14:41 +01:00
dpaa2 net/dpaa2: fix possible use of uninitialized vars 2019-11-08 15:23:41 +01:00
e1000 net/igb: fix PHY status if PHY reset is not blocked 2019-11-08 23:15:04 +01:00
ena net/ena: fix indication of bad L4 Rx checksums 2019-11-08 23:15:04 +01:00
enetc net/enetc: enable dpaax library 2019-10-23 16:43:10 +02:00
enic net/enic: re-enable link status change interrupt 2019-11-08 23:15:05 +01:00
failsafe rename private header files 2019-10-27 22:03:06 +01:00
fm10k net/fm10k: fix mbuf free in vector Rx 2019-11-08 23:15:04 +01:00
hinic net/hinic: optimize mbuf allocation 2019-11-08 23:15:05 +01:00
hns3 net/hns3: fix FLR reset 2019-10-25 19:23:23 +02:00
i40e ethdev: enhance burst mode information API 2019-11-08 23:15:04 +01:00
iavf net/iavf: enable AVX2 for iavf 2019-10-23 16:43:10 +02:00
ice net/ice: fix flow director tunnel profile existence check 2019-11-08 23:15:05 +01:00
ifc net/ifc: clean LTO warnings 2019-11-08 15:23:41 +01:00
ipn3ke net/ipn3ke: remove commented out code 2019-11-08 16:40:28 +01:00
ixgbe net/ixgbe: fix link status 2019-11-08 23:15:04 +01:00
kni drivers/net: enable promiscuous and multicast by default 2019-10-23 16:43:10 +02:00
liquidio ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
memif net/memif: support multiple Tx 2019-10-25 19:00:22 +02:00
mlx4 net/mlx: fix debug build with icc 2019-10-25 19:23:22 +02:00
mlx5 net/mlx5: extend flow mark support 2019-11-11 14:23:02 +01:00
mvneta ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
mvpp2 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
netvsc ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
nfb ethdev: move queue state defines to private file 2019-11-08 23:15:04 +01:00
nfp ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
null drivers/net: enable promiscuous and multicast by default 2019-10-23 16:43:10 +02:00
octeontx ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
octeontx2 net/octeontx2: support SDP interface 2019-11-08 23:15:05 +01:00
pcap net/pcap: fix argument checks 2019-11-08 15:34:10 +01:00
pfe mk: fix dpaax library dependency 2019-11-08 23:15:04 +01:00
qede net/qede: fix setting VLAN strip mode 2019-11-08 23:15:04 +01:00
ring drivers/net: enable promiscuous and multicast by default 2019-10-23 16:43:10 +02:00
sfc net/sfc: fix adapter lock usage on rule creation 2019-11-08 23:15:05 +01:00
softnic net/softnic: add subport config flexibility to TM 2019-10-25 17:53:00 +02:00
szedata2 net/szedata2: fix dependency check 2019-10-08 12:14:31 +02:00
tap net/tap: fix blocked Rx packets 2019-10-23 16:43:08 +02:00
thunderx ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
vdev_netvsc drivers: remove duplicated compiler flags 2019-10-24 01:04:14 +02:00
vhost net/vhost: support TSO disabling 2019-10-07 15:00:57 +02:00
virtio net/virtio-user: fix setting filters 2019-11-08 23:15:05 +01:00
vmxnet3 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
Makefile net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00
meson.build net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00