History log of /openbsd-src/sys/net/if_pair.c (Results 1 – 17 of 17)
Revision Date Author Comments
# c0b8731a 13-Jan-2021 kn <kn@openbsd.org>

Send without kernel lock

The output path can run without kernel lock just fine as is.
Looking at CVS log, it seems this was not done during import
because IFXF_MPSAFE only became a thing afterwards.

Send without kernel lock

The output path can run without kernel lock just fine as is.
Looking at CVS log, it seems this was not done during import
because IFXF_MPSAFE only became a thing afterwards.

OK mvs

show more ...


# 0e70c421 21-Aug-2020 kn <kn@openbsd.org>

Leave default ifq_maxlen handling to ifq_init()

Most clonable interface drivers (except bridge, enc, loop, pppx,
switch, trunk and vlan) initialise the send queue's length to IFQ_MAXLEN
during *_clo

Leave default ifq_maxlen handling to ifq_init()

Most clonable interface drivers (except bridge, enc, loop, pppx,
switch, trunk and vlan) initialise the send queue's length to IFQ_MAXLEN
during *_clone_create() even though ifq_init(), which is eventually called
through if_attach(), does the same.

Remove all early "ifq_set_maxlen(&ifq->if_snd, IFQ_MAXLEN);" lines to leave
it to ifq_init() and have clonable drivers a tad more in sync.

OK mvs

show more ...


# 0cae21bd 10-Jul-2020 patrick <patrick@openbsd.org>

Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.

ok dlg@ tobhe@


# 63bcfa73 10-Jul-2020 patrick <patrick@openbsd.org>

Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.

ok dlg@ tobhe@


# 1331b777 27-Apr-2019 dlg <dlg@openbsd.org>

this wasnt meant to be committed, back out for now.


# 465bdc75 27-Apr-2019 dlg <dlg@openbsd.org>

get rid of ifv_linkmib and a bunch of useless macros


# 809d3a3e 09-Jan-2018 bluhm <bluhm@openbsd.org>

Creating a cloned interface could return ENOMEM due to temporary
memory shortage. As it is invoked from a system call, it should
not fail and wait instead.
OK visa@ mpi@


# 99bf4b5f 23-Jan-2017 mpi <mpi@openbsd.org>

Flag pseudo-interfaces as such in order to call add_net_randomness()
only once per packet.

Fix a regression introduced when if_input() started to be called by
every pseudo-driver.

ok claudio@, dlg@


# 88a08f2a 22-Jan-2017 dlg <dlg@openbsd.org>

move counting if_opackets next to counting if_obytes in if_enqueue.

this means packets are consistently counted in one place, unlike the
many and various ways that drivers thought they should do it.

move counting if_opackets next to counting if_obytes in if_enqueue.

this means packets are consistently counted in one place, unlike the
many and various ways that drivers thought they should do it.

ok mpi@ deraadt@

show more ...


# fc3b235f 29-Nov-2016 reyk <reyk@openbsd.org>

For virtual Ethernet drivers that don't have a technical limit of the
hardmtu, pick a value of 65435 that leaves space for some
encapsulation and almost a complete max-IP packet. After some
discussi

For virtual Ethernet drivers that don't have a technical limit of the
hardmtu, pick a value of 65435 that leaves space for some
encapsulation and almost a complete max-IP packet. After some
discussion we picked this arbitrary value.

OK dlg@

show more ...


# 74c556f6 13-Apr-2016 mpi <mpi@openbsd.org>

We're always ready! So send IFQ_SET_READY() to the bitbucket.


# acbf7ea1 05-Dec-2015 tedu <tedu@openbsd.org>

remove old lint annotations


# c605ef2a 30-Oct-2015 reyk <reyk@openbsd.org>

Add m_resethdr() to clear any state (pf, tags, flags) of an mbuf packet.
Start using it in pair(4) to clear state on the receiving interface;
m_resethdr() will also be used in other parts of the stac

Add m_resethdr() to clear any state (pf, tags, flags) of an mbuf packet.
Start using it in pair(4) to clear state on the receiving interface;
m_resethdr() will also be used in other parts of the stack.

OK bluhm@ mikeb@

show more ...


# df5028a3 25-Oct-2015 mpi <mpi@openbsd.org>

ifa is no longer used.


# 60e40e7b 25-Oct-2015 mpi <mpi@openbsd.org>

arp_ifinit() is no longer required.


# 0114253f 24-Oct-2015 reyk <reyk@openbsd.org>

Remove superfluous assignment.

Pointed out by and OK mikeb@


# dcbaedb7 24-Oct-2015 reyk <reyk@openbsd.org>

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) bet

Add pair(4), a vether-based virtual Ethernet driver to interconnect
rdomains and bridges on the local system. This can be used to route
through local rdomains, to create L2 devices (like trunks) between
them, and many other things.

Discussed with many, with input from mpi@
OK sthen@ phessler@ yasuoka@ mikeb@

show more ...