svn commit: r368557 - head/share/man/man9

2020-12-11 Thread Navdeep Parhar
Author: np Date: Fri Dec 11 19:45:40 2020 New Revision: 368557 URL: https://svnweb.freebsd.org/changeset/base/368557 Log: vnet.9: Use correct location of vnet.h. MFC after:1 week Sponsored by: Chelsio Communications Differential Revision:https://reviews.freebsd.org/D27557

svn commit: r368315 - head/sys/dev/cxgbe

2020-12-03 Thread Navdeep Parhar
Author: np Date: Thu Dec 3 22:04:23 2020 New Revision: 368315 URL: https://svnweb.freebsd.org/changeset/base/368315 Log: cxgbe(4): Fix vertical alignment in sysctl_cpl_stats. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_main.c Modified:

svn commit: r368313 - in head/sys/dev/cxgbe: . common

2020-12-03 Thread Navdeep Parhar
Author: np Date: Thu Dec 3 22:00:41 2020 New Revision: 368313 URL: https://svnweb.freebsd.org/changeset/base/368313 Log: cxgbe(4): two new debug sysctls. dev...misc.tid_stats dev...misc.tnl_stats MFC after:3 days Sponsored by: Chelsio Communications Modified:

svn commit: r368310 - head/share/man/man9

2020-12-03 Thread Navdeep Parhar
Author: np Date: Thu Dec 3 21:38:00 2020 New Revision: 368310 URL: https://svnweb.freebsd.org/changeset/base/368310 Log: Fix typo in kern_testfrwk.9. Modified: head/share/man/man9/kern_testfrwk.9 Modified: head/share/man/man9/kern_testfrwk.9

svn commit: r368296 - in head/sys/dev/cxgbe: . common

2020-12-03 Thread Navdeep Parhar
Author: np Date: Thu Dec 3 08:30:29 2020 New Revision: 368296 URL: https://svnweb.freebsd.org/changeset/base/368296 Log: cxgbe(4): Stop but don't free netmap queues when netmap is switched off. It is common for freelists to be starving when a netmap application stops. Mailbox commands

svn commit: r368283 - head/sys/dev/cxgbe

2020-12-02 Thread Navdeep Parhar
Author: np Date: Wed Dec 2 20:54:03 2020 New Revision: 368283 URL: https://svnweb.freebsd.org/changeset/base/368283 Log: cxgbe(4): Revert r367917. r367917 fixed the backpressure on the netmap rxq being stopped but that doesn't help if some other netmap rxq is starved (because it is

svn commit: r367973 - in stable/12/sys/dev/cxgbe: . common

2020-11-23 Thread Navdeep Parhar
Author: np Date: Tue Nov 24 00:27:21 2020 New Revision: 367973 URL: https://svnweb.freebsd.org/changeset/base/367973 Log: MFC r367502: cxgbe(4): Allow the PF driver to set a VF's MAC address. The MAC address can be set with the optional mac-addr property in the VF section of the

svn commit: r367972 - in stable/12/sys/dev/cxgbe: . common

2020-11-23 Thread Navdeep Parhar
Author: np Date: Tue Nov 24 00:25:03 2020 New Revision: 367972 URL: https://svnweb.freebsd.org/changeset/base/367972 Log: MFC r367497: cxgbev(4): Use the MAC address set by the the PF if there is one. Query the firmware for the MAC address set by the PF for the VF and use it instead

svn commit: r367971 - in stable/12/sys: conf dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2020-11-23 Thread Navdeep Parhar
Author: np Date: Tue Nov 24 00:22:33 2020 New Revision: 367971 URL: https://svnweb.freebsd.org/changeset/base/367971 Log: MFC r367428 and r367495. r367428: cxgbe(4): Update firmwares to 1.25.0.40. This fixes a potential crash in firmware 1.25.0.0 on the passive open side during

svn commit: r367970 - stable/12/sys/dev/cxgbe

2020-11-23 Thread Navdeep Parhar
Author: np Date: Tue Nov 24 00:17:05 2020 New Revision: 367970 URL: https://svnweb.freebsd.org/changeset/base/367970 Log: MFC r366929 and r367608. r366929: cxgbe(4): fix the size of the iq/eq maps. The firmware can allocate ingress and egress context ids anywhere from its

svn commit: r367969 - stable/12/sys/dev/cxgbe

2020-11-23 Thread Navdeep Parhar
Author: np Date: Tue Nov 24 00:12:42 2020 New Revision: 367969 URL: https://svnweb.freebsd.org/changeset/base/367969 Log: MFC r366916: cxgbe(4): display correct tid range for T6 based -SO cards. Reported by: Chelsio QA Sponsored by: Chelsio Communications Modified:

svn commit: r367968 - stable/12/sys/dev/cxgbe/common

2020-11-23 Thread Navdeep Parhar
Author: np Date: Tue Nov 24 00:07:22 2020 New Revision: 367968 URL: https://svnweb.freebsd.org/changeset/base/367968 Log: MFC r366853: cxgbe(4): Fix page fault in t4_get_lb_stats with 2 port T5 cards. PR: 250449 Reported by: freqlabs@ Sponsored by: Chelsio

svn commit: r367967 - stable/12/sys/dev/cxgbe/common

2020-11-23 Thread Navdeep Parhar
Author: np Date: Tue Nov 24 00:02:14 2020 New Revision: 367967 URL: https://svnweb.freebsd.org/changeset/base/367967 Log: MFC r366696: cxgbe(4): Do not request FEC when requesting speeds that don't have FEC. Sponsored by: Chelsio Communications Modified:

svn commit: r367966 - stable/12/sys/dev/cxgbe/cudbg

2020-11-23 Thread Navdeep Parhar
Author: np Date: Mon Nov 23 23:58:14 2020 New Revision: 367966 URL: https://svnweb.freebsd.org/changeset/base/367966 Log: MFC r366694: cxgbe(4): unimplemented cudbg routines should return the correct internal error code and not an errno. Submitted by: Krishnamraju Eraparaju @

svn commit: r367965 - in stable/12: share/man/man4 sys/dev/cxgbe

2020-11-23 Thread Navdeep Parhar
Author: np Date: Mon Nov 23 23:53:21 2020 New Revision: 367965 URL: https://svnweb.freebsd.org/changeset/base/367965 Log: MFC r366532 and r366862. r366532: cxgbe(4): knobs to drop various kinds of undesirable frames on ingress. These kind of drops come for free in the sense that

svn commit: r367964 - in stable/12/sys/dev/cxgbe: . common

2020-11-23 Thread Navdeep Parhar
Author: np Date: Mon Nov 23 23:46:07 2020 New Revision: 367964 URL: https://svnweb.freebsd.org/changeset/base/367964 Log: MFC r365732 and r366589. r365732: cxgbe(4): Get the count of FCS errors from the MAC and not MPS for T6 ports. The MPS register on the T6 counts something other

svn commit: r367917 - head/sys/dev/cxgbe

2020-11-20 Thread Navdeep Parhar
Author: np Date: Sat Nov 21 03:27:32 2020 New Revision: 367917 URL: https://svnweb.freebsd.org/changeset/base/367917 Log: cxgbe(4): Catch up with in-flight netmap rx before destroying queues. The netmap application using the driver is responsible for replenishing the receive freelists

svn commit: r367624 - head/sys/dev/cxgbe/tom

2020-11-12 Thread Navdeep Parhar
Author: np Date: Thu Nov 12 20:02:48 2020 New Revision: 367624 URL: https://svnweb.freebsd.org/changeset/base/367624 Log: cxgbe/t4_tom: Handle VXLAN-encapsulated SYNs correctly. TCP SYNs in inner traffic will hit hardware listeners when VXLAN/NVGRE rx parsing is enabled in the chip.

svn commit: r367608 - head/sys/dev/cxgbe

2020-11-11 Thread Navdeep Parhar
Author: np Date: Thu Nov 12 01:18:05 2020 New Revision: 367608 URL: https://svnweb.freebsd.org/changeset/base/367608 Log: cxgbev(4): Make sure that the iq/eq map sizes are correct for VFs. This should have been part of r366929. MFC after:3 days Sponsored by: Chelsio

svn commit: r367502 - in head/sys/dev/cxgbe: . common

2020-11-08 Thread Navdeep Parhar
Author: np Date: Mon Nov 9 00:08:35 2020 New Revision: 367502 URL: https://svnweb.freebsd.org/changeset/base/367502 Log: cxgbe(4): Allow the PF driver to set a VF's MAC address. The MAC address can be set with the optional mac-addr property in the VF section of the iovctl.conf(5) used

svn commit: r367497 - in head/sys/dev/cxgbe: . common

2020-11-08 Thread Navdeep Parhar
Author: np Date: Mon Nov 9 00:01:13 2020 New Revision: 367497 URL: https://svnweb.freebsd.org/changeset/base/367497 Log: cxgbev(4): Use the MAC address set by the the PF if there is one. Query the firmware for the MAC address set by the PF for the VF and use it instead of the firmware

svn commit: r367495 - head/sys/dev/cxgbe/firmware

2020-11-08 Thread Navdeep Parhar
Author: np Date: Sun Nov 8 22:30:13 2020 New Revision: 367495 URL: https://svnweb.freebsd.org/changeset/base/367495 Log: cxgbe(4): Add the firmware binaries missing in r367428. Obtained from:Chelsio Communications MFC after:5 days Sponsored by: Chelsio Communications

svn commit: r367428 - in head/sys: conf dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2020-11-06 Thread Navdeep Parhar
Author: np Date: Fri Nov 6 19:04:20 2020 New Revision: 367428 URL: https://svnweb.freebsd.org/changeset/base/367428 Log: cxgbe(4): Update firmwares to 1.25.0.40. This fixes a potential crash in firmware 1.25.0.0 on the passive open side during TOE operation. Obtained from:

svn commit: r366959 - head/sys/dev/cxgbe

2020-10-22 Thread Navdeep Parhar
Author: np Date: Fri Oct 23 02:24:43 2020 New Revision: 366959 URL: https://svnweb.freebsd.org/changeset/base/366959 Log: cxgbe(4): Fix min/max typo in r366958. Modified: head/sys/dev/cxgbe/t4_sched.c Modified: head/sys/dev/cxgbe/t4_sched.c

svn commit: r366958 - head/sys/dev/cxgbe

2020-10-22 Thread Navdeep Parhar
Author: np Date: Fri Oct 23 01:36:54 2020 New Revision: 366958 URL: https://svnweb.freebsd.org/changeset/base/366958 Log: cxgbe(4): refine the values reported in if_ratelimit_query. - Get the number of classes from chip_params. - Get the number of ethofld tids from the firmware. - Do

svn commit: r366941 - head/sys/net

2020-10-22 Thread Navdeep Parhar
Author: np Date: Thu Oct 22 17:05:55 2020 New Revision: 366941 URL: https://svnweb.freebsd.org/changeset/base/366941 Log: if_vxlan(4): csum_flags_to_inner_flags takes the tunnel protocol as a parameter. No functional change. Modified: head/sys/net/if_vxlan.c Modified:

svn commit: r366929 - head/sys/dev/cxgbe

2020-10-22 Thread Navdeep Parhar
Author: np Date: Thu Oct 22 08:40:25 2020 New Revision: 366929 URL: https://svnweb.freebsd.org/changeset/base/366929 Log: cxgbe(4): fix the size of the iq/eq maps. The firmware can allocate ingress and egress context ids anywhere from its configured range. Size the iq/eq maps to match

svn commit: r366916 - head/sys/dev/cxgbe

2020-10-21 Thread Navdeep Parhar
Author: np Date: Wed Oct 21 20:42:29 2020 New Revision: 366916 URL: https://svnweb.freebsd.org/changeset/base/366916 Log: cxgbe(4): display correct tid range for T6 based -SO cards. Reported by: Chelsio QA MFC after:1 week Sponsored by: Chelsio Communications Modified:

svn commit: r366862 - in head: share/man/man4 sys/dev/cxgbe

2020-10-19 Thread Navdeep Parhar
Author: np Date: Mon Oct 19 21:11:49 2020 New Revision: 366862 URL: https://svnweb.freebsd.org/changeset/base/366862 Log: cxgbe(4): Updates to the drop features from r366532. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/share/man/man4/cxgbe.4

svn commit: r366853 - head/sys/dev/cxgbe/common

2020-10-19 Thread Navdeep Parhar
Author: np Date: Mon Oct 19 20:08:47 2020 New Revision: 366853 URL: https://svnweb.freebsd.org/changeset/base/366853 Log: cxgbe(4): Fix page fault in t4_get_lb_stats with 2 port T5 cards. PR: 250449 Reported by: freqlabs@ MFC after:1 week Sponsored by: Chelsio

svn commit: r366696 - head/sys/dev/cxgbe/common

2020-10-14 Thread Navdeep Parhar
Author: np Date: Wed Oct 14 10:12:39 2020 New Revision: 366696 URL: https://svnweb.freebsd.org/changeset/base/366696 Log: cxgbe(4): Do not request FEC when requesting speeds that don't have FEC. MFC after:1 week Sponsored by: Chelsio Communications Modified:

svn commit: r366694 - head/sys/dev/cxgbe/cudbg

2020-10-14 Thread Navdeep Parhar
Author: np Date: Wed Oct 14 08:04:39 2020 New Revision: 366694 URL: https://svnweb.freebsd.org/changeset/base/366694 Log: cxgbe(4): unimplemented cudbg routines should return the correct internal error code and not an errno. Submitted by: Krishnamraju Eraparaju @ Chelsio MFC after:

svn commit: r366589 - in head/sys/dev/cxgbe: . common

2020-10-09 Thread Navdeep Parhar
Author: np Date: Fri Oct 9 22:23:39 2020 New Revision: 366589 URL: https://svnweb.freebsd.org/changeset/base/366589 Log: cxgbe(4): More fixes for the T6 FCS error counter. r365732 was the first attempt to get an accurate count but it was writing to some read-only registers to clear them

svn commit: r366532 - in head: share/man/man4 sys/dev/cxgbe

2020-10-08 Thread Navdeep Parhar
Author: np Date: Thu Oct 8 10:00:13 2020 New Revision: 366532 URL: https://svnweb.freebsd.org/changeset/base/366532 Log: 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

svn commit: r366467 - head/sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 22:18:04 2020 New Revision: 366467 URL: https://svnweb.freebsd.org/changeset/base/366467 Log: cxgbe(4) sysctls do not need Giant. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_main.c head/sys/dev/cxgbe/t4_sge.c Modified:

svn commit: r366463 - stable/12/sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 19:45:11 2020 New Revision: 366463 URL: https://svnweb.freebsd.org/changeset/base/366463 Log: MFC r366354: cxgbe(4): validate largest_rx_cluster and safest_rx_cluster. These tunables can only be set to a valid cluster size (2K, 4K, 9K, or 16K) as

svn commit: r366460 - stable/12/sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 19:22:28 2020 New Revision: 366460 URL: https://svnweb.freebsd.org/changeset/base/366460 Log: MFC r366247: cxgbe(4): Avoid unnecessary work in the firmware during netmap tx. Bind the netmap tx queues to a special '0xff' scheduling class which makes the

svn commit: r366459 - stable/12/sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 18:59:10 2020 New Revision: 366459 URL: https://svnweb.freebsd.org/changeset/base/366459 Log: MFC r366246: Remove duplicate line. Modified: stable/12/sys/dev/cxgbe/t4_netmap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366458 - stable/12/sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 18:49:55 2020 New Revision: 366458 URL: https://svnweb.freebsd.org/changeset/base/366458 Log: MFC r366245: cxgbe(4): adjust the doorbell threshold for netmap freelists to match the maximum burst size used when fetching descriptors from the list. Sponsored

svn commit: r366457 - stable/12/sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 18:47:12 2020 New Revision: 366457 URL: https://svnweb.freebsd.org/changeset/base/366457 Log: MFC r366244: cxgbe(4): display an error message when netmap cannot be enabled because the interface is down. Sponsored by: Chelsio Communications Modified:

svn commit: r366455 - stable/12/sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 18:45:32 2020 New Revision: 366455 URL: https://svnweb.freebsd.org/changeset/base/366455 Log: MFC r366242: cxgbe(4): fixes for netmap operation with only some queues active. - Only active netmap receive queues should be in the RSS lookup table. - The

svn commit: r366451 - releng/12.2/sys/dev/cxgbe/tom

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 16:39:38 2020 New Revision: 366451 URL: https://svnweb.freebsd.org/changeset/base/366451 Log: MFS r366438: cxgbe(4): set up the firmware flowc for the tid before send_abort_rpl. Approved by: re@ (gjb@) Sponsored by: Chelsio Communications Modified:

svn commit: r366443 - in stable/12: share/man/man4 sys/dev/cxgbe

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 09:03:17 2020 New Revision: 366443 URL: https://svnweb.freebsd.org/changeset/base/366443 Log: MFC r365993: cxgbe(4): let the PF driver use VM work requests for transmit. This allows the PF interfaces to communicate with the VF interfaces over the internal

svn commit: r366442 - in stable/12: share/man/man4 sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/firmware

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 08:51:03 2020 New Revision: 366442 URL: https://svnweb.freebsd.org/changeset/base/366442 Log: MFC r365871. This needs a couple other revisions which aren't in stable/12 yet to actually work but is being committed out of order to ease other cxgbe MFCs.

svn commit: r366441 - in stable/12: sbin/ifconfig sys/net

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 07:26:06 2020 New Revision: 366441 URL: https://svnweb.freebsd.org/changeset/base/366441 Log: MFC r365868: Add two new ifnet capabilities for hw checksumming and TSO for VXLAN traffic. These are similar to the existing VLAN capabilities. Reviewed by:

svn commit: r366440 - head/tools/tools/cxgbtool

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 06:53:29 2020 New Revision: 366440 URL: https://svnweb.freebsd.org/changeset/base/366440 Log: Get tools/tools/cxgbtool to build with the latest clang. Reported by: olivier@ Modified: head/tools/tools/cxgbtool/Makefile Modified:

svn commit: r366439 - stable/12/sys/sys

2020-10-05 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 06:38:56 2020 New Revision: 366439 URL: https://svnweb.freebsd.org/changeset/base/366439 Log: MFC r365867: mbuf checksum flags and fields to support tunneling protocols. These are being added to support VXLAN but will work for GENEVE as well. ENCAP_RSVD1

svn commit: r366438 - stable/12/sys/dev/cxgbe/tom

2020-10-04 Thread Navdeep Parhar
Author: np Date: Mon Oct 5 05:36:01 2020 New Revision: 366438 URL: https://svnweb.freebsd.org/changeset/base/366438 Log: MFC r366384: cxgbe(4): set up the firmware flowc for the tid before send_abort_rpl. Modified: stable/12/sys/dev/cxgbe/tom/t4_listen.c Directory Properties:

svn commit: r366384 - head/sys/dev/cxgbe/tom

2020-10-02 Thread Navdeep Parhar
Author: np Date: Fri Oct 2 23:48:57 2020 New Revision: 366384 URL: https://svnweb.freebsd.org/changeset/base/366384 Log: cxgbe(4): set up the firmware flowc for the tid before send_abort_rpl. MFC after:3 days Sponsored by: Chelsio Communications Modified:

svn commit: r366354 - head/sys/dev/cxgbe

2020-10-02 Thread Navdeep Parhar
Author: np Date: Fri Oct 2 05:59:55 2020 New Revision: 366354 URL: https://svnweb.freebsd.org/changeset/base/366354 Log: cxgbe(4): validate largest_rx_cluster and safest_rx_cluster. These tunables can only be set to a valid cluster size (2K, 4K, 9K, or 16K) as documented in the man

svn commit: r366274 - stable/12/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Wed Sep 30 00:13:19 2020 New Revision: 366274 URL: https://svnweb.freebsd.org/changeset/base/366274 Log: MFC r365991: cxgbe(4): add counters for mbuf pullups and defrags. Modified: stable/12/sys/dev/cxgbe/t4_sge.c Directory Properties: stable/12/ (props changed)

svn commit: r366272 - in stable/12/sys/dev/cxgbe: . tom

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 23:35:46 2020 New Revision: 366272 URL: https://svnweb.freebsd.org/changeset/base/366272 Log: MFC r349533 (by jhb@). Note that this does not add any functionality as IFCAP_NOMAP doesn't exist on 12. This is mainly an attempt to get t4_sge.c closer to what's

svn commit: r366247 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 09:25:52 2020 New Revision: 366247 URL: https://svnweb.freebsd.org/changeset/base/366247 Log: cxgbe(4): Avoid unnecessary work in the firmware during netmap tx. Bind the netmap tx queues to a special '0xff' scheduling class which makes the firmware skip some

svn commit: r366246 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 09:11:51 2020 New Revision: 366246 URL: https://svnweb.freebsd.org/changeset/base/366246 Log: Remove duplicate line. Modified: head/sys/dev/cxgbe/t4_netmap.c Modified: head/sys/dev/cxgbe/t4_netmap.c

svn commit: r366245 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 07:51:06 2020 New Revision: 366245 URL: https://svnweb.freebsd.org/changeset/base/366245 Log: cxgbe(4): adjust the doorbell threshold for netmap freelists to match the maximum burst size used when fetching descriptors from the list. MFC after:1 week

svn commit: r366244 - head/sys/dev/cxgbe

2020-09-29 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 07:36:21 2020 New Revision: 366244 URL: https://svnweb.freebsd.org/changeset/base/366244 Log: cxgbe(4): display an error message when netmap cannot be enabled because the interface is down. MFC after:1 week Modified: head/sys/dev/cxgbe/t4_netmap.c

svn commit: r366242 - head/sys/dev/cxgbe

2020-09-28 Thread Navdeep Parhar
Author: np Date: Tue Sep 29 05:08:45 2020 New Revision: 366242 URL: https://svnweb.freebsd.org/changeset/base/366242 Log: cxgbe(4): fixes for netmap operation with only some queues active. - Only active netmap receive queues should be in the RSS lookup table. - The RSS table should be

svn commit: r365993 - in head: share/man/man4 sys/dev/cxgbe

2020-09-21 Thread Navdeep Parhar
Author: np Date: Tue Sep 22 04:16:40 2020 New Revision: 365993 URL: https://svnweb.freebsd.org/changeset/base/365993 Log: cxgbe(4): let the PF driver use VM work requests for transmit. This allows the PF interfaces to communicate with the VF interfaces over the internal switch in the

svn commit: r365991 - head/sys/dev/cxgbe

2020-09-21 Thread Navdeep Parhar
Author: np Date: Tue Sep 22 03:06:36 2020 New Revision: 365991 URL: https://svnweb.freebsd.org/changeset/base/365991 Log: cxgbe(4): add counters for mbuf pullups and defrags. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_sge.c Modified:

svn commit: r365961 - in releng/12.2/sys: conf dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2020-09-21 Thread Navdeep Parhar
Author: np Date: Mon Sep 21 18:19:48 2020 New Revision: 365961 URL: https://svnweb.freebsd.org/changeset/base/365961 Log: MFS r365937, which merged r365861 and r365872 from head to stable/12. r365861: cxgbe(4): Update T4/5/6 firmwares to 1.25.0.0. r365872: cxgbe(4): add the

svn commit: r365937 - in stable/12/sys: conf dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2020-09-21 Thread Navdeep Parhar
Author: np Date: Mon Sep 21 08:16:42 2020 New Revision: 365937 URL: https://svnweb.freebsd.org/changeset/base/365937 Log: MFC r365861 and r365872. r365861: cxgbe(4): Update T4/5/6 firmwares to 1.25.0.0. r365872: cxgbe(4): add the firmware binaries instead of the empty files that

svn commit: r365872 - head/sys/dev/cxgbe/firmware

2020-09-17 Thread Navdeep Parhar
Author: np Date: Fri Sep 18 03:11:47 2020 New Revision: 365872 URL: https://svnweb.freebsd.org/changeset/base/365872 Log: cxgbe(4): add the firmware binaries instead of the empty files that were added in r365861. Obtained from:Chelsio Communications MFC after:3 days

svn commit: r365871 - in head: share/man/man4 sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/firmware

2020-09-17 Thread Navdeep Parhar
Author: np Date: Fri Sep 18 03:01:47 2020 New Revision: 365871 URL: https://svnweb.freebsd.org/changeset/base/365871 Log: cxgbe(4): add support for stateless offloads for VXLAN traffic. Hardware assistance includes checksumming (tx and rx), TSO, and RSS on the inner traffic in a VXLAN

svn commit: r365870 - in head: share/man/man4 share/man/man9 sys/net sys/netinet sys/netinet6

2020-09-17 Thread Navdeep Parhar
rdware offloads was added by +.An Navdeep Parhar Aq n...@freebsd.org +in +.Fx 13.0 . Modified: head/share/man/man9/EVENTHANDLER.9 == --- head/share/man/man9/EVENTHANDLER.9 Fri Sep 18 02:21:15 2020 (r365869) +++

svn commit: r365869 - in head/sys: netinet netinet6

2020-09-17 Thread Navdeep Parhar
Author: np Date: Fri Sep 18 02:21:15 2020 New Revision: 365869 URL: https://svnweb.freebsd.org/changeset/base/365869 Log: Add a knob to allow zero UDP checksums for UDP/IPv6 traffic on the given UDP port. This will be used by some upcoming changes to if_vxlan(4). RFC 7348 (VXLAN) says

svn commit: r365868 - in head: sbin/ifconfig sys/net

2020-09-17 Thread Navdeep Parhar
Author: np Date: Fri Sep 18 02:10:28 2020 New Revision: 365868 URL: https://svnweb.freebsd.org/changeset/base/365868 Log: Add two new ifnet capabilities for hw checksumming and TSO for VXLAN traffic. These are similar to the existing VLAN capabilities. Reviewed by: kib@ Sponsored

svn commit: r365867 - head/sys/sys

2020-09-17 Thread Navdeep Parhar
Author: np Date: Fri Sep 18 01:38:47 2020 New Revision: 365867 URL: https://svnweb.freebsd.org/changeset/base/365867 Log: mbuf checksum flags and fields to support tunneling protocols. These are being added to support VXLAN but will work for GENEVE as well. ENCAP_RSVD1 will likely become

svn commit: r365861 - in head/sys: conf dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2020-09-17 Thread Navdeep Parhar
Author: np Date: Thu Sep 17 22:14:11 2020 New Revision: 365861 URL: https://svnweb.freebsd.org/changeset/base/365861 Log: cxgbe(4): Update T4/5/6 firmwares to 1.25.0.0. Obtained from:Chelsio Communications MFC after:3 days Sponsored by: Chelsio Communications Added:

svn commit: r365732 - head/sys/dev/cxgbe/common

2020-09-14 Thread Navdeep Parhar
Author: np Date: Mon Sep 14 22:15:54 2020 New Revision: 365732 URL: https://svnweb.freebsd.org/changeset/base/365732 Log: cxgbe(4): Get the count of FCS errors from the MAC and not MPS for T6 ports. The MPS register on the T6 counts something other than FCS errors despite its name.

svn commit: r365014 - head/sys/dev/cxgbe

2020-08-31 Thread Navdeep Parhar
Author: np Date: Mon Aug 31 22:44:59 2020 New Revision: 365014 URL: https://svnweb.freebsd.org/changeset/base/365014 Log: cxgbe(4): Check for descriptors before writing a TLS or raw work request. This fixes a regression in r362905. Submitted by: jhb@ Sponsored by: Chelsio

svn commit: r364849 - stable/12/sys/dev/cxgbe

2020-08-26 Thread Navdeep Parhar
Author: np Date: Wed Aug 26 23:41:46 2020 New Revision: 364849 URL: https://svnweb.freebsd.org/changeset/base/364849 Log: MFC r358924: cxgbe(4): Do not display error messages related to the CLIP table if it's not in use by TOE or KTLS. Modified: stable/12/sys/dev/cxgbe/t4_clip.c

svn commit: r364848 - in stable/12/sys/dev/cxgbe: . common

2020-08-26 Thread Navdeep Parhar
Author: np Date: Wed Aug 26 23:21:26 2020 New Revision: 364848 URL: https://svnweb.freebsd.org/changeset/base/364848 Log: MFC r340023 (by jhb@), r362905, r362938, and r363167. r340023: Check cannot_use_txpkts() rather than needs_tso() in add_to_txpkts(). Currently this is a no-op,

svn commit: r364776 - in stable/12/sys/dev/cxgbe: common cudbg

2020-08-25 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 18:21:13 2020 New Revision: 364776 URL: https://svnweb.freebsd.org/changeset/base/364776 Log: MFC r363498: cxgbe(4): Some updates to the common code. Modified: stable/12/sys/dev/cxgbe/common/common.h stable/12/sys/dev/cxgbe/common/t4_hw.c

svn commit: r364774 - stable/12/sys/dev/cxgbe/cxgbei

2020-08-25 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 18:11:45 2020 New Revision: 364774 URL: https://svnweb.freebsd.org/changeset/base/364774 Log: MFC r36: cxgbei: destroy the worker threads' CV and mutex in stop_worker_threads. Modified: stable/12/sys/dev/cxgbe/cxgbei/cxgbei.c Directory Properties:

svn commit: r364750 - in stable/12/sys/dev/cxgbe: . cxgbei tom

2020-08-24 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 02:54:48 2020 New Revision: 364750 URL: https://svnweb.freebsd.org/changeset/base/364750 Log: MFC r362616: cxgbe(4): Add a pointer to the adapter softc in vi_info. There were quite a few places where port_info was being accessed only to get to the

svn commit: r364748 - stable/12/sys/dev/cxgbe

2020-08-24 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 02:42:07 2020 New Revision: 364748 URL: https://svnweb.freebsd.org/changeset/base/364748 Log: MFC r362532: cxgbe(4): Add a tx_len16_to_desc helper. No functional change. Sponsored by: Chelsio Communications Modified:

svn commit: r364745 - in stable/12: share/man/man4 sys/dev/cxgbe sys/dev/cxgbe/common

2020-08-24 Thread Navdeep Parhar
Author: np Date: Tue Aug 25 02:14:36 2020 New Revision: 364745 URL: https://svnweb.freebsd.org/changeset/base/364745 Log: MFC r351444, r357475, r357479, r357481-r357482, r358859, and r364497. All these are rx improvements in the cxgbe(4) driver. r351444: cxgbe(4): Use the same

svn commit: r364497 - in head/sys/dev/cxgbe: . common

2020-08-22 Thread Navdeep Parhar
Author: np Date: Sun Aug 23 04:16:20 2020 New Revision: 364497 URL: https://svnweb.freebsd.org/changeset/base/364497 Log: cxgbe(4): Use large clusters for TOE rx queues when TOE+TLS is enabled. Rx is more efficient within the chip when the receive buffer size matches the TLS PDU size.

svn commit: r364444 - head/sys/dev/cxgbe/cxgbei

2020-08-20 Thread Navdeep Parhar
Author: np Date: Fri Aug 21 00:34:33 2020 New Revision: 36 URL: https://svnweb.freebsd.org/changeset/base/36 Log: cxgbei: destroy the worker threads' CV and mutex in stop_worker_threads. Reported by: bz@ MFC after:3 days Modified: head/sys/dev/cxgbe/cxgbei/cxgbei.c

svn commit: r363498 - in head/sys/dev/cxgbe: common cudbg

2020-07-24 Thread Navdeep Parhar
Author: np Date: Fri Jul 24 23:15:42 2020 New Revision: 363498 URL: https://svnweb.freebsd.org/changeset/base/363498 Log: cxgbe(4): Some updates to the common code. Obtained from:Chelsio Communications MFC after:1 week Sponsored by: Chelsio Communications Modified:

svn commit: r363167 - head/sys/dev/cxgbe

2020-07-13 Thread Navdeep Parhar
Author: np Date: Mon Jul 13 19:15:29 2020 New Revision: 363167 URL: https://svnweb.freebsd.org/changeset/base/363167 Log: cxgbev(4): Compare at most 16 bytes of the Ethernet header when trying to coalesce tx work requests. Note that Coverity will still treat this as an out-of-bounds

svn commit: r362938 - head/sys/dev/cxgbe

2020-07-04 Thread Navdeep Parhar
Author: np Date: Sun Jul 5 05:14:33 2020 New Revision: 362938 URL: https://svnweb.freebsd.org/changeset/base/362938 Log: cxgbe(4): Fix a bug (introduced in r362905) where some tx traffic wasn't being reported to BPF. Modified: head/sys/dev/cxgbe/t4_sge.c Modified:

svn commit: r362905 - in head/sys/dev/cxgbe: . common

2020-07-02 Thread Navdeep Parhar
Author: np Date: Fri Jul 3 04:44:23 2020 New Revision: 362905 URL: https://svnweb.freebsd.org/changeset/base/362905 Log: cxgbe(4): changes in the Tx path to help increase tx coalescing. - Ask the firmware for the number of frames that can be stuffed in one work request. - Modify

svn commit: r362616 - in head/sys/dev/cxgbe: . crypto cxgbei tom

2020-06-25 Thread Navdeep Parhar
Author: np Date: Thu Jun 25 17:04:22 2020 New Revision: 362616 URL: https://svnweb.freebsd.org/changeset/base/362616 Log: cxgbe(4): Add a pointer to the adapter softc in vi_info. There were quite a few places where port_info was being accessed only to get to the adapter. Reviewed

svn commit: r362532 - in head/sys/dev/cxgbe: . crypto

2020-06-23 Thread Navdeep Parhar
Author: np Date: Tue Jun 23 07:33:29 2020 New Revision: 362532 URL: https://svnweb.freebsd.org/changeset/base/362532 Log: cxgbe(4): Add a tx_len16_to_desc helper. No functional change. MFC after:1 week Sponsored by: Chelsio Communications Modified:

svn commit: r361261 - in head/sys/dev/cxgbe: . iw_cxgbe

2020-05-19 Thread Navdeep Parhar
Author: np Date: Tue May 19 16:28:20 2020 New Revision: 361261 URL: https://svnweb.freebsd.org/changeset/base/361261 Log: cxgbe/iw_cxgbe: Add an async callback to notify iw_cxgbe in case of a fatal error. Submitted by: Krishnamraju Eraparaju @ Chelsio MFC after:2 weeks Sponsored

Re: svn commit: r360581 - in head/sys: dev/cxgbe dev/cxgbe/crypto dev/cxgbe/tom dev/mlx5/mlx5_en kern netinet sys

2020-05-02 Thread Navdeep Parhar
On Sun, May 03, 2020 at 12:21:11AM +, Gleb Smirnoff wrote: > Author: glebius > Date: Sun May 3 00:21:11 2020 > New Revision: 360581 > URL: https://svnweb.freebsd.org/changeset/base/360581 > > Log: > Step 4.1: mechanically rename M_NOMAP to M_EXTPG Hello Gleb, This looks incomplete.

svn commit: r360548 - stable/12/sys/dev/cxgbe/iw_cxgbe

2020-05-01 Thread Navdeep Parhar
Author: np Date: Fri May 1 21:22:26 2020 New Revision: 360548 URL: https://svnweb.freebsd.org/changeset/base/360548 Log: MFC r360211: cxgbe/iw_cxgbe: Create a LinuxKPI pci device for an adapter and use it as the dma_device during RDMA registration. cxgbe's struct device cannot be

svn commit: r360232 - head/sys/dev/cxgbe/crypto

2020-04-23 Thread Navdeep Parhar
Author: np Date: Thu Apr 23 23:54:23 2020 New Revision: 360232 URL: https://svnweb.freebsd.org/changeset/base/360232 Log: cxgbe/crypto: Fix the key size in a couple of places to catch up with the recent OCF refactor. Sponsored by: Chelsio Communications Modified:

svn commit: r360211 - head/sys/dev/cxgbe/iw_cxgbe

2020-04-22 Thread Navdeep Parhar
Author: np Date: Wed Apr 22 21:54:21 2020 New Revision: 360211 URL: https://svnweb.freebsd.org/changeset/base/360211 Log: cxgbe/iw_cxgbe: Create a LinuxKPI pci device for an adapter and use it as the dma_device during RDMA registration. cxgbe's struct device cannot be used as-is because

svn commit: r360189 - stable/12/sys/dev/cxgbe/tom

2020-04-22 Thread Navdeep Parhar
Author: np Date: Wed Apr 22 07:24:30 2020 New Revision: 360189 URL: https://svnweb.freebsd.org/changeset/base/360189 Log: MFC r359897: cxgbe(4): Make sure 'flags' is at the same offset in structs toepcb and synq_entry. TAILQ_ENTRY isn't always the same size as two pointers.

svn commit: r360188 - stable/12/sys/dev/cxgbe/iw_cxgbe

2020-04-22 Thread Navdeep Parhar
Author: np Date: Wed Apr 22 07:12:18 2020 New Revision: 360188 URL: https://svnweb.freebsd.org/changeset/base/360188 Log: MFC r359952: cxgbe/iw_cxgbe: Do not start the EP timer if soaccept fails. This fixes a panic that would occur when the timer tried to close a stale socket.

svn commit: r359952 - head/sys/dev/cxgbe/iw_cxgbe

2020-04-14 Thread Navdeep Parhar
Author: np Date: Wed Apr 15 03:40:33 2020 New Revision: 359952 URL: https://svnweb.freebsd.org/changeset/base/359952 Log: cxgbe/iw_cxgbe: Do not start the EP timer if soaccept fails. This fixes a panic that would occur when the timer tried to close a stale socket. Submitted by:

svn commit: r359897 - head/sys/dev/cxgbe/tom

2020-04-13 Thread Navdeep Parhar
Author: np Date: Mon Apr 13 20:12:47 2020 New Revision: 359897 URL: https://svnweb.freebsd.org/changeset/base/359897 Log: cxgbe(4): Make sure 'flags' is at the same offset in structs toepcb and synq_entry. TAILQ_ENTRY isn't always the same size as two pointers. Reported by: rmacklem@

svn commit: r359351 - stable/12/sys/dev/cxgbe

2020-03-26 Thread Navdeep Parhar
Author: np Date: Fri Mar 27 03:58:00 2020 New Revision: 359351 URL: https://svnweb.freebsd.org/changeset/base/359351 Log: MFC r359159: cxgbe(4): Split sge_nm_rxq into three cachelines. This reduces the lines bouncing around between the driver rx ithread and the netmap rxsync thread.

svn commit: r359313 - stable/12/sys/dev/pci

2020-03-25 Thread Navdeep Parhar
Author: np Date: Thu Mar 26 00:39:36 2020 New Revision: 359313 URL: https://svnweb.freebsd.org/changeset/base/359313 Log: MFC r359057: Remove spurious warning about invalid VPD data. The warning used to be displayed for valid VPDs about 512B or above in size. Fix the size check and

svn commit: r359312 - stable/12/sys/dev/cxgbe/tom

2020-03-25 Thread Navdeep Parhar
Author: np Date: Thu Mar 26 00:31:21 2020 New Revision: 359312 URL: https://svnweb.freebsd.org/changeset/base/359312 Log: MFC r358860: cxgbe/t4_tom: The MSS in a FLOWC work request must not be 0. Submitted by: jhb@ Sponsored by: Chelsio Communications Modified:

svn commit: r359159 - head/sys/dev/cxgbe

2020-03-19 Thread Navdeep Parhar
Author: np Date: Fri Mar 20 05:12:16 2020 New Revision: 359159 URL: https://svnweb.freebsd.org/changeset/base/359159 Log: cxgbe(4): Split sge_nm_rxq into three cachelines. This reduces the lines bouncing around between the driver rx ithread and the netmap rxsync thread. There is no net

svn commit: r359057 - head/sys/dev/pci

2020-03-17 Thread Navdeep Parhar
Author: np Date: Wed Mar 18 01:09:40 2020 New Revision: 359057 URL: https://svnweb.freebsd.org/changeset/base/359057 Log: Remove spurious warning about invalid VPD data. The warning used to be displayed for valid VPDs about 512B or above in size. Fix the size check and add a break while

svn commit: r358986 - stable/12/sys/dev/cxgbe/tom

2020-03-13 Thread Navdeep Parhar
Author: np Date: Sat Mar 14 02:24:11 2020 New Revision: 358986 URL: https://svnweb.freebsd.org/changeset/base/358986 Log: MFC r358717: cxgbe/t4_tom: Do not uninitialize a toepcb that has not been initialized. This fixes the following panic: --- trap 0xc, rip = 0x80c00411,

  1   2   3   4   5   6   7   8   9   10   >