bpf cleanup

From: Sam Leffler (sam_at_errno.com)
Date: 12/12/03

  • Next message: Dag-Erling Smørgrav: "Re: bpf cleanup"
    To: arch@freebsd.org
    Date: Fri, 12 Dec 2003 12:45:59 -0800
    
    

    http://people.freebsd.org/~sam/bpf.patch

    has changes to eliminate the widespread use of stack-based mbufs for use with
    bpf. The patch replaces them with a new bpf_mtap2 routine that does the
    right thing w/o exposing the internal workings of bpf. I've restored the
    M_ASSERTVALID macro to BPF_MTAP but should probably just move this to the
    bpf_mtap/bpf_mtap2 routines.

    Buried in this patch are also some changes to make consistent the prepending
    of the address family for some devices. Previously some code was assuming
    sizeof(int) == sizeof(u_int) == 4 bytes; they've all been changed to use
    u_int32_t.

    Pending feedback I'll commit this stuff after the freeze is lifted.

            Sam

    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Dag-Erling Smørgrav: "Re: bpf cleanup"

    Relevant Pages

    • Re: posix-cpu-timers revamp
      ... This patch breaks the shared utime/stime/sched_time ... The check_process_timersroutine bases its computations on the ... shared structure, removing two loops through the threads. ... This is the record for the group leader. ...
      (Linux-Kernel)
    • [PATCH] sata_mv: add 6042 (Gen 2E) support
      ... See the patch below. ... I hope that someone at Marvell or EMC or whereever picks ... + * This routine simply redirects to the general purpose routine ... + * if command is not DMA. ...
      (Linux-Kernel)
    • Re: ath changes: please test
      ... I just committed a bunch of net80211 changes that are required so be sure your system is up to date before applying the ath patch. ... This code has been in test for a while and should be fine to use but I will not commit it until I get feedback. ... ath0: bpf attached ...
      (freebsd-current)
    • Re: enable/disable in kbd drivers
      ... each kbd driver calls its own enable function when ... This would appear to be unnecessary for keyboards connected via kbdmux. ... sccngetch routine does seems to call enable and disable. ... Does the attached patch seem reasonable? ...
      (freebsd-hackers)
    • Re: [PATCH] 2.6 SGI Altix I/O code reorganization
      ... Doing it for the general sn_pci_init routine would let us ... get rid of the check for ia64_platform_isin one of the routines, ... It will be great to avoid spinning this big patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)