freebsd-dev/sys/dev/cxgbe
Navdeep Parhar 77af2b2c85 cxgbe(4): knobs to drop various kinds of undesirable frames on ingress.
These kind of drops come for free in the sense that they do not use the
filter TCAM or any other resource that wouldn't normally be used during
rx.  Frames dropped by the hardware get counted in the MAC's rx stats
but are not delivered to the driver.

hw.cxgbe.attack_filter
Set to 1 to enable the "attack filter".  Default is 0.  The attack
filter will drop an incoming frame if any of these conditions is true:
src ip/ip6 == dst ip/ip6; tcp and src/dst ip is not unicast; src/dst ip
is loopback (127.x.y.z); src ip6 is not unicast; src/dst ip6 is loopback
(::1/128) or unspecified (::/128); tcp and src/dst ip6 is mcast
(ff00::/8).

hw.cxgbe.drop_ip_fragments
Set to 1 to drop all incoming IP fragments.  Default is 0.  Note that
this drops valid frames.

hw.cxgbe.drop_pkts_with_l2_errors
Set to 1 to drop incoming frames with Layer 2 length or checksum errors.
Default is 1.

hw.cxgbe.drop_pkts_with_l3_errors
Set to 1 to drop incoming frames with IP version, length, or checksum
errors.  Default is 0.

hw.cxgbe.drop_pkts_with_l4_errors
Set to 1 to drop incoming frames with Layer 4 length, checksum, or other
errors.  Default is 0.

MFC after:	2 weeks
Sponsored by:	Chelsio Communications
2020-10-08 10:00:13 +00:00
..
common cxgbe(4): add support for stateless offloads for VXLAN traffic. 2020-09-18 03:01:47 +00:00
crypto Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
cudbg cxgbe(4): Some updates to the common code. 2020-07-24 23:15:42 +00:00
cxgbei cxgbei: destroy the worker threads' CV and mutex in stop_worker_threads. 2020-08-21 00:34:33 +00:00
firmware cxgbe(4): add the firmware binaries instead of the empty files that were added 2020-09-18 03:11:47 +00:00
iw_cxgbe Switch cxgbe interface lookup to use fibX_lookup() from older 2020-06-22 07:35:23 +00:00
tom cxgbe(4): set up the firmware flowc for the tid before send_abort_rpl. 2020-10-02 23:48:57 +00:00
adapter.h Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
if_cc.c
if_ccv.c cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will 2016-09-16 00:08:37 +00:00
if_cxl.c
if_cxlv.c
offload.h Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
osdep.h cxgbe(4): Add adapter information to messages logged by the OS-agnostic 2019-01-29 00:49:12 +00:00
t4_clip.c cxgbe(4): Do not display error messages related to the CLIP table if 2020-03-13 00:12:15 +00:00
t4_clip.h Move CLIP table handling out of TOM and into the base driver. 2018-11-29 01:15:53 +00:00
t4_filter.c Always allocate the atid table during attach. 2019-10-22 20:01:47 +00:00
t4_if.m
t4_ioctl.h cxgbe(4): Allow "pass" filters to distribute matching traffic using a 2018-10-25 14:37:26 +00:00
t4_iov.c cxgbev(4): Catch up with the pciids in the PF driver. 2019-11-15 18:48:14 +00:00
t4_l2t.c NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_l2t.h NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_main.c cxgbe(4): knobs to drop various kinds of undesirable frames on ingress. 2020-10-08 10:00:13 +00:00
t4_mp_ring.c cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00
t4_mp_ring.h cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00
t4_netmap.c cxgbe(4): Avoid unnecessary work in the firmware during netmap tx. 2020-09-29 09:25:52 +00:00
t4_sched.c Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
t4_sge.c Store the send tag type in the common send tag header. 2020-10-06 17:58:56 +00:00
t4_smt.c cxgbe(4): Move all control queues to the adapter. 2018-08-11 21:10:08 +00:00
t4_smt.h cxgbe(4): Retire an old check. 2018-06-01 01:05:34 +00:00
t4_tracer.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
t4_vf.c cxgbe(4): changes in the Tx path to help increase tx coalescing. 2020-07-03 04:44:23 +00:00