summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cxgbtool
Commit message (Collapse)AuthorAgeFilesLines
* Closing file descriptors when it's donekevlo2010-12-081-0/+3
| | | | Reviewed by: np
* Add support for hardware filters to cxgb(4). The T3 chip can inspectnp2010-05-051-6/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | L2/3/4 headers and can drop or steer packets as instructed. Filtering based on src ip, dst ip, src port, dst port, 802.1q, udp/tcp, and mac addr is possible. Add support in cxgbtool to program these filters. Some simple examples: Drop all tcp/80 traffic coming from the subnet specified. # cxgbtool cxgb2 filter 0 sip 192.168.1.0/24 dport 80 type tcp action drop Steer all incoming UDP traffic to qset 0. # cxgbtool cxgb2 filter 1 type udp queue 0 action pass Steer all tcp traffic from 192.168.1.1 to qset 1. # cxgbtool cxgb2 filter 2 sip 192.168.1.1 type tcp queue 1 action pass Drop fragments. # cxgbtool cxgb2 filter 3 type frag action drop List all filters. # cxgbtool cxgb2 filter list index SIP DIP sport dport VLAN PRI P/MAC type Q 0 192.168.1.0/24 0.0.0.0 * 80 0 0/1 */* tcp - 1 0.0.0.0/0 0.0.0.0 * * 0 0/1 */* udp 0 2 192.168.1.1/32 0.0.0.0 * * 0 0/1 */* tcp 1 3 0.0.0.0/0 0.0.0.0 * * 0 0/1 */* frag - 16367 0.0.0.0/0 0.0.0.0 * * 0 0/1 */* * * MFC after: 2 weeks
* Allow cxgbtool to build with WARNS=6np2010-02-235-160/+211
| | | | MFC after: 1 week
* Add missing newline in last line of file.uqs2010-02-161-1/+1
| | | | | Uncovered via: fromcvs vs. svn Approved by: ed (co-mentor)
* This adds a new "stdio" mode to cxgbtool - it's an interactive modenp2009-06-241-18/+83
| | | | | | | | | meant primarily for _non_ interactive use. Scripts that run cxgbtool repeatedly to perform register r/w or mdio will benefit from this. Instead of fork/exec'ing a new cxgbtool for every regio/mdio you can simply open a pair of pipes to/from cxgbtool and run cmds over them. Approved by: gnn (mentor)
* Update the Chelsio driver to the latest bits from Chelsiognn2009-03-102-5/+78
| | | | | | | | | | | | Firmware upgraded to 7.1.0 (from 5.0.0). T3C EEPROM and SRAM added; Code to update eeprom/sram fixed. fl_empty and rx_fifo_ovfl counters can be observed via sysctl. Two new cxgbtool commands to get uP logic analyzer info and uP IOQs Synced up with Chelsio's "common code" (as of 03/03/09) Submitted by: Navdeep Parhar at Chelsio Reviewed by: gnn MFC after: 2 weeks
* - Fix regression with GETMEMkmacy2008-09-101-7/+4
| | | | | | | | - Remove gratuitous bswap macros - check for rev 3 with t3b Obtained from: Chelsio Inc. MFC after: 3 days
* Add support for t3c to cxgbtoolkmacy2008-09-021-0/+3119
| | | | Obtained from: Chelsio Inc.
* Bring cxgbtool up to date with version 1.5kmacy2008-09-014-670/+280
| | | | | Obtained from: Chelsio Inc. MFC after: 3 days
* fix include nameskmacy2007-03-151-2/+2
|
* Add administration and debugging tool for Chelsio T3 10 Gigabit Ethernet driverkmacy2007-03-146-0/+8186
OpenPOWER on IntegriCloud