MFC r351540, r351590r351540:cxgbe/t4_tom: Initialize all TOE connection parameters in one place.Remove now-redundant items from toepcb and synq_entry and the code tosupport them.Let the driver
MFC r351540, r351590r351540:cxgbe/t4_tom: Initialize all TOE connection parameters in one place.Remove now-redundant items from toepcb and synq_entry and the code tosupport them.Let the driver calculate tx_align, rx_coalesce, and sndbuf by default.Reviewed by: jhb@Sponsored by: Chelsio CommunicationsDifferential Revision: https://reviews.freebsd.org/D21387r351590:cxgbe/t4_tom: Use the correct value of sndbuf in AIO Tx.This should have been part of r351540.Sponsored by: Chelsio Communications
show more ...
MFC r349499:cxgbe/iw_cxgbe: Remove unused field from the endpoint structure.
MFC some iw_cxgbe fixes (r339667, r339891, r340063, r342266, r342270,r342272, r342288-r342289, r343569, r344617, and r345307).r339667:cxgbe/iw_cxgbe: save the ep in the driver-private provider_da
MFC some iw_cxgbe fixes (r339667, r339891, r340063, r342266, r342270,r342272, r342288-r342289, r343569, r344617, and r345307).r339667:cxgbe/iw_cxgbe: save the ep in the driver-private provider_data field.Submitted By: Lily Wang @ Netappr339891:cxgbe/iw_cxgbe: Install the socket upcall before calling soconnect toensure that it always runs when soisconnected does.Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio Communicationsr340063:cxgbe/iw_cxgbe: Suppress spurious "Unexpected streaming data ..."messages.Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio Communicationsr342266:cxgbe/iw_cxgbe: Use DSGLs to write to card's memory when appropriate.Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio Communicationsr342270:cxgbe/iw_cxgbe: Add a knob for testing that lets iWARP connections cyclethrough 4-tuples quickly.Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio Communicationsr342272:cxgbe/iw_cxgbe: Use -ve errno when interfacing with linuxkpi/OFED.Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio Communicationsr342288:cxgbe/iw_cxgbe: Do not terminate CTRx messages with \n.r342289:cxgbe/iw_cxgbe: Remove redundant CTRs from c4iw_alloc/c4iw_rdev_open.This information is readily available elsewhere.Sponsored by: Chelsio Communicationsr343569:cxgbe/iw_cxgbe: Fix an address calculation in the memory registration code thatwas added in r342266.Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio Communicationsr344617:libcxgb4: Don't spam stderr. Write combining is not enabled by defaultby the FreeBSD driver.r345307:iw_cxgbe: Remove unused smac_idx from the ep structure.Submitted by: Krishnamraju Eraparaju @ Chelsio
cxgbe/iw_cxgbe: Fix reported build breakage when the kernelconfiguration has "device cxgbe' but no VIMAGE.Reported by: mav@Approved by: re@ (kib@)
cxgbe/iw_cxgbe: Fix iWARP RDMA + VIMAGE operation by setting the VNETproperly in a couple of places in the driver.Submitted by: Krishnamraju Eraparaju @ ChelsioApproved by: re@ (rgrimes@)Sponsor
cxgbe/iw_cxgbe: Fix iWARP RDMA + VIMAGE operation by setting the VNETproperly in a couple of places in the driver.Submitted by: Krishnamraju Eraparaju @ ChelsioApproved by: re@ (rgrimes@)Sponsored by: Chelsio Communications
Remove unused stuff from iw_cxgbe.h
cxgbe(4): Move all control queues to the adapter.There used to be one control queue per adapter (the mgmtq) that wasinitialized during adapter init and one per port that was initializedlater duri
cxgbe(4): Move all control queues to the adapter.There used to be one control queue per adapter (the mgmtq) that wasinitialized during adapter init and one per port that was initializedlater during port init. This change moves all the control queues (oneper port/channel) to the adapter so that they are initialized duringadapter init and are available before any port is up. This allows thedriver to issue ctrlq work requests over any channel without having tobring up any port.MFH: 2 weeksSponsored by: Chelsio Communications
Optimize ibcore RoCE address handle creation from user-space.Creating a UD address handle from user-space or from the kernel-space,when the link layer is ethernet, requires resolving the remote L3
Optimize ibcore RoCE address handle creation from user-space.Creating a UD address handle from user-space or from the kernel-space,when the link layer is ethernet, requires resolving the remote L3address into a L2 address. Doing this from the kernel is easy becausethe required ARP(IPv4) and ND6(IPv6) address resolving APIs are readilyavailable. In userspace such an interface does not exist and kernelhelp is required.It should be noted that in an IP-based GID environment, the GID itselfdoes not contain all the information needed to resolve the destinationIP address. For example information like VLAN ID and SCOPE ID, is notpart of the GID and must be fetched from the GID attributes. Thereforea source GID should always be referred to as a GID index. Instead ofgoing through various racy steps to obtain information about theGID attributes from user-space, this is now all done by the kernel.This patch optimises the L3 to L2 address resolving using the existingcreate address handle uverbs interface, retrieving back the L2 addressas an additional user-space information structure.This commit combines the following Linux upstream commits:IB/core: Let create_ah return extended response to userIB/core: Change ib_resolve_eth_dmac to use it in create AHIB/mlx5: Make create/destroy_ah available to userspaceIB/mlx5: Use kernel driver to help userspace create ahIB/mlx5: Report that device has udata response in create_ahMFC after: 1 weekSponsored by: Mellanox Technologies
iw_cxgbe: Remove declaration of a function that no longer exists.
cxgbe/iw_cxgbe: Remove duplicates to fix compilation with recent gcc.
cxgbe/iw_cxgbe: Fix iWARP over VLANs (catch up with r326169).Submitted by: KrishnamRaju ErapaRaju @ ChelsioSponsored by: Chelsio Communications
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
Fix iw_cxgbe build in the projects branch.Submitted by: Krishnamraju Eraparaju @ Chelsio
Update the iw_cxgbe bits in the projects branch.Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio Communications
The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for bothiWarp and RoCE in ibcore. The selection of RDMA_PS_TCP can not be usedto indicate iWarp protocol use. Backport the proper IB devi
The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for bothiWarp and RoCE in ibcore. The selection of RDMA_PS_TCP can not be usedto indicate iWarp protocol use. Backport the proper IB devicecapabilities from Linux upstream to distinguish between iWarp andRoCE. Only allocate the additional socket required for iWarp for RDMAIDs when at least one iWarp device present. This resolvesinteropability issues between iWarp and RoCE in ibcoreReviewed by: np @Differential Revision: https://reviews.freebsd.org/D12563Sponsored by: Mellanox TechnologiesMFC after: 3 days
cxgbe/iw_cxgbe: Set TCP_NODELAY before initiating connection so thatt4_tom picks it up right away. This is less work than waiting forthe connection to be established before applying the setting.
cxgbe/iw_cxgbe: Set TCP_NODELAY before initiating connection so thatt4_tom picks it up right away. This is less work than waiting forthe connection to be established before applying the setting.MFC after: 2 weeksSponsored by: Chelsio Communications
cxgbe(4): Update T6/T5/T4 firmwares to 1.16.59.0.These firmwares come from a pre-release snapshot. The final firmwaresin this Chelsio release cycle will likely be .61.0 or later and thosewill be
cxgbe(4): Update T6/T5/T4 firmwares to 1.16.59.0.These firmwares come from a pre-release snapshot. The final firmwaresin this Chelsio release cycle will likely be .61.0 or later and thosewill be the next "long lived" firmwares in FreeBSD head and stablebranches. .59 is being provided in head (only) for wider test exposure.Obtained from: Chelsio CommunicationsSponsored by: Chelsio Communications
cxgbe/iw_cxgbe: Log the end point's history and flags to the tracebuffer just before it's freed.MFC after: 1 weekSponsored by: Chelsio Communications
cxgbe/iw_cxgbe: Disable debug output by default. The help text for the sysctlalready says that the default is 0.Sponsored by: Chelsio Communications
cxgbe/iw_cxgbe: Catch up with r319722. The socket lock is not the same as thelock for the receive buffer any more.Sponsored by: Chelsio Communications
cxgbe/iw_cxgbe: sodisconnect failures are harmless and should not betreated as fatal errors.MFC after: 3 daysSponsored by: Chelsio Communications
cxgbe/iw_cxgbe: Pull in some updates to c4iw_wait_for_reply from theiw_cxgb4 Linux driver.Obtained from: Chelsio CommunicationsMFC after: 3 daysSponsored by: Chelsio Communications
cxgbe/iw_cxgbe: Report the actual values of various parameters asconfigured by the firmware.MFC after: 3 daysSponsored by: Chelsio Communications
cxgbe/iw_cxgbe: Report accurate page_size_cap in ib_query_device.MFC after: 3 daysSponsored by: Chelsio Communications
cxgbe/iw_cxgbe: hw supports 64K (not 32K) Protection Domains.MFC after: 3 daysSponsored by: Chelsio Communications
1234