cxgbetool.8 (36ea2fe3bfd4dc0d90ebbc77e53e03b1edbaff08) cxgbetool.8 (6ba813531f285d8fe6db628ef0c128b96f52683c)
1.\" Copyright (c) 2015, 2018 Chelsio Inc
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions are met:
6.\"
7.\" 1. Redistributions of source code must retain the above copyright notice,
8.\" this list of conditions and the following disclaimer.

--- 17 unchanged lines hidden (view full) ---

26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\" * Other names and brands may be claimed as the property of others.
31.\"
32.\" $FreeBSD$
33.\"
1.\" Copyright (c) 2015, 2018 Chelsio Inc
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions are met:
6.\"
7.\" 1. Redistributions of source code must retain the above copyright notice,
8.\" this list of conditions and the following disclaimer.

--- 17 unchanged lines hidden (view full) ---

26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\" * Other names and brands may be claimed as the property of others.
31.\"
32.\" $FreeBSD$
33.\"
34.Dd May 14, 2018
34.Dd Aug 8, 2018
35.Dt CXGBETOOL 8
36.Os
37.Sh NAME
38.Nm cxgbetool
39.Nd Userspace companion to
40.Xr cxgbe 4
41.Sh SYNOPSIS
42.Bl -item -compact

--- 12 unchanged lines hidden (view full) ---

55.Nm Ar nexus Cm hashfilter Ar idx Cm delete
56.It
57.Nm Ar nexus Cm hashfilter list
58.It
59.Nm Ar nexus Cm filter mode
60.It
61.Nm Ar nexus Cm filter Ar idx Ar filter-specification
62.It
35.Dt CXGBETOOL 8
36.Os
37.Sh NAME
38.Nm cxgbetool
39.Nd Userspace companion to
40.Xr cxgbe 4
41.Sh SYNOPSIS
42.Bl -item -compact

--- 12 unchanged lines hidden (view full) ---

55.Nm Ar nexus Cm hashfilter Ar idx Cm delete
56.It
57.Nm Ar nexus Cm hashfilter list
58.It
59.Nm Ar nexus Cm filter mode
60.It
61.Nm Ar nexus Cm filter Ar idx Ar filter-specification
62.It
63.Nm Ar nexus Cm filter Ar idx Cm delete
63.Nm Ar nexus Cm filter Ar idx Cm delete Op Cm prio Bro Cm 0 | 1 Brc
64.It
65.Nm Ar nexus Cm filter list
66.It
67.Nm Ar nexus Cm i2c Ar port_id devaddr addr Op Ar len
68.It
69.Nm Ar nexus Cm loadcfg Ar fw-config.txt
70.It
71.Nm Ar nexus Cm loadcfg clear

--- 304 unchanged lines hidden (view full) ---

376.Cm filter Ar idx Ar filter-specification
377.El
378Program a filter.
379.Pp
380TCAM filters: The number of available filters is in
381dev.<nexus>.<instance>.nfilters.
382.Ar idx
383must be an unused index between 0 and nfilters - 1.
64.It
65.Nm Ar nexus Cm filter list
66.It
67.Nm Ar nexus Cm i2c Ar port_id devaddr addr Op Ar len
68.It
69.Nm Ar nexus Cm loadcfg Ar fw-config.txt
70.It
71.Nm Ar nexus Cm loadcfg clear

--- 304 unchanged lines hidden (view full) ---

376.Cm filter Ar idx Ar filter-specification
377.El
378Program a filter.
379.Pp
380TCAM filters: The number of available filters is in
381dev.<nexus>.<instance>.nfilters.
382.Ar idx
383must be an unused index between 0 and nfilters - 1.
384IPv6 filters consume 4 consecutive entries on T4/T5 and and 2 on T6 and
384IPv6 filters consume 4 consecutive entries on T4/T5 and 2 on T6 and
385.Ar idx
386must be aligned to 4 or 2 in this case.
387.Pp
388Hash filters: These reside in the card's memory instead of its TCAM and are
389enabled with a special configuration file that is selected with
390.Cm hw.cxgbe.config_file="hashfilter"
391in loader.conf.
392There are at least half a million filters available with the sample config

--- 393 unchanged lines hidden ---
385.Ar idx
386must be aligned to 4 or 2 in this case.
387.Pp
388Hash filters: These reside in the card's memory instead of its TCAM and are
389enabled with a special configuration file that is selected with
390.Cm hw.cxgbe.config_file="hashfilter"
391in loader.conf.
392There are at least half a million filters available with the sample config

--- 393 unchanged lines hidden ---