<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ixgb, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-06-26T11:45:06Z</updated>
<entry>
<title>Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/</title>
<updated>2009-06-26T11:45:06Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-06-26T11:45:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eb956cd041f956275522092d6ba66671356ff84f'/>
<id>urn:sha1:eb956cd041f956275522092d6ba66671356ff84f</id>
<content type='text'>
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs.  This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.

For two wireless drivers, remove unnecessary locking, since they
don't actually access the multicast address list.

Approved by:	re (kib)
MFC after:	6 weeks
</content>
</entry>
<entry>
<title>When user_frac in the polling subsystem is low it is going to busy the</title>
<updated>2009-05-30T15:14:44Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2009-05-30T15:14:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1abcdbd127e95ffe08399ec75a7001edd1ca2f5f'/>
<id>urn:sha1:1abcdbd127e95ffe08399ec75a7001edd1ca2f5f</id>
<content type='text'>
CPU for too long period than necessary.  Additively, interfaces are kept
polled (in the tick) even if no more packets are available.
In order to avoid such situations a new generic mechanism can be
implemented in proactive way, keeping track of the time spent on any
packet and fragmenting the time for any tick, stopping the processing
as soon as possible.

In order to implement such mechanism, the polling handler needs to
change, returning the number of packets processed.
While the intended logic is not part of this patch, the polling KPI is
broken by this commit, adding an int return value and the new flag
IFCAP_POLLING_NOCOUNT (which will signal that the return value is
meaningless for the installed handler and checking should be skipped).

Bump __FreeBSD_version in order to signal such situation.

Reviewed by:	emaste
Sponsored by:	Sandvine Incorporated
</content>
</entry>
<entry>
<title>The module name convention is foo, not if_foo.</title>
<updated>2009-05-15T17:02:11Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2009-05-15T17:02:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b8f5836a3c1b98b09ea5a101147530d3855cb602'/>
<id>urn:sha1:b8f5836a3c1b98b09ea5a101147530d3855cb602</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Catch up the rest of the drivers with the ether_vlan_mtap modifications.</title>
<updated>2007-03-04T03:38:08Z</updated>
<author>
<name>Christian S.J. Peron</name>
<email>csjp@FreeBSD.org</email>
</author>
<published>2007-03-04T03:38:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=59a0d28bacbcc668a45c393f836f97cd8b536f8a'/>
<id>urn:sha1:59a0d28bacbcc668a45c393f836f97cd8b536f8a</id>
<content type='text'>
If these drivers are setting M_VLANTAG because they are stripping the
layer 2 802.1Q headers, then they need to be re-inserting them so any
bpf(4) peers can properly decode them.

It should be noted that this is compiled tested only.

MFC after:	3 weeks
</content>
</entry>
<entry>
<title>o break newbus api: add a new argument of type driver_filter_t to</title>
<updated>2007-02-23T12:19:07Z</updated>
<author>
<name>Paolo Pisati</name>
<email>piso@FreeBSD.org</email>
</author>
<published>2007-02-23T12:19:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef544f631226436ef590825881e7a28369df82f6'/>
<id>urn:sha1:ef544f631226436ef590825881e7a28369df82f6</id>
<content type='text'>
  bus_setup_intr()

o add an int return code to all fast handlers

o retire INTR_FAST/IH_FAST

For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current

Reviewed by: many
Approved by: re@
</content>
</entry>
<entry>
<title>Move ethernet VLAN tags from mtags to its own mbuf packet header field</title>
<updated>2006-09-17T13:33:30Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2006-09-17T13:33:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78ba57b9e1fd08812b6f5a1b48a20d624a23b31d'/>
<id>urn:sha1:78ba57b9e1fd08812b6f5a1b48a20d624a23b31d</id>
<content type='text'>
m_pkthdr.ether_vlan.  The presence of the M_VLANTAG flag on the mbuf
signifies the presence and validity of its content.

Drivers that support hardware VLAN tag stripping fill in the received
VLAN tag (containing both vlan and priority information) into the
ether_vtag mbuf packet header field:

	m-&gt;m_pkthdr.ether_vtag = vlan_id;	/* ntohs()? */
	m-&gt;m_flags |= M_VLANTAG;

to mark the packet m with the specified VLAN tag.

On output the driver should check the mbuf for the M_VLANTAG flag to
see if a VLAN tag is present and valid:

	if (m-&gt;m_flags &amp; M_VLANTAG) {
		... = m-&gt;m_pkthdr.ether_vtag;	/* htons()? */
		... pass tag to hardware ...
	}

VLAN tags are stored in host byte order.  Byte swapping may be necessary.

(Note: This driver conversion was mechanic and did not add or remove any
byte swapping in the drivers.)

Remove zone_mtag_vlan UMA zone and MTAG_VLAN definition.  No more tag
memory allocation have to be done.

Reviewed by:	thompsa, yar
Sponsored by:	TCP/IP Optimization Fundraise 2005
</content>
</entry>
<entry>
<title>Commit the results of the typo hunt by Darren Pilgrim.</title>
<updated>2006-08-04T07:56:35Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2006-08-04T07:56:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=776fc0e90e9072cda064b69e91a6a0e6bede1aa1'/>
<id>urn:sha1:776fc0e90e9072cda064b69e91a6a0e6bede1aa1</id>
<content type='text'>
This change affects documentation and comments only,
no real code involved.

PR:		misc/101245
Submitted by:	Darren Pilgrim &lt;darren pilgrim bitfreak org&gt;
Tested by:	md5(1)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Since DELAY() was moved,  most &lt;machine/clock.h&gt; #includes have been</title>
<updated>2006-05-16T14:37:58Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2006-05-16T14:37:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c40da00ca320a38816049edd21966bd4045b2303'/>
<id>urn:sha1:c40da00ca320a38816049edd21966bd4045b2303</id>
<content type='text'>
unnecessary.
</content>
</entry>
<entry>
<title>- Fix VLAN_INPUT_TAG() macro, so that it doesn't touch mtag in</title>
<updated>2005-12-18T18:24:27Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2005-12-18T18:24:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d147662cd3b46d4e9c786c955620193a7ef64e7f'/>
<id>urn:sha1:d147662cd3b46d4e9c786c955620193a7ef64e7f</id>
<content type='text'>
  case if memory allocation failed.
- Remove fourth argument from VLAN_INPUT_TAG(), that was used
  incorrectly in almost all drivers. Indicate failure with
  mbuf value of NULL.

In collaboration with:	yongari, ru, sam
</content>
</entry>
<entry>
<title>- Store pointer to the link-level address right in "struct ifnet"</title>
<updated>2005-11-11T16:04:59Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-11T16:04:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a0d6638b3bb3b7ed39b852f722e904ac9a6e603'/>
<id>urn:sha1:4a0d6638b3bb3b7ed39b852f722e904ac9a6e603</id>
<content type='text'>
  rather than in ifindex_table[]; all (except one) accesses are
  through ifp anyway.  IF_LLADDR() works faster, and all (except
  one) ifaddr_byindex() users were converted to use ifp-&gt;if_addr.

- Stop storing a (pointer to) Ethernet address in "struct arpcom",
  and drop the IFP2ENADDR() macro; all users have been converted
  to use IF_LLADDR() instead.
</content>
</entry>
</feed>
