svn commit: r333620 - in head/sys/dev/cxgbe: . common firmware tom

2018-05-14 Thread Navdeep Parhar
Author: np Date: Tue May 15 04:24:38 2018 New Revision: 333620 URL: https://svnweb.freebsd.org/changeset/base/333620 Log: cxgbe(4): Filtering related features and fixes. - Driver support for hardware NAT. - Driver support for swapmac action. - Validate a request to create a hashfilter a

svn commit: r333621 - head/usr.sbin/cxgbetool

2018-05-14 Thread Navdeep Parhar
Author: np Date: Tue May 15 04:31:11 2018 New Revision: 333621 URL: https://svnweb.freebsd.org/changeset/base/333621 Log: cxgbetool(8): Provide user interface for hashfilters, hardware NAT, and other filtering related features that were recently added to the driver. Sponsored by: Chelsio

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

2018-05-15 Thread Navdeep Parhar
Author: np Date: Tue May 15 21:54:59 2018 New Revision: 333650 URL: https://svnweb.freebsd.org/changeset/base/333650 Log: cxgbe(4): Claim some more T5 and T6 boards. MFC after:2 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev

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

2018-05-15 Thread Navdeep Parhar
Author: np Date: Tue May 15 22:26:09 2018 New Revision: 333652 URL: https://svnweb.freebsd.org/changeset/base/333652 Log: cxgbe(4): Add support for two more flash parts. Obtained from:Chelsio Communications MFC after:2 days Sponsored by: Chelsio Communications Modified: h

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

2018-05-16 Thread Navdeep Parhar
Author: np Date: Wed May 16 17:55:16 2018 New Revision: 333682 URL: https://svnweb.freebsd.org/changeset/base/333682 Log: cxgbe(4): Fall back to a failsafe configuration built into the firmware if an error is reported while pre-processing the configuration file that the driver attempted to u

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

2018-05-16 Thread Navdeep Parhar
Author: np Date: Thu May 17 00:52:48 2018 New Revision: 333696 URL: https://svnweb.freebsd.org/changeset/base/333696 Log: cxgbe(4): Add NIC_ETHOFLD to the NIC capabilities allowed by the driver by default. This is the first of a series of commits that will add support for RATELIMIT kern

svn commit: r333698 - in head/sys: dev/cxgbe modules/cxgbe/if_cxgbe

2018-05-16 Thread Navdeep Parhar
Author: np Date: Thu May 17 01:42:18 2018 New Revision: 333698 URL: https://svnweb.freebsd.org/changeset/base/333698 Log: cxgbe(4): Allocate offload Tx queues when a card has resources provisioned for NIC_ETHOFLD and the kernel has option RATELIMIT. It is possible to use the chip's offloa

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

2018-05-16 Thread Navdeep Parhar
Author: np Date: Thu May 17 06:04:50 2018 New Revision: 333704 URL: https://svnweb.freebsd.org/changeset/base/333704 Log: cxgbe(4): Fix s->neq miscalculation in r333698. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

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

2018-05-17 Thread Navdeep Parhar
Author: np Date: Fri May 18 06:09:15 2018 New Revision: 333782 URL: https://svnweb.freebsd.org/changeset/base/333782 Log: cxgbe(4): Implement ifnet callbacks that deal with send tags. An etid (ethoffload tid) is allocated for a send tag and it acquires a reference on the traffic class tha

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

2018-05-22 Thread Navdeep Parhar
Author: np Date: Tue May 22 16:23:14 2018 New Revision: 334058 URL: https://svnweb.freebsd.org/changeset/base/334058 Log: cxgbe(4): Only valid filters are expected to have a valid tid. Modified: head/sys/dev/cxgbe/t4_filter.c Modified: head/sys/dev/cxgbe/t4_filter.c =

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

2018-05-23 Thread Navdeep Parhar
Author: np Date: Thu May 24 06:44:06 2018 New Revision: 334132 URL: https://svnweb.freebsd.org/changeset/base/334132 Log: cxgbe(4): Make sure that the egress queue's cidx is updated periodically when the driver is writing WRs using start_wrq_wr/commit_wrq_wr all the time. Sponsored by:

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

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 07:38:46 2018 New Revision: 334136 URL: https://svnweb.freebsd.org/changeset/base/334136 Log: cxgbe(4): Slightly simpler needs_ functions. Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c =

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

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 08:02:11 2018 New Revision: 334137 URL: https://svnweb.freebsd.org/changeset/base/334137 Log: cxgbe(4): Fix range checks in is_etid. Modified: head/sys/dev/cxgbe/common/common.h head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/common/common.h ==

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

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 08:21:43 2018 New Revision: 334138 URL: https://svnweb.freebsd.org/changeset/base/334138 Log: cxgbe(4): Make FW4_ACK a shared CPL. ETHOFLD in the base driver will use it for per-flow rate limiting. Sponsored by: Chelsio Communications Modified: head/sys/dev

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

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 08:32:02 2018 New Revision: 334139 URL: https://svnweb.freebsd.org/changeset/base/334139 Log: cxgbe/t4_tom: ABORT_RPL_RSS is a shared CPL and t4_tom shouldn't remove the global handler when it's being unloaded. Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c Modifi

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

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 10:18:14 2018 New Revision: 334143 URL: https://svnweb.freebsd.org/changeset/base/334143 Log: cxgbe(4): Data path for rate-limited tx. This is hardware support for the SO_MAX_PACING_RATE sockopt (see setsockopt(2)), which is available in kernels built with "opt

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

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 10:55:26 2018 New Revision: 334148 URL: https://svnweb.freebsd.org/changeset/base/334148 Log: cxgbe(4): Report IFCAP_TXRTLMT to kernels built with RATELIMIT if the firmware has provisioned resources for this feature. Sponsored by: Chelsio Communications Modifi

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

2018-05-25 Thread Navdeep Parhar
Author: np Date: Fri May 25 18:57:41 2018 New Revision: 334217 URL: https://svnweb.freebsd.org/changeset/base/334217 Log: cxgbe(4): Suppress a warning about code that is used only with options RATELIMIT. Reported by: mmacy@ Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev

Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool

2018-05-30 Thread Navdeep Parhar
On 05/30/18 11:32, Antoine Brodin wrote: > On Mon, May 28, 2018 at 10:12 AM, Hans Petter Selasky > wrote: >> Author: hselasky >> Date: Mon May 28 08:12:18 2018 >> New Revision: 334277 >> URL: https://svnweb.freebsd.org/changeset/base/334277 >> >> Log: >> MFV r333789: libpcap 1.9.0 (pre-release)

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

2018-05-30 Thread Navdeep Parhar
Author: np Date: Wed May 30 22:36:09 2018 New Revision: 334406 URL: https://svnweb.freebsd.org/changeset/base/334406 Log: cxgbe(4): Consider all supported speeds when building the ifmedia list for a port. Fix other related issues while here: - Require port lock for access to link_config.

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

2018-05-30 Thread Navdeep Parhar
Author: np Date: Thu May 31 02:10:50 2018 New Revision: 334409 URL: https://svnweb.freebsd.org/changeset/base/334409 Log: cxgbe(4): Implement ifm_change callback. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c =

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

2018-05-30 Thread Navdeep Parhar
Author: np Date: Thu May 31 02:22:40 2018 New Revision: 334410 URL: https://svnweb.freebsd.org/changeset/base/334410 Log: cxgbe(4): Use ifm for ifmedia just like the rest of the kernel. No functional change. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c =

svn commit: r334447 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2018-05-31 Thread Navdeep Parhar
Author: np Date: Thu May 31 21:31:08 2018 New Revision: 334447 URL: https://svnweb.freebsd.org/changeset/base/334447 Log: cxgbe(4): Add code to deal with the chip's source MAC table (aka SMT). Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chelsio Communications Added: he

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

2018-05-31 Thread Navdeep Parhar
Author: np Date: Thu May 31 21:56:57 2018 New Revision: 334452 URL: https://svnweb.freebsd.org/changeset/base/334452 Log: cxgbe(4): Add support for SMAC-rewriting filters. Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t

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

2018-05-31 Thread Navdeep Parhar
Author: np Date: Fri Jun 1 01:05:34 2018 New Revision: 334467 URL: https://svnweb.freebsd.org/changeset/base/334467 Log: cxgbe(4): Retire an old check. Modified: head/sys/dev/cxgbe/adapter.h head/sys/dev/cxgbe/t4_l2t.c head/sys/dev/cxgbe/t4_l2t.h head/sys/dev/cxgbe/t4_main.c head/sys

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

2018-06-01 Thread Navdeep Parhar
Author: np Date: Fri Jun 1 16:46:29 2018 New Revision: 334489 URL: https://svnweb.freebsd.org/changeset/base/334489 Log: cxgbe(4): Include full duplex mediaopt in media that can be reported as active. Always report full duplex in active media. Sponsored by: Chelsio Communications Modif

svn commit: r334645 - head/usr.sbin/cxgbetool

2018-06-04 Thread Navdeep Parhar
Author: np Date: Mon Jun 4 23:17:18 2018 New Revision: 334645 URL: https://svnweb.freebsd.org/changeset/base/334645 Log: cxgbetool: Disallow negative values for numeric parameters. Sponsored by: Chelsio Communications Modified: head/usr.sbin/cxgbetool/cxgbetool.c Modified: head/usr.sbi

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

2018-06-11 Thread Navdeep Parhar
Author: np Date: Tue Jun 12 06:46:03 2018 New Revision: 334987 URL: https://svnweb.freebsd.org/changeset/base/334987 Log: cxgbe(4): Remove homemade version of htobe32 from the driver. It was needed only for ia64 where it was implemented as a call to bswapXX, which was always a real functi

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

2018-06-13 Thread Navdeep Parhar
Author: np Date: Thu Jun 14 01:27:35 2018 New Revision: 335102 URL: https://svnweb.freebsd.org/changeset/base/335102 Log: cxgbe(4): Catch up with recent changes in the kernel -- it no longer holds non-sleepable locks around any of the driver ioctls. Sponsored by: Chelsio Communications M

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

2018-06-15 Thread Navdeep Parhar
Author: np Date: Fri Jun 15 18:04:44 2018 New Revision: 335223 URL: https://svnweb.freebsd.org/changeset/base/335223 Log: cxgbe(4): sysctls to display the local and intr CPUs for the adapter. The driver assumes the list can change (even though it does't right now) and queries it every tim

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

2018-06-15 Thread Navdeep Parhar
Author: np Date: Fri Jun 15 21:23:03 2018 New Revision: 335241 URL: https://svnweb.freebsd.org/changeset/base/335241 Log: cxgbe(4): Track the number of received frames separately from the number of descriptors processed. Add the ability to gather a certain maximum number of frames in the dr

Re: svn commit: r335223 - head/sys/dev/cxgbe

2018-06-15 Thread Navdeep Parhar
erally useful, and nothing about the code is specific to > cxgbe. Could it be adapted to be driver-agnostic? > > Thanks, > Conrad > > On Fri, Jun 15, 2018 at 11:04 AM, Navdeep Parhar wrote: >> Author: np >> Date: Fri Jun 15 18:04:44 2018 >> New Revision: 33

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

2018-06-15 Thread Navdeep Parhar
Author: np Date: Fri Jun 15 23:42:22 2018 New Revision: 335243 URL: https://svnweb.freebsd.org/changeset/base/335243 Log: cxgbe(4): Add a hw.cxgbe.starve_fl sysctl that can be used to starve the freelists of netmap receive queues. This is primarily to test various congestion scenarios in th

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

2018-06-18 Thread Navdeep Parhar
Author: np Date: Tue Jun 19 00:50:27 2018 New Revision: 335352 URL: https://svnweb.freebsd.org/changeset/base/335352 Log: cxgbe(4): Some mailbox commands require access to the Tx pipeline and can time out if it's backed up due to a non-stop deluge of PAUSE frames from a misbehaving peer. De

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

2017-12-21 Thread Navdeep Parhar
Author: np Date: Thu Dec 21 15:19:43 2017 New Revision: 327062 URL: https://svnweb.freebsd.org/changeset/base/327062 Log: cxgbe(4): Read the MFG diags version from the VPD and make it available in the sysctl MIB. MFC after:1 week Sponsored by: Chelsio Communications Modified: he

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

2017-12-22 Thread Navdeep Parhar
Author: np Date: Fri Dec 22 19:10:19 2017 New Revision: 327093 URL: https://svnweb.freebsd.org/changeset/base/327093 Log: cxgbe(4): Do not forward interrupts to queues with freelists. This leaves the firmware event queue (fwq) as the only queue that can take interrupts for others. This

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

2017-12-27 Thread Navdeep Parhar
Author: np Date: Wed Dec 27 22:44:50 2017 New Revision: 327254 URL: https://svnweb.freebsd.org/changeset/base/327254 Log: cxgbe/iw_cxgbe: Fix iWARP over VLANs (catch up with r326169). Submitted by: KrishnamRaju ErapaRaju @ Chelsio Sponsored by: Chelsio Communications Modified: head/sys

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

2017-12-28 Thread Navdeep Parhar
Author: np Date: Fri Dec 29 02:30:21 2017 New Revision: 327332 URL: https://svnweb.freebsd.org/changeset/base/327332 Log: cxgbe(4): Reduce duplication by consolidating minor variations of the same code into a single routine. Sponsored by: Chelsio Communications Modified: head/sys/dev/c

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

2018-01-03 Thread Navdeep Parhar
Author: np Date: Wed Jan 3 19:24:57 2018 New Revision: 327528 URL: https://svnweb.freebsd.org/changeset/base/327528 Log: cxgbe(4): Add a knob to enable/disable PCIe relaxed ordering. Disable it by default when running on Intel CPUs. This is a crude fix for the performance issues alluded

Re: svn commit: r327559 - in head: . sys/net

2018-01-05 Thread Navdeep Parhar
On Fri, Jan 5, 2018 at 10:23 AM, Eugene Grosbein wrote: > 06.01.2018 1:03, Steven Hartland wrote: > >> Is there a way to determine if the mbuf is a forwarded mbuf of not? > > Yes: m->m_pkthdr.rcvif is defined in case of forwarding. > It is NULL for locally originated packets. > Can't rely on this

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

2018-01-12 Thread Navdeep Parhar
Author: np Date: Sat Jan 13 00:04:11 2018 New Revision: 327904 URL: https://svnweb.freebsd.org/changeset/base/327904 Log: cxgbe/iw_cxgbe: Remove duplicates to fix compilation with recent gcc. Modified: head/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h Modified: head/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h ==

Re: svn commit: r328078 - head/sys/powerpc/conf

2018-01-17 Thread Navdeep Parhar
On Wed, Jan 17, 2018 at 09:33:17AM +, Wojciech Macek wrote: > Author: wma > Date: Wed Jan 17 09:33:16 2018 > New Revision: 328078 > URL: https://svnweb.freebsd.org/changeset/base/328078 > > Log: > PPC64: add CXGBE and remove AHCI from GENERIC64 > > Add CXGBE driver which is required for

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

2018-01-23 Thread Navdeep Parhar
Author: np Date: Wed Jan 24 05:09:21 2018 New Revision: 328314 URL: https://svnweb.freebsd.org/changeset/base/328314 Log: Do not generate illegal mbuf chains during IP fragment reassembly. Only the first mbuf of the reassembled datagram should have a pkthdr. This was discovered with cxgb

svn commit: r328315 - head/sys/dev/cxgb

2018-01-23 Thread Navdeep Parhar
Author: np Date: Wed Jan 24 05:16:11 2018 New Revision: 328315 URL: https://svnweb.freebsd.org/changeset/base/328315 Log: cxgb(4): Validate offset/len in the GET_EEPROM ioctl. Reported by: Ilja Van Sprundel Modified: head/sys/dev/cxgb/cxgb_main.c Modified: head/sys/dev/cxgb/cxgb_main.

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

2018-01-25 Thread Navdeep Parhar
Author: np Date: Fri Jan 26 00:03:14 2018 New Revision: 328420 URL: https://svnweb.freebsd.org/changeset/base/328420 Log: cxgbe(4): Do not display harmless warning in non-debug builds. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_hw.c

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

2018-01-25 Thread Navdeep Parhar
Author: np Date: Fri Jan 26 00:45:40 2018 New Revision: 328423 URL: https://svnweb.freebsd.org/changeset/base/328423 Log: cxgbe(4): Accept old names of a couple of tunables. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

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

2018-03-21 Thread Navdeep Parhar
Author: np Date: Thu Mar 22 02:04:57 2018 New Revision: 331340 URL: https://svnweb.freebsd.org/changeset/base/331340 Log: cxgbe(4): Tunnel congestion drops on a port should be cleared when the stats for that port are cleared. MFC after:1 week Sponsored by: Chelsio Communications Mo

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

2018-03-21 Thread Navdeep Parhar
Author: np Date: Thu Mar 22 04:42:29 2018 New Revision: 331342 URL: https://svnweb.freebsd.org/changeset/base/331342 Log: cxgbe(4): Do not read MFG diags information from custom boards. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_hw.

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

2018-03-23 Thread Navdeep Parhar
Author: np Date: Sat Mar 24 01:07:58 2018 New Revision: 331472 URL: https://svnweb.freebsd.org/changeset/base/331472 Log: cxgbe(4): Always initialize requested_speed to a valid value. This fixes an avoidable EINVAL when the user tries to disable AN after the port is initialized but l1cfg

svn commit: r331745 - head/sys/netinet

2018-03-29 Thread Navdeep Parhar
Author: np Date: Thu Mar 29 19:48:17 2018 New Revision: 331745 URL: https://svnweb.freebsd.org/changeset/base/331745 Log: Fix RSS build (broken in r331309). Sponsored by: Chelsio Communications Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c =

svn commit: r331901 - head/sys/netinet

2018-04-02 Thread Navdeep Parhar
Author: np Date: Tue Apr 3 01:08:54 2018 New Revision: 331901 URL: https://svnweb.freebsd.org/changeset/base/331901 Log: Add a hook to allow the toedev handling an offloaded connection to provide accurate TCP_INFO. Sponsored by: Chelsio Communications Differential Revision:http

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

2018-04-02 Thread Navdeep Parhar
Author: np Date: Tue Apr 3 01:22:15 2018 New Revision: 331902 URL: https://svnweb.freebsd.org/changeset/base/331902 Log: cxgbe: Implement tcp_info handler for connections handled by t4_tom. The TCB is read using a memory window right now. A better alternate to get self-consistent, uncac

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

2018-04-04 Thread Navdeep Parhar
Author: np Date: Wed Apr 4 22:52:24 2018 New Revision: 332050 URL: https://svnweb.freebsd.org/changeset/base/332050 Log: cxgbe(4): Always display an error message if SIOCSIFFLAGS will leave IFF_UP and IFF_DRV_RUNNING out of sync. ifhwioctl in the kernel pays no attention to the return code

svn commit: r332506 - in head: sys/dev/cxgbe sys/dev/cxgbe/tom usr.sbin/cxgbetool

2018-04-14 Thread Navdeep Parhar
Author: np Date: Sat Apr 14 19:07:56 2018 New Revision: 332506 URL: https://svnweb.freebsd.org/changeset/base/332506 Log: cxgbe(4): Add support for Connection Offload Policy (aka COP). COP allows fine-grained control on whether to offload a TCP connection using t4_tom, and what settings t

svn commit: r332515 - head/usr.sbin/cxgbetool

2018-04-15 Thread Navdeep Parhar
Author: np Date: Sun Apr 15 19:23:37 2018 New Revision: 332515 URL: https://svnweb.freebsd.org/changeset/base/332515 Log: Fix typo in cxgbetool.8. Modified: head/usr.sbin/cxgbetool/cxgbetool.8 Modified: head/usr.sbin/cxgbetool/cxgbetool.8 =

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

2018-04-19 Thread Navdeep Parhar
Author: np Date: Thu Apr 19 18:10:44 2018 New Revision: 332787 URL: https://svnweb.freebsd.org/changeset/base/332787 Log: cxgbe(4): Fix bugs in the handling of COP rules that match on VLAN tag. Retrieve the tag from the correct ifnet and use the provided tag (instead of hardcoded 0x,

svn commit: r333030 - in head/sys/dev/cxgbe: . tom

2018-04-26 Thread Navdeep Parhar
Author: np Date: Thu Apr 26 19:00:35 2018 New Revision: 333030 URL: https://svnweb.freebsd.org/changeset/base/333030 Log: cxgbe(4): Break up alloc_tid_tabs and move the atid routines to the base NIC driver. The atid services will be used by new features (hashfilters and inline TLS) that do

svn commit: r333043 - in head/sys/dev/cxgbe: . tom

2018-04-26 Thread Navdeep Parhar
Author: np Date: Thu Apr 26 22:04:21 2018 New Revision: 333043 URL: https://svnweb.freebsd.org/changeset/base/333043 Log: cxgbe(4): Move release_tid to the base NIC driver for future consumers. Sponsored by: Chelsio Communications. Modified: head/sys/dev/cxgbe/adapter.h head/sys/dev/cx

svn commit: r333114 - in head/sys/dev/cxgbe: . tom

2018-04-30 Thread Navdeep Parhar
Author: np Date: Mon Apr 30 15:18:38 2018 New Revision: 333114 URL: https://svnweb.freebsd.org/changeset/base/333114 Log: cxgbe(4): Use opaque cookies or tid range-checks to determine the intended recipient of a CPL when it can't be determined solely from the opcode. Retire the per-queue ha

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

2018-04-30 Thread Navdeep Parhar
Author: np Date: Mon Apr 30 17:33:44 2018 New Revision: 333121 URL: https://svnweb.freebsd.org/changeset/base/333121 Log: cxgbe/t4_tom: Use appropriate macros instead of magic math while constructing the atid of an active open work request. Sponsored by: Chelsio Communications Modified:

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

2018-04-30 Thread Navdeep Parhar
Author: np Date: Mon Apr 30 21:47:30 2018 New Revision: 333128 URL: https://svnweb.freebsd.org/changeset/base/333128 Log: cxgbe(4): Convert ACT_OPEN_RPL to a shared CPL. Reserve 3b in the 14b atid to identify the owner and use it to dispatch the CPL. This allows all CPLs that use an atid

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

2018-05-01 Thread Navdeep Parhar
Author: np Date: Tue May 1 14:59:38 2018 New Revision: 333139 URL: https://svnweb.freebsd.org/changeset/base/333139 Log: cxgbe(4): Destroy the cdev before disabling interrupts in driver detach. Filter work requests are submitted in the nexus cdev's ioctl which then blocks waiting for a r

svn commit: r333153 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2018-05-01 Thread Navdeep Parhar
Author: np Date: Tue May 1 20:17:22 2018 New Revision: 333153 URL: https://svnweb.freebsd.org/changeset/base/333153 Log: cxgbe(4): Move all TCAM filter code into a separate file. Sponsored by: Chelsio Communications Added: head/sys/dev/cxgbe/t4_filter.c (contents, props changed) Modif

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

2018-05-05 Thread Navdeep Parhar
Author: np Date: Sat May 5 20:16:08 2018 New Revision: 333276 URL: https://svnweb.freebsd.org/changeset/base/333276 Log: cxgbe(4): Update all firmwares to 1.19.1.0. These firmwares and the following list of changes are from the public ChelsioUwire-3.7.1.0 release. T6 Firmware ===

svn commit: r333394 - in head/sys/dev/cxgbe: . common firmware tom

2018-05-08 Thread Navdeep Parhar
Author: np Date: Wed May 9 04:09:49 2018 New Revision: 94 URL: https://svnweb.freebsd.org/changeset/base/94 Log: cxgbe(4): Add support for hash filters. These filters reside in the card's memory instead of its TCAM and can be configured via a new "hashfilter" subcommand in cxgbet

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

2018-05-09 Thread Navdeep Parhar
Author: np Date: Thu May 10 00:04:14 2018 New Revision: 333442 URL: https://svnweb.freebsd.org/changeset/base/333442 Log: cxgbe(4): Determine whether the firmware supports the FILTER2 work request, which can be used to configure hardware NAT and swapmac. All firmwares released after Jan 2

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

2018-05-09 Thread Navdeep Parhar
Author: np Date: Thu May 10 06:33:54 2018 New Revision: 333448 URL: https://svnweb.freebsd.org/changeset/base/333448 Log: cxgbe(4): Disable write-combined doorbells by default. This had been the default behavior but was changed accidentally as part of the recent iw_cxgbe+OFED overhaul. F

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

2018-05-10 Thread Navdeep Parhar
Author: np Date: Thu May 10 20:39:04 2018 New Revision: 333472 URL: https://svnweb.freebsd.org/changeset/base/333472 Log: cxgbe(4): Add fields to support configuration of hardware NAT and swapmac (SMAC/DMAC switcheroo) from userspace. Sponsored by: Chelsio Communications Modified: head

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

2017-05-14 Thread Navdeep Parhar
Author: np Date: Sun May 14 09:07:13 2017 New Revision: 318263 URL: https://svnweb.freebsd.org/changeset/base/318263 Log: cxgbe(4): netmap-only interrupts for a VI do not have an associated rxq or ofld_rxq and should be ignored by vi_intr_iq. MFC after:3 days. Sponsored by: Chelsio

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

2017-05-15 Thread Navdeep Parhar
Author: np Date: Mon May 15 18:18:32 2017 New Revision: 318307 URL: https://svnweb.freebsd.org/changeset/base/318307 Log: cxgbe(4): Avoid an out of bounds access when an attempt to unbind a tx queue from a traffic class fails. Reported by: x ksi MFC after:3 days Modified: head/

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

2017-05-23 Thread Navdeep Parhar
Author: np Date: Tue May 23 23:40:17 2017 New Revision: 318762 URL: https://svnweb.freebsd.org/changeset/base/318762 Log: cxgbe(4): Update the T4, T5, and T6 firmwares to 1.16.45.0. The latest firmware has a number of link related fixes, support for a new custom card, and the fix for a bu

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

2017-05-23 Thread Navdeep Parhar
Author: np Date: Wed May 24 04:48:09 2017 New Revision: 318774 URL: https://svnweb.freebsd.org/changeset/base/318774 Log: cxgbe/iw_cxgbe: sodisconnect failures are harmless and should not be treated as fatal errors. MFC after:3 days Sponsored by: Chelsio Communications Modified:

svn commit: r318973 - head/contrib/ofed/libcxgb4/src

2017-05-26 Thread Navdeep Parhar
Author: np Date: Sat May 27 02:05:21 2017 New Revision: 318973 URL: https://svnweb.freebsd.org/changeset/base/318973 Log: libcxgb4: Use memcpy instead of copying WRs 8B at a time in the userspace RDMA library for cxgbe(4). MFC after:3 days Sponsored by: Chelsio Communications Modif

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

2017-06-02 Thread Navdeep Parhar
Author: np Date: Fri Jun 2 17:57:27 2017 New Revision: 319506 URL: https://svnweb.freebsd.org/changeset/base/319506 Log: cxgbe(4): Update the statistics for compound tx work requests once per work request, not once per frame. MFC after:1 week Sponsored by: Chelsio Communications M

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

2017-06-12 Thread Navdeep Parhar
Author: np Date: Mon Jun 12 20:55:20 2017 New Revision: 319872 URL: https://svnweb.freebsd.org/changeset/base/319872 Log: cxgbe(4): Do not request an FEC setting that the port does not support. MFC after:3 days. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/com

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

2017-06-15 Thread Navdeep Parhar
Author: np Date: Thu Jun 15 19:56:59 2017 New Revision: 319986 URL: https://svnweb.freebsd.org/changeset/base/319986 Log: cxgbe(4): Fix per-queue netmap operation. Do not attempt to initialize netmap queues that are already initialized or aren't supposed to be initialized. Similarly, do

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

2017-06-27 Thread Navdeep Parhar
Author: np Date: Tue Jun 27 17:43:28 2017 New Revision: 320416 URL: https://svnweb.freebsd.org/changeset/base/320416 Log: cxgbe/t4_tom: sbspace on listening sockets is no longer supported (as of r319722), use sol_sbrcv_hiwat instead. Sponsored by: Chelsio Communications Modified: head/

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

2017-06-27 Thread Navdeep Parhar
Author: np Date: Tue Jun 27 17:45:47 2017 New Revision: 320418 URL: https://svnweb.freebsd.org/changeset/base/320418 Log: cxgbe/iw_cxgbe: Catch up with r319722. The socket lock is not the same as the lock for the receive buffer any more. Sponsored by: Chelsio Communications Modified:

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

2017-06-27 Thread Navdeep Parhar
Author: np Date: Tue Jun 27 17:48:11 2017 New Revision: 320419 URL: https://svnweb.freebsd.org/changeset/base/320419 Log: cxgbe/iw_cxgbe: Disable debug output by default. The help text for the sysctl already says that the default is 0. Sponsored by: Chelsio Communications Modified: he

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

2017-06-27 Thread Navdeep Parhar
Author: np Date: Tue Jun 27 22:05:06 2017 New Revision: 320426 URL: https://svnweb.freebsd.org/changeset/base/320426 Log: cxgbe/t4_tom: Do not include space taken by the TCP timestamp option in the "effective MSS" for the connection. The chip expects it this way. Submitted by: Krishnamra

svn commit: r320480 - head/sys/kern

2017-06-29 Thread Navdeep Parhar
Author: np Date: Thu Jun 29 19:43:27 2017 New Revision: 320480 URL: https://svnweb.freebsd.org/changeset/base/320480 Log: Adjust sowakeup post-r319685 so that it continues to make upcalls but still avoids calling soconnected during sodisconnected. Discussed with: glebius@ Sponsore

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

2017-07-16 Thread Navdeep Parhar
Author: np Date: Mon Jul 17 00:42:13 2017 New Revision: 321063 URL: https://svnweb.freebsd.org/changeset/base/321063 Log: cxgbe(4): Various link/media related improvements. - Deal with changes to port_type, and not just port_mod when a transceiver is changed. This fixes hot swapping of

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

2016-10-17 Thread Navdeep Parhar
Author: np Date: Mon Oct 17 20:57:54 2016 New Revision: 307531 URL: https://svnweb.freebsd.org/changeset/base/307531 Log: cxgbe(4): Adjust whitespace to line up the column titles in cim_qcfg with the values displayed. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_m

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

2016-10-21 Thread Navdeep Parhar
Author: np Date: Sat Oct 22 00:48:58 2016 New Revision: 307759 URL: https://svnweb.freebsd.org/changeset/base/307759 Log: cxgbe(4): Dump any mailbox command that times out. Modified: head/sys/dev/cxgbe/common/t4_hw.c Modified: head/sys/dev/cxgbe/common/t4_hw.c ===

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

2016-10-24 Thread Navdeep Parhar
Author: np Date: Mon Oct 24 19:09:56 2016 New Revision: 307876 URL: https://svnweb.freebsd.org/changeset/base/307876 Log: cxgbe(4): Fix bug in the calculation of the number of physically contiguous regions in an mbuf chain. If the payload of an mbuf ends at a page boundary count_mbuf_nseg

svn commit: r307881 - head/sys/contrib/rdma/krping

2016-10-24 Thread Navdeep Parhar
Author: np Date: Mon Oct 24 20:53:44 2016 New Revision: 307881 URL: https://svnweb.freebsd.org/changeset/base/307881 Log: krping: Allow the underlying ib_device to handle DMA mappings. Submitted by: Vijay Singh @ Netapp Modified: head/sys/contrib/rdma/krping/krping.c Modified: head/sys/

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

2016-10-28 Thread Navdeep Parhar
Author: np Date: Fri Oct 28 23:01:11 2016 New Revision: 308066 URL: https://svnweb.freebsd.org/changeset/base/308066 Log: cxgbe(4): Accurate statistics for all chip settings. There are 4 independent knobs in T5+ chips to include or exclude PAUSE frames from the "total frames" and "multica

Re: svn commit: r305852 - in head/sys: dev/cxgbe dev/cxgbe/firmware modules/cxgbe modules/cxgbe/if_cc modules/cxgbe/if_ccv

2016-11-29 Thread Navdeep Parhar
On Fri, Nov 18, 2016 at 07:09:37PM +0300, Slawa Olhovchenkov wrote: > On Fri, Sep 16, 2016 at 12:08:37AM +0000, Navdeep Parhar wrote: > > > Author: np > > Date: Fri Sep 16 00:08:37 2016 > > New Revision: 305852 > > URL: https://svnweb.freebsd.org/changeset/base/3058

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

2016-11-29 Thread Navdeep Parhar
Author: np Date: Wed Nov 30 00:26:35 2016 New Revision: 309302 URL: https://svnweb.freebsd.org/changeset/base/309302 Log: cxgbe(4): Include firmware for T6 cards in the driver. Update all firmwares to 1.16.12.0. Obtained from:Chelsio Communications MFC after:3 days Sponso

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

2016-12-06 Thread Navdeep Parhar
Author: np Date: Tue Dec 6 12:43:07 2016 New Revision: 309613 URL: https://svnweb.freebsd.org/changeset/base/309613 Log: cxgbe(4): Update firmwares from version 1.16.12.0 to 1.16.22.0. Obtained from:Chelsio Communications MFC after:3 days Sponsored by: Chelsio Communication

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

2016-12-06 Thread Navdeep Parhar
Author: np Date: Wed Dec 7 04:23:08 2016 New Revision: 309666 URL: https://svnweb.freebsd.org/changeset/base/309666 Log: cxgbe(4): unsigned short isn't large enough to store link speed (which is in Mbps) for 100Gbps links. MFC after:3 days Modified: head/sys/dev/cxgbe/common/commo

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

2016-12-08 Thread Navdeep Parhar
Author: np Date: Fri Dec 9 02:21:27 2016 New Revision: 309725 URL: https://svnweb.freebsd.org/changeset/base/309725 Log: cxgbe(4): netmap does not set IFCAP_NETMAP in an ifnet's if_capabilities any more (since r307394). Do it in the driver instead. MFC after:1 week Modified: head

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

2016-12-13 Thread Navdeep Parhar
Author: np Date: Tue Dec 13 20:35:57 2016 New Revision: 310033 URL: https://svnweb.freebsd.org/changeset/base/310033 Log: cxgbe(4): Retire t4_bus_space_read_8 and t4_bus_space_write_8. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/adapter.h Mod

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

2016-12-13 Thread Navdeep Parhar
Author: np Date: Wed Dec 14 07:36:36 2016 New Revision: 310049 URL: https://svnweb.freebsd.org/changeset/base/310049 Log: cxgbe(4): Fix the tid range shown for T6 cards in misc.tids. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c =

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

2019-10-15 Thread Navdeep Parhar
Author: np Date: Tue Oct 15 17:35:39 2019 New Revision: 353578 URL: https://svnweb.freebsd.org/changeset/base/353578 Log: cxgbe(4): An EQ update can be requested in a TX_PKTS2 work request. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_sge.c

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

2019-10-25 Thread Navdeep Parhar
Author: np Date: Fri Oct 25 21:53:05 2019 New Revision: 354106 URL: https://svnweb.freebsd.org/changeset/base/354106 Log: cxgbe(4): Use correct FetchBurstMin values for T6. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_regs_values.h

svn commit: r354110 - head/share/man/man4

2019-10-25 Thread Navdeep Parhar
Author: np Date: Fri Oct 25 22:39:26 2019 New Revision: 354110 URL: https://svnweb.freebsd.org/changeset/base/354110 Log: Fix typo in cxgbe.4. MFC after:1 week Modified: head/share/man/man4/cxgbe.4 Modified: head/share/man/man4/cxgbe.4 ===

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

2019-10-30 Thread Navdeep Parhar
Author: np Date: Thu Oct 31 00:35:26 2019 New Revision: 354210 URL: https://svnweb.freebsd.org/changeset/base/354210 Log: cxgbe(4): Use correct size while converting lpacaps32 to native endianness. Modified: head/sys/dev/cxgbe/common/t4_hw.c Modified: head/sys/dev/cxgbe/common/t4_hw.c

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

2019-11-07 Thread Navdeep Parhar
Author: np Date: Fri Nov 8 01:13:12 2019 New Revision: 354522 URL: https://svnweb.freebsd.org/changeset/base/354522 Log: cxgbe(4): Query Vdd from the firmware if its last known value is 0. TVSENSE may not be ready by the time t4_fw_initialize returns and the firmware returns 0 if the dri

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

2019-11-15 Thread Navdeep Parhar
Author: np Date: Fri Nov 15 18:48:14 2019 New Revision: 354742 URL: https://svnweb.freebsd.org/changeset/base/354742 Log: cxgbev(4): Catch up with the pciids in the PF driver. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_iov.c head/sys/dev

  1   2   3   4   5   6   7   8   9   10   >