Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ozaki-r
Date:           Thu Dec 15 09:28:07 UTC 2016

Modified Files:
        src/sys/arch/acorn32/podulebus: if_ie.c
        src/sys/arch/amiga/dev: if_es.c if_qn.c
        src/sys/arch/arm/at91: at91emac.c
        src/sys/arch/arm/broadcom: bcm53xx_eth.c
        src/sys/arch/arm/ep93xx: epe.c
        src/sys/arch/arm/gemini: gemini_gmac.c if_gpn.c
        src/sys/arch/arm/imx: if_enet.c
        src/sys/arch/arm/omap: if_cpsw.c omapl1x_emac.c
        src/sys/arch/arm/rockchip: rockchip_emac.c
        src/sys/arch/arm/xscale: ixp425_if_npe.c
        src/sys/arch/emips/ebus: if_le_ebus.c
        src/sys/arch/evbppc/virtex/dev: if_temac.c
        src/sys/arch/mac68k/dev: if_mc.c
        src/sys/arch/mac68k/nubus: if_netdock_nubus.c
        src/sys/arch/macppc/dev: am79c950.c if_bm.c if_gm.c
        src/sys/arch/mips/adm5120/dev: if_admsw.c
        src/sys/arch/mips/alchemy/dev: if_aumac.c
        src/sys/arch/mips/atheros/dev: if_ae.c
        src/sys/arch/mips/cavium/dev: if_cnmac.c
        src/sys/arch/mips/ralink: ralink_eth.c
        src/sys/arch/mips/sibyte/dev: sbmac.c
        src/sys/arch/newsmips/apbus: if_sn.c
        src/sys/arch/next68k/dev: mb8795.c
        src/sys/arch/playstation2/dev: if_smap.c
        src/sys/arch/powerpc/booke/dev: pq3etsec.c
        src/sys/arch/powerpc/ibm4xx/dev: if_emac.c
        src/sys/arch/sgimips/hpc: if_sq.c
        src/sys/arch/sgimips/mace: if_mec.c
        src/sys/arch/sun2/dev: if_ec.c
        src/sys/arch/sun3/dev: if_ie.c
        src/sys/arch/usermode/dev: if_veth.c
        src/sys/arch/x86/pci: if_vmx.c
        src/sys/arch/xen/xen: if_xennet_xenbus.c xennetback_xenbus.c
        src/sys/dev/bi: if_ni.c
        src/sys/dev/cadence: if_cemac.c
        src/sys/dev/ic: aic6915.c cs89x0.c dm9000.c dp8390.c dp83932.c
            dwc_gmac.c elink3.c elinkxl.c gem.c hme.c i82557.c i82586.c
            i82596.c lan9118.c lance.c lemac.c mb86950.c mb86960.c mtd803.c
            pdq_ifsubr.c rrunner.c rtl8169.c rtl81x9.c seeq8005.c sgec.c
            smc83c170.c smc90cx6.c smc91cxx.c tropic.c tulip.c
        src/sys/dev/if_ndis: if_ndis.c
        src/sys/dev/isa: if_eg.c if_el.c if_iy.c
        src/sys/dev/marvell: if_gfe.c if_mvgbe.c if_mvxpe.c
        src/sys/dev/ofw: ofnet.c
        src/sys/dev/pci: if_age.c if_alc.c if_ale.c if_bce.c if_bge.c if_bnx.c
            if_cas.c if_de.c if_dge.c if_et.c if_jme.c if_kse.c if_lii.c
            if_msk.c if_nfe.c if_pcn.c if_sip.c if_sk.c if_ste.c if_stge.c
            if_ti.c if_tl.c if_txp.c if_vge.c if_vioif.c if_vr.c if_vte.c
            if_wm.c if_xge.c
        src/sys/dev/pci/ixgbe: ix_txrx.c
        src/sys/dev/pcmcia: if_cnw.c if_malo_pcmcia.c if_xi.c
        src/sys/dev/qbus: if_de.c if_qe.c if_qt.c
        src/sys/dev/sbus: be.c qe.c
        src/sys/dev/scsipi: if_se.c
        src/sys/dev/usb: if_aue.c if_axe.c if_axen.c if_cdce.c if_cue.c
            if_kue.c if_smsc.c if_udav.c if_upl.c if_url.c if_urndis.c
        src/sys/net: if.c if_tap.c if_vlan.c
        src/sys/net/agr: if_agr.c
        src/sys/net80211: ieee80211_input.c
        src/sys/netinet: ip_etherip.c
        src/sys/netinet6: ip6_etherip.c
        src/sys/netisdn: i4b_isppp.c
        src/sys/rump/net/lib/libshmif: if_shmem.c
        src/sys/rump/net/lib/libvirtif: if_virt.c

Log Message:
Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input

The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
  - Where/When if_ipackets is counted up
  - Note that some drivers still update packet statistics in their own
    way (periodical update)
- Moved bpf_mtap run in softint
  - This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/acorn32/podulebus/if_ie.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/amiga/dev/if_es.c
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/amiga/dev/if_qn.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/at91/at91emac.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/broadcom/bcm53xx_eth.c
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/arm/ep93xx/epe.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/gemini/gemini_gmac.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/gemini/if_gpn.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/imx/if_enet.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/omap/if_cpsw.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/omap/omapl1x_emac.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/rockchip/rockchip_emac.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/arm/xscale/ixp425_if_npe.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/emips/ebus/if_le_ebus.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbppc/virtex/dev/if_temac.c
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/mac68k/dev/if_mc.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/mac68k/nubus/if_netdock_nubus.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/macppc/dev/am79c950.c
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/macppc/dev/if_bm.c
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/macppc/dev/if_gm.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mips/adm5120/dev/if_admsw.c
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/mips/alchemy/dev/if_aumac.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/mips/atheros/dev/if_ae.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/cavium/dev/if_cnmac.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/mips/ralink/ralink_eth.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/mips/sibyte/dev/sbmac.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/newsmips/apbus/if_sn.c
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/next68k/dev/mb8795.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/playstation2/dev/if_smap.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/powerpc/booke/dev/pq3etsec.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/powerpc/ibm4xx/dev/if_emac.c
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/sgimips/hpc/if_sq.c
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/sgimips/mace/if_mec.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/sun2/dev/if_ec.c
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/sun3/dev/if_ie.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/dev/if_veth.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x86/pci/if_vmx.c
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/xen/xen/xennetback_xenbus.c
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/bi/if_ni.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/cadence/if_cemac.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/ic/aic6915.c
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ic/cs89x0.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ic/dm9000.c
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/ic/dp8390.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/ic/dp83932.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/dwc_gmac.c
cvs rdiff -u -r1.139 -r1.140 src/sys/dev/ic/elink3.c
cvs rdiff -u -r1.119 -r1.120 src/sys/dev/ic/elinkxl.c
cvs rdiff -u -r1.106 -r1.107 src/sys/dev/ic/gem.c
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ic/hme.c
cvs rdiff -u -r1.145 -r1.146 src/sys/dev/ic/i82557.c
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/ic/i82586.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/ic/i82596.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/ic/lan9118.c
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/ic/lance.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/ic/lemac.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/ic/mb86950.c
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/ic/mb86960.c \
    src/sys/dev/ic/smc83c170.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/ic/mtd803.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/ic/pdq_ifsubr.c
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/ic/rrunner.c
cvs rdiff -u -r1.147 -r1.148 src/sys/dev/ic/rtl8169.c
cvs rdiff -u -r1.100 -r1.101 src/sys/dev/ic/rtl81x9.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/ic/seeq8005.c
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/ic/sgec.c
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/ic/smc90cx6.c
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/ic/smc91cxx.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/ic/tropic.c
cvs rdiff -u -r1.188 -r1.189 src/sys/dev/ic/tulip.c
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/if_ndis/if_ndis.c
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/isa/if_eg.c
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/isa/if_el.c
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/isa/if_iy.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/marvell/if_gfe.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/marvell/if_mvgbe.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/marvell/if_mvxpe.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/ofw/ofnet.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/pci/if_age.c src/sys/dev/pci/if_ste.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/if_alc.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/if_ale.c
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/if_bce.c
cvs rdiff -u -r1.299 -r1.300 src/sys/dev/pci/if_bge.c
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/if_bnx.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/if_cas.c
cvs rdiff -u -r1.148 -r1.149 src/sys/dev/pci/if_de.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/pci/if_dge.c src/sys/dev/pci/if_txp.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/if_et.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/if_jme.c src/sys/dev/pci/if_kse.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/if_lii.c
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/pci/if_msk.c
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/if_nfe.c
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/pci/if_pcn.c
cvs rdiff -u -r1.164 -r1.165 src/sys/dev/pci/if_sip.c
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/pci/if_sk.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/if_stge.c
cvs rdiff -u -r1.100 -r1.101 src/sys/dev/pci/if_ti.c
cvs rdiff -u -r1.105 -r1.106 src/sys/dev/pci/if_tl.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/pci/if_vge.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/pci/if_vioif.c
cvs rdiff -u -r1.120 -r1.121 src/sys/dev/pci/if_vr.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/if_vte.c
cvs rdiff -u -r1.457 -r1.458 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/if_xge.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/ixgbe/ix_txrx.c
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pcmcia/if_cnw.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pcmcia/if_malo_pcmcia.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/pcmcia/if_xi.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/qbus/if_de.c
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/qbus/if_qe.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/qbus/if_qt.c
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/sbus/be.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/sbus/qe.c
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/scsipi/if_se.c
cvs rdiff -u -r1.139 -r1.140 src/sys/dev/usb/if_aue.c
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/usb/if_axe.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_axen.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/usb/if_cdce.c
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/usb/if_cue.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/usb/if_kue.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/usb/if_smsc.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/usb/if_udav.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/usb/if_upl.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/usb/if_url.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/usb/if_urndis.c
cvs rdiff -u -r1.367 -r1.368 src/sys/net/if.c
cvs rdiff -u -r1.93 -r1.94 src/sys/net/if_tap.c
cvs rdiff -u -r1.92 -r1.93 src/sys/net/if_vlan.c
cvs rdiff -u -r1.39 -r1.40 src/sys/net/agr/if_agr.c
cvs rdiff -u -r1.85 -r1.86 src/sys/net80211/ieee80211_input.c
cvs rdiff -u -r1.18 -r1.19 src/sys/netinet/ip_etherip.c
cvs rdiff -u -r1.19 -r1.20 src/sys/netinet6/ip6_etherip.c
cvs rdiff -u -r1.29 -r1.30 src/sys/netisdn/i4b_isppp.c
cvs rdiff -u -r1.69 -r1.70 src/sys/rump/net/lib/libshmif/if_shmem.c
cvs rdiff -u -r1.53 -r1.54 src/sys/rump/net/lib/libvirtif/if_virt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index