Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 23:40:30 UTC Now

2023-11-16 14:45:40 UTC thorpej-ifq commitmail json YAML

- Rename if_transmit() -> if_transmit_default()
- In if_enqueue(), handle the ALTQ-is-enabled case by creating a sort of
  chimera from ifq_put_slow() and if_transmit_default(), mainly to avoid
  having to repeatedly take and release the ifq lock.

(thorpej)

2023-11-16 05:13:14 UTC thorpej-ifq commitmail json YAML

2023-11-16 05:02:23 UTC thorpej-ifq commitmail json YAML

Clean up the locking protocol around altq_etherclassify().  It's no longer
required to acquire KERNEL_LOCK *just* because ALTQ is compiled into the
kernel; you only have to acquire it if ALTQ is enabled on the interface
in question.

(thorpej)

2023-11-16 04:30:22 UTC thorpej-ifq commitmail json YAML

2023-11-15 12:39:46 UTC thorpej-ifq commitmail json YAML

wg_output(): Use ifq_classify_packet(), and let that function check
for ALTQ-enabled.  Acquire KERNEL_LOCK before calling ALTQ_ENQUEUE().
XXX The ALTQ integration here is a mess.

(thorpej)

2023-11-15 02:19:00 UTC thorpej-ifq commitmail json YAML

Protect the ALTQ state that's exposed to the ifqueue if the ifq->ifq_lock.
This requires exposing some implementation details to ALTQ, which is guarded
by an __IFQ_PRIVATE define.

(thorpej)

2023-11-15 02:08:34 UTC thorpej-ifq commitmail json YAML

2023-11-14 14:47:04 UTC thorpej-ifq commitmail json YAML