summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_mcx.c
AgeCommit message (Expand)Author
2020-07-16Remove the refill timeout and wait for interrupts to finish whenJonathan Matthew
2020-07-15patrick@ pointed out there was a gap in the flow group numbering.Jonathan Matthew
2020-07-15Consistently convert syndrome codes from big endian before printing them.Jonathan Matthew
2020-07-14Set up a second level flow table for RSS and switch the root flow tableJonathan Matthew
2020-07-13More preparations for adding RSS. Adjust several functions to allow forJonathan Matthew
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2020-07-09a couple of small tweaks that shrink the kstat code.David Gwynne
2020-07-07add kstat support for some of the counters the chip maintains.David Gwynne
2020-06-30attach on ConnectX-6 Dx, tested by Hrvoje PopovskiJonathan Matthew
2020-06-26stuff for PPCNT - Ports Performance Counters RegisterDavid Gwynne
2020-06-26add some whitespace to let things breathe a bit.David Gwynne
2020-06-17make ph_flowid in mbufs 16bits by storing whether it's set in csum_flags.David Gwynne
2020-06-16Use separate event queues and interrupt vectors for admin/link eventsJonathan Matthew
2020-06-14move tx and rx ring variables into their own structs.David Gwynne
2020-06-13Some new firmware for ConnectX-5 tries to give pages back whenJonathan Matthew
2020-06-12correct typo, this did not compile..Theo de Raadt
2020-06-12remove unused mcx_softc members.David Gwynne
2020-06-11wrap some long lines. no functional change.David Gwynne
2020-06-02Add support for hardware vlan tagging. Tag insertion here is actuallyJonathan Matthew
2020-05-27set up rx so packets end up at the end of the mbuf cluster.David Gwynne
2020-05-26Add checksum offload again, this time only asking the nic to do checksumsJonathan Matthew
2020-05-25Unfortunately, breaks UDP NFS under volume, when used on the src machine.Theo de Raadt
2020-05-21Make use of checksum offloads. Very little effort required from theJonathan Matthew
2020-04-24Fix typo which could lead into a double freeRicardo Mestre
2020-04-21Commands that create objects return a 24 bit object ID, so mask off theJonathan Matthew
2020-04-20Increase the completion queue size to prevent overflow. Under reasonablyJonathan Matthew
2020-04-20Check if we've reached the end of the current mailbox before writing pastJonathan Matthew
2020-04-20Don't call mcx_intr() from mcx_cmdq_poll(); this was a leftover from earlyJonathan Matthew
2020-04-06fix previous: use the correct offset for sq/rq creation, and don'tJonathan Matthew
2020-04-06Add a helper function for writing physical addresses for queues intoJonathan Matthew
2020-04-04Return ENETRESET on success from mcx_up() so mcx_ioctl() will callJonathan Matthew
2019-10-05The event queue consumer counter also needs to be unsigned like the others.Jonathan Matthew
2019-09-30try to make if_baudrate look plausible.David Gwynne
2019-09-30remove the "copy function" argument to bpf_mtap_hdr.David Gwynne
2019-09-12Use unsigned types for queue counters and mask them appropriately beforeJonathan Matthew
2019-09-09Specify the right opcode when trying to set the Interface Step Sequence ID.Jonathan Matthew
2019-06-22Set if_link_state based on the PAOS port register, and update it whenJonathan Matthew
2019-06-14Only add and remove flow table entries for multicast while the interface isJonathan Matthew
2019-06-14Add a barrier after arming a completion queue. If multiple cqs are usingJonathan Matthew
2019-06-13the rx drops field is 8 bits (and a 24 bit flow tag), not 32 bits.David Gwynne
2019-06-12Set interrupt moderation on the completion queue for around 10000Jonathan Matthew
2019-06-11pass what pci_intr_established returns to intr_barrierDavid Gwynne
2019-06-11if ifiq_input says there's too much pressure, tell the rxr we're livelockedDavid Gwynne
2019-06-11bump up the ring sizes for dlg@Jonathan Matthew
2019-06-11records a flowid in the mbuf if the rx cqe provides an rx hash value.David Gwynne
2019-06-10support hardware timestamping for received packets.David Gwynne
2019-06-07make struct mcx_cq_entry a bit closer to realityDavid Gwynne
2019-06-07have mcx_process_rx return the number of slots it made freeDavid Gwynne
2019-06-06ConnectX-5 cards work tooJonathan Matthew
2019-06-06Set up the interrupt handler before creating the event queue.Jonathan Matthew