net: Add vnet_hdr_len arguments in NetClientState
Add vnet_hdr_len arguments in NetClientState that make other module get real vnet_hdr_len easily. Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
6632f6ff96
commit
d6b732e953
@ -100,6 +100,7 @@ struct NetClientState {
|
||||
unsigned int queue_index;
|
||||
unsigned rxfilter_notify_enabled:1;
|
||||
int vring_enable;
|
||||
int vnet_hdr_len;
|
||||
QTAILQ_HEAD(NetFilterHead, NetFilterState) filters;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user