diff options
author | Damjan Marion <damarion@cisco.com> | 2018-06-09 10:36:11 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-06-09 17:31:02 +0000 |
commit | 43f64ce3a251f260a0ba3236f1baa3607c3e47f2 (patch) | |
tree | 66395f0e5689293faa5e78dcf9f1334f453edcd6 /src/plugins/avf/virtchnl.h | |
parent | 1c869c71c72976a9ee5960fdc7388bd174399cf8 (diff) |
avf: properly cofigure RSS LUT
Change-Id: I85cfab692ae0a72277ae561cdba7dcbc1f60aca3
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/virtchnl.h')
-rw-r--r-- | src/plugins/avf/virtchnl.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/plugins/avf/virtchnl.h b/src/plugins/avf/virtchnl.h index 671da959c2b..3b85b0ebd62 100644 --- a/src/plugins/avf/virtchnl.h +++ b/src/plugins/avf/virtchnl.h @@ -333,6 +333,25 @@ typedef struct foreach_virtchnl_eth_stats #undef _ } virtchnl_eth_stats_t; + +typedef struct +{ + u16 vsi_id; + u16 key_len; + u8 key[1]; +} virtchnl_rss_key_t; + +STATIC_ASSERT_SIZEOF (virtchnl_rss_key_t, 6); + +typedef struct +{ + u16 vsi_id; + u16 lut_entries; + u8 lut[1]; +} virtchnl_rss_lut_t; + +STATIC_ASSERT_SIZEOF (virtchnl_rss_lut_t, 6); + /* * fd.io coding-style-patch-verification: ON * |