numam-dpdk/drivers/net
Suanming Mou 0136df99a9 net/mlx5: reorganize flow API structure
Currently, the rte flow structure is not fully aligned and has some
bits wasted. The members can be optimized and reorganized to save
memory.

1. The drv_type uses only limited bits, change the type to 2 bits what
it needs.

2. Align the hairpin_flow_id, drv_type, fdir, copy_applied to 32 bits.
As hairpin never uses the full 32 bits.

3. __rte_packed helps tight up the structure memory layout.

The optimization totally helps save 14 bytes for the structure.

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-04-21 13:57:09 +02:00
..
af_packet net/af_packet: remove queue number limitation 2020-03-18 10:21:41 +01:00
af_xdp net/af_xdp: fix maximum MTU 2020-02-14 12:42:12 +01:00
ark replace packed attributes 2020-04-16 18:16:46 +02:00
atlantic replace packed attributes 2020-04-16 18:16:46 +02:00
avp replace packed attributes 2020-04-16 18:16:46 +02:00
axgbe build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
bnx2x net/bnx2x: handle guest VLAN for SR-IOV 2020-04-21 13:57:07 +02:00
bnxt net/bnxt: remove redefinition of page size 2020-04-21 13:57:09 +02:00
bonding replace unused attributes 2020-04-16 18:30:58 +02:00
cxgbe net/cxgbe: add devargs to control filtermode and filtermask 2020-03-18 15:29:39 +01:00
dpaa net/dpaa: use dynamic log type 2020-04-21 13:57:05 +02:00
dpaa2 replace hot attributes 2020-04-16 18:30:58 +02:00
e1000 build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
ena net/ena: update driver version to v2.1.0 2020-04-21 13:57:07 +02:00
enetc replace hot attributes 2020-04-16 18:30:58 +02:00
enic net/enic: allow multiple mark and flag actions 2020-04-21 13:57:08 +02:00
failsafe build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
fm10k replace cold attributes 2020-04-16 18:30:58 +02:00
hinic net/hinic: adds Tx queue xstats members 2020-04-21 13:57:07 +02:00
hns3 net/hns3: fix VLAN filter when setting promisucous mode 2020-04-21 13:57:07 +02:00
i40e net/i40e: add ESP patterns 2020-04-21 13:57:08 +02:00
iavf net/iavf: support more flow patterns 2020-04-21 13:57:07 +02:00
ice net/ice/base: force switch to use different recipe 2020-04-21 13:57:08 +02:00
igc net/igc: support flow API 2020-04-21 13:57:08 +02:00
ionic replace cold attributes 2020-04-16 18:30:58 +02:00
ipn3ke net/ipn3ke: use control thread to check link status 2020-04-21 13:57:04 +02:00
ixgbe net/ixgbe: fix e-tag definition 2020-04-21 13:57:05 +02:00
kni net/kni: fix crash caused by double stop 2019-11-26 18:22:27 +01:00
liquidio build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
memif net/memif: enable promiscuous mode 2020-04-21 13:57:08 +02:00
mlx4 net/mlx4: fix build with -fno-common 2020-04-21 13:57:07 +02:00
mlx5 net/mlx5: reorganize flow API structure 2020-04-21 13:57:09 +02:00
mvneta net/mvneta: do not use PMD log type 2020-04-21 13:57:05 +02:00
mvpp2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
netvsc net/netvsc: avoid possible live lock 2020-04-21 13:57:06 +02:00
nfb net/nfb: check array size before access 2020-04-21 13:57:06 +02:00
nfp net/nfp: fix dangling pointer on probe failure 2020-04-21 13:57:06 +02:00
null net/null: add argument for no Rx 2020-04-21 13:57:07 +02:00
octeontx net/octeontx: support Rx/Tx checksum offload 2020-04-21 13:57:06 +02:00
octeontx2 net/octeontx2: disable unnecessary error interrupts 2020-04-21 13:57:07 +02:00
pcap net/pcap: truncate packet if it is too large 2020-01-17 19:45:23 +01:00
pfe net/pfe: fix double free of MAC address 2020-04-21 13:57:07 +02:00
qede replace unused attributes 2020-04-16 18:30:58 +02:00
ring build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
sfc net/sfc: add Xilinx copyright 2020-04-21 13:57:06 +02:00
softnic replace packed attributes 2020-04-16 18:16:46 +02:00
szedata2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
tap net/tap: fix queues fd check before close 2020-04-21 13:57:09 +02:00
thunderx net/thunderx: use dynamic log type 2020-04-21 13:57:05 +02:00
vdev_netvsc build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
vhost net/vhost: fix potential memory leak on close 2020-04-21 13:57:07 +02:00
virtio net/virtio: support Virtio link speed feature 2020-04-21 13:57:09 +02:00
vmxnet3 net/vmxnet3: support MTU set 2020-04-21 13:57:06 +02:00
Makefile net/igc: add skeleton 2020-04-21 13:57:07 +02:00
meson.build net/igc: add skeleton 2020-04-21 13:57:07 +02:00