commit | 5886a96ad19dacebe6c4f7f8c001d489b06125dc | [log] [tgz] |
---|---|---|
author | Oz Shlomo <ozsh@mellanox.com> | Mon Dec 10 13:15:13 2018 -0800 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Mon Dec 10 14:00:08 2018 -0800 |
tree | 6b15d26d0a5c29153a511975f31a24a6c87555aa | |
parent | fd4572b3ff3ff57ca7fa612f9ea42b90afdd8bff [diff] |
net/mlx5: Revise gre and nvgre key formats GRE RFC defines a 32 bit key field. NVGRE RFC splits the 32 bit key field to 24 bit VSID (gre_key_h) and 8 bit flow entropy (gre_key_l). Define the two key parsing alternatives in a union, thus enabling both access methods. Signed-off-by: Oz Shlomo <ozsh@mellanox.com> Reviewed-by: Eli Britstein <elibr@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>