svn commit: r353418 - in stable/10/sys: conf dev/cxgbe dev/cxgbe/common dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2019-10-10 Thread Navdeep Parhar
Author: np Date: Thu Oct 10 23:27:02 2019 New Revision: 353418 URL: https://svnweb.freebsd.org/changeset/base/353418 Log: MFC r319872, r321063, r321582, r322034, r322425, r322962, r322985, r325596, r326026, r328420, r331472, r333276, r333650, r333652, r334406, r334409-r334410, r334489, r3360

svn commit: r353414 - stable/10/sys/net

2019-10-10 Thread Navdeep Parhar
Author: np Date: Thu Oct 10 20:28:34 2019 New Revision: 353414 URL: https://svnweb.freebsd.org/changeset/base/353414 Log: MFC r318147 (by erj@): Add several new media types to if_media.h These include several 25G types (for active direct attach cables and LR modules), and a missing

svn commit: r331719 - in stable/10/sys: conf dev/cxgbe/firmware dev/cxgbe/iw_cxgbe modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2018-03-28 Thread Navdeep Parhar
Author: np Date: Thu Mar 29 01:20:58 2018 New Revision: 331719 URL: https://svnweb.freebsd.org/changeset/base/331719 Log: MFC r323006 and r324386. This brings the cxgbe(4) firmware up to 1.16.63.0. Sponsored by: Chelsio Communications Added: stable/10/sys/dev/cxgbe/firmware/t4fw-1.1

svn commit: r331336 - stable/10

2018-03-21 Thread Navdeep Parhar
Author: np Date: Thu Mar 22 00:52:53 2018 New Revision: 331336 URL: https://svnweb.freebsd.org/changeset/base/331336 Log: Add mergeinfo. This should have been part of r331320. Modified: Directory Properties: stable/10/ (props changed) ___ svn-src

svn commit: r331320 - stable/10/sys/dev/cxgb

2018-03-21 Thread Navdeep Parhar
Author: np Date: Wed Mar 21 20:13:24 2018 New Revision: 331320 URL: https://svnweb.freebsd.org/changeset/base/331320 Log: MFC r328315: cxgb(4): Validate offset/len in the GET_EEPROM ioctl. Sponsored by: Chelsio Communications. Modified: stable/10/sys/dev/cxgb/cxgb_main.c Modified:

svn commit: r319272 - stable/10/sys/dev/cxgbe/iw_cxgbe

2017-05-30 Thread Navdeep Parhar
Author: np Date: Wed May 31 00:43:52 2017 New Revision: 319272 URL: https://svnweb.freebsd.org/changeset/base/319272 Log: MFC r318774: cxgbe/iw_cxgbe: sodisconnect failures are harmless and should not be treated as fatal errors. Sponsored by: Chelsio Communications Modified: stabl

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

2017-05-30 Thread Navdeep Parhar
Author: np Date: Wed May 31 00:16:43 2017 New Revision: 319270 URL: https://svnweb.freebsd.org/changeset/base/319270 Log: MFC r318762: 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, an

svn commit: r319255 - stable/10/contrib/ofed/libcxgb4/src

2017-05-30 Thread Navdeep Parhar
Author: np Date: Tue May 30 21:57:25 2017 New Revision: 319255 URL: https://svnweb.freebsd.org/changeset/base/319255 Log: MFC r314176 and r318973. r314176: Add support for RDMA from userspace with T6 cards. r318973: libcxgb4: Use memcpy instead of copying WRs 8B at a time in the us

svn commit: r318855 - stable/10/sys/dev/cxgbe

2017-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 25 02:00:37 2017 New Revision: 318855 URL: https://svnweb.freebsd.org/changeset/base/318855 Log: MFC r318014, r318091, r318125, and r318263. r318014: cxgbe(4): Fixes related to the knob that controls link autonegotiation. - Do not leak the adapter lock in sys

svn commit: r318851 - in stable/10/sys: conf dev/cxgbe dev/cxgbe/common modules/cxgbe/if_cxgbe

2017-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 25 01:43:28 2017 New Revision: 318851 URL: https://svnweb.freebsd.org/changeset/base/318851 Log: MFC r317702, r317847, r318307 r317702: cxgbe(4): Support routines for Tx traffic scheduling. - Create a new file, t4_sched.c, and move all of the code related to

svn commit: r318844 - stable/10/sys/dev/cxgbe

2017-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 25 01:01:35 2017 New Revision: 318844 URL: https://svnweb.freebsd.org/changeset/base/318844 Log: MFC r317820 and r317837. r317820: cxgbe(4): Update the list of PCIe devices claimed by the driver. At this point any board with a T6 should just work. r317837:

svn commit: r318840 - in stable/10/sys/dev/cxgbe: . common

2017-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 25 00:16:41 2017 New Revision: 318840 URL: https://svnweb.freebsd.org/changeset/base/318840 Log: MFC r316971: cxgbe: Add a tunable to configure the SGE time scaler, which is available starting with T6. The values in the timer holdoff registers are multiplied by

svn commit: r318838 - stable/10/sys/dev/cxgbe

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 23:08:45 2017 New Revision: 318838 URL: https://svnweb.freebsd.org/changeset/base/318838 Log: MFC r316506: cxgbe(4): Program the global RSS key once instead of once per ifnet. Sponsored by: Chelsio Communications Modified: stable/10/sys/dev/cxgbe/t4_main.

svn commit: r318836 - stable/10/sys/dev/cxgbe/common

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 22:48:17 2017 New Revision: 318836 URL: https://svnweb.freebsd.org/changeset/base/318836 Log: MFC r316172: cxgbe: Don't call t4_edc_err_read for errors not related to the EDCs. Sponsored by: Chelsio Communications Modified: stable/10/sys/dev/cxgbe/common/

svn commit: r318826 - stable/10/sys/dev/cxgbe

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 21:54:04 2017 New Revision: 318826 URL: https://svnweb.freebsd.org/changeset/base/318826 Log: MFC r309725: cxgbe(4): netmap does not set IFCAP_NETMAP in an ifnet's if_capabilities any more (since r307394). Do it in the driver instead. Modified: stable/10/sy

svn commit: r318811 - in stable/10/release: . tools

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 20:34:19 2017 New Revision: 318811 URL: https://svnweb.freebsd.org/changeset/base/318811 Log: MFC r307008: Add the ability to override the size of the swap partition when building VM images. The default continues to be 1G. Sponsored by: Chelsio Communicat

svn commit: r318809 - in stable/10: share/man/man4 sys/dev/cxgbe

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 20:29:20 2017 New Revision: 318809 URL: https://svnweb.freebsd.org/changeset/base/318809 Log: MFC r313318: cxgbe(4): Allow tunables that control the number of queues to be set to '-n' to tell the driver to create _up to_ 'n' queues if enough cores are availa

svn commit: r318804 - stable/10/sys/dev/cxgbe/tom

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 20:01:12 2017 New Revision: 318804 URL: https://svnweb.freebsd.org/changeset/base/318804 Log: MFC r313346: cxgbe/t4_tom: Fix CLIP entry refcounting on the passive side. Every IPv6 connection being handled by the TOE should have a reference on its CLIP entry.

svn commit: r318802 - stable/10/sys/ofed/drivers/infiniband/core

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 19:19:02 2017 New Revision: 318802 URL: https://svnweb.freebsd.org/changeset/base/318802 Log: MFC r314131: Avoid NULL dereference in a couple of sysctl handlers in ibcore. iw_cxgbe sets ib_device->dma_device to NULL (since r311880). Sponsored by: Chelsio C

svn commit: r318799 - in stable/10: contrib/ofed/libcxgb4/src sys/dev/cxgb/ulp/iw_cxgb sys/dev/cxgbe/iw_cxgbe

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 18:16:20 2017 New Revision: 318799 URL: https://svnweb.freebsd.org/changeset/base/318799 Log: MFC r311880, r314167, r316118, r316571, r316573, r316580, r316936-r316937, r316940, and r317410. r311880: The iw_cxgb and iw_cxgbe drivers should not use a FreeBSD d

svn commit: r318797 - in stable/10/sys/dev/cxgbe: . common

2017-05-24 Thread Navdeep Parhar
Author: np Date: Wed May 24 17:52:56 2017 New Revision: 318797 URL: https://svnweb.freebsd.org/changeset/base/318797 Log: MFC r316774: cxgbe: Query some more RDMA related parameters from the firmware. Sponsored by: Chelsio Communications Modified: stable/10/sys/dev/cxgbe/common/comm

svn commit: r318775 - stable/10/sys/dev/cxgbe/common

2017-05-23 Thread Navdeep Parhar
Author: np Date: Wed May 24 05:30:36 2017 New Revision: 318775 URL: https://svnweb.freebsd.org/changeset/base/318775 Log: MFC r311846: cxgbe(4): Refresh t4_msg.h, mainly for definitions related to the crypto engine. Modified: stable/10/sys/dev/cxgbe/common/t4_msg.h Directory Properties:

svn commit: r316123 - in stable/10/sys/dev/cxgbe: . iw_cxgbe

2017-03-28 Thread Navdeep Parhar
Author: np Date: Wed Mar 29 02:21:05 2017 New Revision: 316123 URL: https://svnweb.freebsd.org/changeset/base/316123 Log: MFC r315201, r315920, r315921, r315922, r316008, and r316062. r315201: cxgbe(4): Fix an always-true assertion (reported by PVS-Studio). sys/dev/cxgbe/t4_main.c:

svn commit: r315868 - stable/10/sys/dev/cxgbe/iw_cxgbe

2017-03-23 Thread Navdeep Parhar
Author: np Date: Thu Mar 23 20:23:00 2017 New Revision: 315868 URL: https://svnweb.freebsd.org/changeset/base/315868 Log: MFC r314814 and r315325. r314814: cxgbe/iw_cxgbe: Abort connection if there is an error during c4iw_modify_qp. r315325: cxgbe/iw_cxgbe: Use the socket and not t

svn commit: r314776 - stable/10/sys/dev/cxgbe/iw_cxgbe

2017-03-06 Thread Navdeep Parhar
Author: np Date: Mon Mar 6 15:16:15 2017 New Revision: 314776 URL: https://svnweb.freebsd.org/changeset/base/314776 Log: MFC r314509 and r314578. r314509: cxgbe/iw_cxgbe: Do not check the size of the memory region being registered. T4/5/6 have no internal limit on this size. This is

svn commit: r314606 - in stable/10/sys: dev/cxgbe/iw_cxgbe ofed/drivers/infiniband/core

2017-03-03 Thread Navdeep Parhar
Author: np Date: Fri Mar 3 17:57:17 2017 New Revision: 314606 URL: https://svnweb.freebsd.org/changeset/base/314606 Log: MFC r314400: cxgbe/iw_cxgbe: fix various double-close panics with iWARP sockets. Sockets representing the TCP endpoints for iWARP connections are allocated by the

svn commit: r312525 - stable/10/sys/dev/cxgbe/tom

2017-01-20 Thread Navdeep Parhar
Author: np Date: Fri Jan 20 10:13:40 2017 New Revision: 312525 URL: https://svnweb.freebsd.org/changeset/base/312525 Log: MFC r312368: cxgbe/tom: Fix a case where do_pass_accept_req wasn't properly restoring the VNET. Modified: stable/10/sys/dev/cxgbe/tom/t4_listen.c Directory Properties:

svn commit: r312337 - stable/10/sys/dev/cxgbe/tom

2017-01-16 Thread Navdeep Parhar
Author: np Date: Tue Jan 17 07:43:37 2017 New Revision: 312337 URL: https://svnweb.freebsd.org/changeset/base/312337 Log: Fix mismerge in r312117. This is a direct commit to stable/10. Modified: stable/10/sys/dev/cxgbe/tom/t4_ddp.c Modified: stable/10/sys/dev/cxgbe/tom/t4_ddp.c

svn commit: r312188 - stable/10/sys/dev/cxgbe

2017-01-14 Thread Navdeep Parhar
Author: np Date: Sat Jan 14 15:52:59 2017 New Revision: 312188 URL: https://svnweb.freebsd.org/changeset/base/312188 Log: MFC r311848: cxgbe(4): Attach to the 2x25 debug card. This is for internal use only. Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory Properties: stable/10/ (p

svn commit: r312186 - stable/10/sys/dev/cxgbe

2017-01-14 Thread Navdeep Parhar
Author: np Date: Sat Jan 14 15:43:31 2017 New Revision: 312186 URL: https://svnweb.freebsd.org/changeset/base/312186 Log: MFC r311831 and r311832. r311831: cxgbe(4): The wraparound logic in start_wrq_wr() should not get involved in work requests that end at the end of the descriptor rin

svn commit: r312117 - stable/10/sys/dev/cxgbe/tom

2017-01-13 Thread Navdeep Parhar
Author: np Date: Sat Jan 14 04:34:30 2017 New Revision: 312117 URL: https://svnweb.freebsd.org/changeset/base/312117 Log: MFC r311569, r311657, and r311949. r311569: Fix comment in t4_tom. No functional change. r311657: cxgbe/t4_tom: Fix tid accounting. An offloaded IPv6 connecti

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

2017-01-06 Thread Navdeep Parhar
Author: np Date: Fri Jan 6 08:44:47 2017 New Revision: 311507 URL: https://svnweb.freebsd.org/changeset/base/311507 Log: MFC r310151 and r311173. r310151: cxgbe(4): Changes to the default T6 firmware configuration file. - Disable features that are not supported or not used on FreeBS

svn commit: r311261 - in stable/10: share/man/man4 sys/dev/cxgbe sys/dev/cxgbe/common

2017-01-03 Thread Navdeep Parhar
Author: np Date: Wed Jan 4 06:58:35 2017 New Revision: 311261 URL: https://svnweb.freebsd.org/changeset/base/311261 Log: MFC r309666, r310033, r310049, r310100, r310152, and r310807. r309666: cxgbe(4): unsigned short isn't large enough to store link speed (which is in Mbps) for 100Gbps

svn commit: r307183 - stable/10/usr.sbin/bhyve

2016-10-12 Thread Navdeep Parhar
Author: np Date: Thu Oct 13 06:32:21 2016 New Revision: 307183 URL: https://svnweb.freebsd.org/changeset/base/307183 Log: bhyve(8): Fix typo from r294294 that prevented bhyve from working with vmnet devices. This is a direct commit to stable/10. Modified: stable/10/usr.sbin/bhyve/pci_virti

svn commit: r297478 - in stable/10/sys: dev/netmap kern

2016-03-31 Thread Navdeep Parhar
Author: np Date: Fri Apr 1 01:39:44 2016 New Revision: 297478 URL: https://svnweb.freebsd.org/changeset/base/297478 Log: MFC r297298: Plug leak in m_unshare. m_unshare passes on the source mbuf's flags as-is to m_getcl and this results in a leak if the flags include M_NOFREE. The fix

svn commit: r297216 - stable/10/share/man/man4

2016-03-23 Thread Navdeep Parhar
Author: np Date: Wed Mar 23 20:21:51 2016 New Revision: 297216 URL: https://svnweb.freebsd.org/changeset/base/297216 Log: MFC r279091. Add cxl(4) and if_cxl(4) as links to cxgbe(4). Modified: stable/10/share/man/man4/Makefile Directory Properties: stable/10/ (props changed) Modified

svn commit: r297059 - in stable/10/sys: dev/cxgbe kern

2016-03-19 Thread Navdeep Parhar
Author: np Date: Sun Mar 20 05:01:40 2016 New Revision: 297059 URL: https://svnweb.freebsd.org/changeset/base/297059 Log: MFC r277759 (by jhb@) Fix a couple of panics when detaching from a cxgbe/cxl interface that was never brought up: - Allow NULL to be passed to sglist_free(). - Don

svn commit: r287149 - stable/10/sys/dev/cxgbe

2015-08-25 Thread Navdeep Parhar
Author: np Date: Wed Aug 26 01:41:55 2015 New Revision: 287149 URL: https://svnweb.freebsd.org/changeset/base/287149 Log: MFC r286926: cxgbe(4): Save the flags for the last adapter-wide synchronized operation that was initiated successfully. (The caller and thread are already recorded

svn commit: r286898 - stable/10/sys/dev/cxgbe

2015-08-18 Thread Navdeep Parhar
Author: np Date: Tue Aug 18 19:15:20 2015 New Revision: 286898 URL: https://svnweb.freebsd.org/changeset/base/286898 Log: MFC r271490: cxgbe(4): add support for the SIOCGI2C ioctl. Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory Properties: stable/10/ (props changed) Modified: st

svn commit: r286897 - in stable/10/sys/dev/cxgbe: . common

2015-08-18 Thread Navdeep Parhar
Author: np Date: Tue Aug 18 19:04:55 2015 New Revision: 286897 URL: https://svnweb.freebsd.org/changeset/base/286897 Log: MFC r285648: cxgbe(4): Ask the firmware for the start of the RSS slice for a port and save it for later. This enables direct manipulation of the indirection tables

svn commit: r286895 - in stable/10/sys: conf dev/cxgbe dev/cxgbe/firmware dev/cxgbe/tom modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware

2015-08-18 Thread Navdeep Parhar
Author: np Date: Tue Aug 18 18:54:45 2015 New Revision: 286895 URL: https://svnweb.freebsd.org/changeset/base/286895 Log: MFC r285527 and r286338. This takes the firmware from 1.11.27.0 to 1.14.4.0. r286338: cxgbe(4): Update T5 and T4 firmwares bundled with the driver to 1.14.4.0. The

svn commit: r286274 - stable/10/sys/dev/cxgbe

2015-08-03 Thread Navdeep Parhar
Author: np Date: Tue Aug 4 04:00:36 2015 New Revision: 286274 URL: https://svnweb.freebsd.org/changeset/base/286274 Log: MFC r284988, r285220, and r285221. r284988: cxgbe(4): request an automatic tx update when a netmap tx queue idles. The NIC tx queues already do this. r285220:

svn commit: r286273 - stable/10/sys/dev/cxgbe

2015-08-03 Thread Navdeep Parhar
Author: np Date: Tue Aug 4 03:43:09 2015 New Revision: 286273 URL: https://svnweb.freebsd.org/changeset/base/286273 Log: MFC r284718: cxgbe: get_fl_payload returns a header mbuf when successful. Modified: stable/10/sys/dev/cxgbe/t4_sge.c Directory Properties: stable/10/ (props chang

svn commit: r286272 - stable/10/tools/tools/cxgbetool

2015-08-03 Thread Navdeep Parhar
Author: np Date: Tue Aug 4 03:40:19 2015 New Revision: 286272 URL: https://svnweb.freebsd.org/changeset/base/286272 Log: MFC r284984: cxgbetool: fix code that decodes T5 SGE contexts. Some of the fields that changed between T4 and T5 were not displayed correctly. Modified: stable/10/

svn commit: r286271 - in stable/10/sys/dev/cxgbe: . common

2015-08-03 Thread Navdeep Parhar
Author: np Date: Tue Aug 4 03:33:59 2015 New Revision: 286271 URL: https://svnweb.freebsd.org/changeset/base/286271 Log: MFC r284445 and r286107. r284445: cxgbe(4): Add the ability to dump mailbox commands and replies. It is enabled/disabled via bit 0 of adapter->debug_flags (which is

svn commit: r284530 - stable/10/sys/ofed/include/linux

2015-06-17 Thread Navdeep Parhar
Author: np Date: Wed Jun 17 22:52:12 2015 New Revision: 284530 URL: https://svnweb.freebsd.org/changeset/base/284530 Log: MFC r277229: Use parentheses instead of close proximity to ensure layer + 1 is evaluated before the rest of the expression. Modified: stable/10/sys/ofed/include/lin

svn commit: r284098 - stable/10/sys/dev/cxgbe

2015-06-06 Thread Navdeep Parhar
Author: np Date: Sat Jun 6 20:01:06 2015 New Revision: 284098 URL: https://svnweb.freebsd.org/changeset/base/284098 Log: MFC r259150 (by adrian@) and r283864. r259150: Print out the full PCIe link negotiation during dmesg. I found this useful when checking whether a NIC is in a PCIE

svn commit: r284093 - stable/10/sys/dev/cxgbe

2015-06-06 Thread Navdeep Parhar
Author: np Date: Sat Jun 6 18:46:37 2015 New Revision: 284093 URL: https://svnweb.freebsd.org/changeset/base/284093 Log: MFC r283858 and r284007. r283858: cxgbe: set minimum burst size when fetching freelist buffers to 128B. r284007: cxgbe: set the minimum burst size when fetching

svn commit: r284092 - stable/10/sys/dev/cxgbe/tom

2015-06-06 Thread Navdeep Parhar
Author: np Date: Sat Jun 6 18:31:28 2015 New Revision: 284092 URL: https://svnweb.freebsd.org/changeset/base/284092 Log: MFC r280878: cxgbe/tom: return rx credits promptly if the socket buffer's low water mark cannot be reached because the window advertised to the peer isn't wide enoug

svn commit: r284089 - in stable/10/sys/dev/cxgbe: . iw_cxgbe tom

2015-06-06 Thread Navdeep Parhar
Author: np Date: Sat Jun 6 18:00:36 2015 New Revision: 284089 URL: https://svnweb.freebsd.org/changeset/base/284089 Log: MFC r278239 and r278374. r278239: cxgbe(4): reserve id for iSCSI upper layer driver. r278374: cxgbe(4): tidy up some of the interaction between the Upper Layer

svn commit: r284052 - in stable/10/sys: arm/conf conf dev/cxgbe modules modules/cxgbe/if_cxgbe powerpc/conf

2015-06-06 Thread Navdeep Parhar
wrq->tx_wrs = 0; - wrq->no_desc = 0; + wrq->tx_wrs_direct = 0; + wrq->tx_wrs_copied = 0; } break; } Copied and modified: stable/10/sys/dev/cxgbe/t4_mp_ring.c (from r276485, head/sys/

svn commit: r283856 - in stable/10/sys/dev/cxgbe: iw_cxgbe tom

2015-05-31 Thread Navdeep Parhar
Author: np Date: Sun May 31 23:47:08 2015 New Revision: 283856 URL: https://svnweb.freebsd.org/changeset/base/283856 Log: MFC r273480, r273750, r273753, r273797, and r274461. r273480: cxgbe/iw_cxgbe: wake up waiters after flushing the qp. r273750: Some cxgbe/iw_cxgbe fixes: - Fre

svn commit: r283854 - in stable/10/sys/dev/cxgbe: common tom

2015-05-31 Thread Navdeep Parhar
Author: np Date: Sun May 31 23:11:25 2015 New Revision: 283854 URL: https://svnweb.freebsd.org/changeset/base/283854 Log: MFC r272719: cxgbe/tom: don't leak resources tied to an active open request that cannot be sent to the chip because a prerequisite L2 resolution failed. Modified:

svn commit: r282486 - stable/10/sys/dev/cxgbe

2015-05-05 Thread Navdeep Parhar
Author: np Date: Tue May 5 15:13:59 2015 New Revision: 282486 URL: https://svnweb.freebsd.org/changeset/base/282486 Log: Backport some parts of r272200. - a lock to protect indirect register access - put code that deals with stats in a separate cxgbe_refresh_stats. This is a direct com

svn commit: r282367 - stable/10/sys/dev/cxgbe

2015-05-03 Thread Navdeep Parhar
Author: np Date: Sun May 3 18:54:17 2015 New Revision: 282367 URL: https://svnweb.freebsd.org/changeset/base/282367 Log: MFC r272183: Make sure the adapter's management queue and the event queue are available before any uppper layer driver (TOE, iWARP, or iSCSI) registers with the base

svn commit: r282365 - stable/10/sys/dev/cxgbe

2015-05-03 Thread Navdeep Parhar
Author: np Date: Sun May 3 08:17:37 2015 New Revision: 282365 URL: https://svnweb.freebsd.org/changeset/base/282365 Log: MFC r272051: cxgbe(4): Verify that the addresses in if_multiaddrs really are multicast addresses. (The chip doesn't really care, it's just that it needs to be told

svn commit: r281264 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 05:02:21 2015 New Revision: 281264 URL: https://svnweb.freebsd.org/changeset/base/281264 Log: MFC r279092: cxgbe(4): there is no need to force an "unimplemented" panic needlessly. The calls to free_nm_txq and free_nm_rxq are made just a few lines prior to the

svn commit: r281263 - in stable/10/sys: dev/cxgbe modules/cxgbe modules/cxgbe/if_cxl

2015-04-07 Thread Navdeep Parhar
0 1970 (empty, because file is newly added) +++ stable/10/sys/dev/cxgbe/if_cxl.cWed Apr 8 04:40:04 2015 (r281263, copy of r278303, head/sys/dev/cxgbe/if_cxl.c) @@ -0,0 +1,44 @@ +/*- + * Copyright (c) 2015 Chelsio Communications, Inc. + * All rights reserved. + * Written by:

svn commit: r281259 - in stable/10/sys/dev/cxgbe: . common

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 03:55:02 2015 New Revision: 281259 URL: https://svnweb.freebsd.org/changeset/base/281259 Log: MFC r278485: cxgbe(4): allow the SET_FILTER_MODE ioctl to change the mode when it's safe to do so. Modified: stable/10/sys/dev/cxgbe/common/t4_hw.c stable/10/sys/

svn commit: r281253 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 01:43:29 2015 New Revision: 281253 URL: https://svnweb.freebsd.org/changeset/base/281253 Log: MFC r279243-r279246, r279251, r279691, r279700, and r279701. r279243: cxgbe(4): request an automatic tx update when a netmap txq idles. r279244: cxgbe(4): wait

svn commit: r281252 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 01:25:26 2015 New Revision: 281252 URL: https://svnweb.freebsd.org/changeset/base/281252 Log: MFC r280403: cxgbe(4): Do not call sbuf_trim on an sbuf with a drain function. Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory Properties: stable/10/ (props

svn commit: r281251 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 01:16:19 2015 New Revision: 281251 URL: https://svnweb.freebsd.org/changeset/base/281251 Log: MFC r279969: cxgbe(4): fix if_media handling for T520-BT cards. 1Gbps and 100Mbps are valid for this card. Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory P

svn commit: r281250 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 01:09:36 2015 New Revision: 281250 URL: https://svnweb.freebsd.org/changeset/base/281250 Log: MFC r278372: cxgbe(4): adapter_full_init is always a synchronized operation. Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory Properties: stable/10/ (props c

svn commit: r281249 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 01:07:51 2015 New Revision: 281249 URL: https://svnweb.freebsd.org/changeset/base/281249 Log: MFC r278371: cxgbe(4): a change to the synchronization rules within the the driver. This is purely cosmetic because the new rules are already followed. Modified: st

svn commit: r281248 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 01:05:50 2015 New Revision: 281248 URL: https://svnweb.freebsd.org/changeset/base/281248 Log: MFC r278342: cxgbe(4): fix a test made while enabling TOE. Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r281247 - stable/10/sys/dev/cxgbe/iw_cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 01:02:11 2015 New Revision: 281247 URL: https://svnweb.freebsd.org/changeset/base/281247 Log: MFC r277102, r277135. r277102: cxgbe/iw_cxgbe: allow any size during the initial MPA exchange. r277135: cxgbe/iw_cxgbe: fix whitespace nit in r277102. Modified

svn commit: r281246 - stable/10/tools/tools/cxgbetool

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 00:52:45 2015 New Revision: 281246 URL: https://svnweb.freebsd.org/changeset/base/281246 Log: MFC r276598, r276607. r276598: Add a manual page for cxgbetool. It is incomplete but definitely better than nothing. r276607: Fix all nits reported by mandoc

svn commit: r281245 - stable/10/sys/dev/cxgbe/tom

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 00:49:53 2015 New Revision: 281245 URL: https://svnweb.freebsd.org/changeset/base/281245 Log: MFC r276729, r276775. r276729: cxgbe/tom: use vmem(9) as the DDP page pod allocator. r276775: cxgbe/tom: allocate page pod addresses instead of ppod#. Modified

svn commit: r281244 - in stable/10/sys/dev/cxgbe: . tom

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 00:35:12 2015 New Revision: 281244 URL: https://svnweb.freebsd.org/changeset/base/281244 Log: MFC r276597: cxgbe/tom: do not engage the TOE's payload chopper for payload < 2 MSS or for 10Gbps ports. Modified: stable/10/sys/dev/cxgbe/offload.h stable/10/sys

svn commit: r281241 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Wed Apr 8 00:13:17 2015 New Revision: 281241 URL: https://svnweb.freebsd.org/changeset/base/281241 Log: MFC r276728: cxgbe(4): fix the description of a strange bunch of counters. Modified: stable/10/sys/dev/cxgbe/t4_main.c Directory Properties: stable/10/ (props cha

svn commit: r281214 - stable/10/sys/dev/cxgbe/tom

2015-04-07 Thread Navdeep Parhar
Author: np Date: Tue Apr 7 17:40:35 2015 New Revision: 281214 URL: https://svnweb.freebsd.org/changeset/base/281214 Log: MFC r276574: cxgbe/tom: fix the MSS calculation for IPv6 connections handled by the TOE. Modified: stable/10/sys/dev/cxgbe/tom/t4_cpl_io.c Directory Properties: sta

svn commit: r281213 - stable/10/sys/dev/cxgbe/tom

2015-04-07 Thread Navdeep Parhar
Author: np Date: Tue Apr 7 17:33:51 2015 New Revision: 281213 URL: https://svnweb.freebsd.org/changeset/base/281213 Log: MFC r276570: cxgbe/tom: log some more details in send_flowc_wr. Modified: stable/10/sys/dev/cxgbe/tom/t4_cpl_io.c Directory Properties: stable/10/ (props changed)

svn commit: r281212 - stable/10/sys/dev/cxgbe

2015-04-07 Thread Navdeep Parhar
Author: np Date: Tue Apr 7 17:21:30 2015 New Revision: 281212 URL: https://svnweb.freebsd.org/changeset/base/281212 Log: MFC r275539, r275554. r275539: cxgbe(4): Allow for different pad and pack boundaries for different adapters. Set the pack boundary for T5 cards to be the same as th

svn commit: r281211 - in stable/10/sys/dev/cxgbe: . tom

2015-04-07 Thread Navdeep Parhar
Author: np Date: Tue Apr 7 17:07:30 2015 New Revision: 281211 URL: https://svnweb.freebsd.org/changeset/base/281211 Log: MFC r275733: Move KTR_CXGBE from t4_tom.h to adapter.h so that the base if_cxgbe code can use it too. Modified: stable/10/sys/dev/cxgbe/adapter.h stable/10/sys/de

svn commit: r281207 - in stable/10/sys/dev/cxgbe: . common

2015-04-07 Thread Navdeep Parhar
Author: np Date: Tue Apr 7 15:32:43 2015 New Revision: 281207 URL: https://svnweb.freebsd.org/changeset/base/281207 Log: MFC r274456: Fix some bad interaction between cxgbe(4) and lacp lagg(4) that could leave a port permanently disabled when a copper cable is unplugged and then plugge