freebsd-nq/sys/dev/hyperv/netvsc
Sepherosa Ziehau 82db5a8905 hyperv/hn: Avoid duplicate csum features settings
- Record csum features in softc, so we don't need to duplicate the
  logic from attach path to ioctl path.
- Protect if_capenable and if_hwassist changes by main lock.
- Prefer turn on/off bits in if_hwassist explicitly instead of using
  XOR.

Reviewed by:	adrian, Hongjiang Zhang <honzhan microsoft com>
Approved by:	adrian (mentor)
MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D5085
2016-02-05 04:03:50 +00:00
..
hv_net_vsc.c hyperv/hn: Partly rework transmission path 2016-01-25 05:01:32 +00:00
hv_net_vsc.h hyperv/hn: Avoid duplicate csum features settings 2016-02-05 04:03:50 +00:00
hv_netvsc_drv_freebsd.c hyperv/hn: Avoid duplicate csum features settings 2016-02-05 04:03:50 +00:00
hv_rndis_filter.c hyperv/hn: Partly rework transmission path 2016-01-25 05:01:32 +00:00
hv_rndis_filter.h hyperv/hn: Partly rework transmission path 2016-01-25 05:01:32 +00:00
hv_rndis.h hyperv/hn: Partly rework transmission path 2016-01-25 05:01:32 +00:00