summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_rxq.c
diff options
context:
space:
mode:
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>2018-04-25 17:27:48 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2018-04-27 18:00:53 +0100
commit19b3bc47c624296002a6b0c18b97afa423c082d7 (patch)
tree841872b663d18c806ba8c56627bc3042a6e0b66c /drivers/net/mlx5/mlx5_rxq.c
parentcc17feb904136d740b9b9fac0db4a1a63e23cb1b (diff)
downloaddpdk-19b3bc47c624296002a6b0c18b97afa423c082d7.zip
dpdk-19b3bc47c624296002a6b0c18b97afa423c082d7.tar.gz
dpdk-19b3bc47c624296002a6b0c18b97afa423c082d7.tar.xz
ethdev: fix C99 flexible arrays from flow API
This patch replaces C99-style flexible arrays in struct rte_flow_action_rss and struct rte_flow_item_raw with standard pointers to the same data. They proved difficult to use in the field (e.g. no possibility of static initialization) and unsuitable for C++ applications. Affected PMDs and examples are updated accordingly. This breaks ABI compatibility for the following public functions: - rte_flow_copy() - rte_flow_create() - rte_flow_query() - rte_flow_validate() Fixes: b1a4b4cbc0a8 ("ethdev: introduce generic flow API") Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_rxq.c')
0 files changed, 0 insertions, 0 deletions