net/mlx5e: Add cache for HW modify header IDs
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / eswitch.h
index b746f62c8c79b17a64c0923665917170a075092a..834a33050969719ca6e13b27c11b6eb895c02257 100644 (file)
@@ -207,6 +207,7 @@ struct mlx5_esw_offload {
        struct mlx5_flow_group *vport_rx_group;
        struct mlx5_eswitch_rep *vport_reps;
        DECLARE_HASHTABLE(encap_tbl, 8);
+       DECLARE_HASHTABLE(mod_hdr_tbl, 8);
        u8 inline_mode;
        u64 num_flows;
        u8 encap;