mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
igb: Strip the second VLAN tag for extended VLAN
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
f199b13bc1
commit
7e64a9cabb
6 changed files with 66 additions and 43 deletions
|
@ -1711,7 +1711,8 @@ e1000e_receive_internal(E1000ECore *core, const struct iovec *iov, int iovcnt,
|
|||
}
|
||||
|
||||
net_rx_pkt_attach_iovec_ex(core->rx_pkt, iov, iovcnt, iov_ofs,
|
||||
e1000x_vlan_enabled(core->mac), core->mac[VET]);
|
||||
e1000x_vlan_enabled(core->mac) ? 0 : -1,
|
||||
core->mac[VET], 0);
|
||||
|
||||
e1000e_rss_parse_packet(core, core->rx_pkt, &rss_info);
|
||||
e1000e_rx_ring_init(core, &rxr, rss_info.queue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue