freebsd-dev/share/man
John Baldwin fe2ebb7644 Add support for configuring additional virtual interfaces (VIs) on a port.
Each virtual interface has its own MAC address, queues, and statistics.
The dedicated netmap interfaces (ncxgbeX / ncxlX) were already implemented
as additional VIs on each port.  This change allows additional non-netmap
interfaces to be configured on each port.  Additional virtual interfaces
use the naming scheme vcxgbeX or vcxlX.

Additional VIs are enabled by setting the hw.cxgbe.num_vis tunable to a
value greater than 1 before loading the cxgbe(4) or cxl(4) driver.
NB: The first VI on each port is the "main" interface (cxgbeX or cxlX).

T4/T5 NICs provide a limited number of MAC addresses for each physical port.
As a result, a maximum of six VIs can be configured on each port (including
the "main" interface and the netmap interface when netmap is enabled).

One user-visible result is that when netmap is enabled, packets received
or transmitted via the netmap interface are no longer counted in the stats
for the "main" interface, but are not accounted to the netmap interface.

The netmap interfaces now also have a new-bus device and export various
information sysctl nodes via dev.n(cxgbe|cxl).X.

The cxgbetool 'clearstats' command clears the stats for all VIs on the
specified port along with the port's stats.  There is currently no way to
clear the stats of an individual VI.

Reviewed by:	np
MFC after:	1 month
Sponsored by:	Chelsio
2015-12-03 00:02:01 +00:00
..
man1 Add META_MODE support. 2015-06-13 19:20:56 +00:00
man3 Document bitset(9) 2015-10-17 19:55:58 +00:00
man4 Add support for configuring additional virtual interfaces (VIs) on a port. 2015-12-03 00:02:01 +00:00
man5 Regen src.conf.5 for recent option changes. 2015-11-28 00:55:49 +00:00
man6 Add META_MODE support. 2015-06-13 19:20:56 +00:00
man7 Remove a link to the now defunct "Release Engineering of Third Party Packages". 2015-11-21 00:35:40 +00:00
man8 It's 2015, and some people are still trying to use fdisk and then 2015-09-02 14:08:43 +00:00
man9 The cdevpriv_dtr_t typedef was not able to be used in a function prototype 2015-12-02 18:27:30 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00