diff options
author | dexuan <dexuan@FreeBSD.org> | 2017-02-23 06:49:46 +0000 |
---|---|---|
committer | dexuan <dexuan@FreeBSD.org> | 2017-02-23 06:49:46 +0000 |
commit | 2efa1535a98f7c89985bee7c9a39d33e1e15355c (patch) | |
tree | 52c93969962a34ab1cb8f20249bbd75b2ab5514f /cddl | |
parent | d05bf5e24a5a42fda53da526e0437363330a3151 (diff) | |
download | FreeBSD-src-2efa1535a98f7c89985bee7c9a39d33e1e15355c.zip FreeBSD-src-2efa1535a98f7c89985bee7c9a39d33e1e15355c.tar.gz |
MFC: r312685, r312686
Approved by: sephe (mentor)
r312685
hyperv/hn: remember the channel pointer in struct hn_rx_ring
This will be used by the coming NIC SR-IOV patch.
Reviewed by: sephe
Approved by: sephe (mentor)
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8909
r312686
hyperv/hn: remove the MTU and IFF_DRV_RUNNING checking in hn_rxpkt()
It's unnecessary because the upper nework stack does the same checking.
In the case of Hyper-V SR-IOV, we need to remove the checking because
1) multicast/broadcast packets are still received through the synthetic
NIC and we need to inject the packets through the VF interface;
2) we must inject the packets even if the synthetic NIC is down, or has
a different MTU from the VF device.
Reviewed by: sephe
Approved by: sephe (mentor)
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8962
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions