Lines Matching +full:dma +full:- +full:info
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2008-2017 Cisco Systems, Inc. All rights reserved.
14 #define _CMD_NMASK ((1 << _CMD_NBITS)-1)
15 #define _CMD_VTYPEMASK ((1 << _CMD_VTYPEBITS)-1)
16 #define _CMD_FLAGSMASK ((1 << _CMD_FLAGSBITS)-1)
17 #define _CMD_DIRMASK ((1 << _CMD_DIRBITS)-1)
72 * mcpu fw info in mem:
83 * mcpu fw info in mem:
100 /* dev-specific block member:
179 * (u16)a1 & 0x0000ffff00000000=intr num (-1 for no intr)
203 /* variant of CMD_INIT, with provisioning info
205 * (u32)a1=sizeof provision info */
245 /* persistent binding info
271 * a2-a15=args to cmd in a1
273 * a1-a15=out args of proxied cmd */
278 * or SR-IOV virtual vnic
284 * adapter-info-get
288 * (u16)a1=actual bytes from VIF-CONFIG-INFO TLV, or
289 * 0 if no VIF-CONFIG-INFO TLV was ever received. */
302 * non-zero for resetting vlan to the default
311 * (u32)a1=sizeof provision info */
336 * a0 = ERR_ENOTSUPPORTED - status for command in a0 is
340 * ERR_SUCCESS - command in a0 completed successfully
341 * ERR_EINPROGRESS - command in a0 is still in progress
380 * Subvnic migration from MQ <--> VF.
397 * (u16)a1 & 0x0000ffff00000000=intr num (-1 for no intr)
410 /* Update the provisioning info of the given VIF
412 * (u32)a1=sizeof provision info */
470 * (ui64)a1= paddr for the info buffer
476 * in: (u32) a0=0 Get Boot Info for PXE eNIC as per pxe_boot_config_t
477 * a0=1 Get Boot info for iSCSI enic as per
479 * in: (u64) a1=Host address where iSCSI config info is returned
487 * (u32) a2 = RDMA-RQ
531 * De-init the RDMA notification work queue
577 * -1 indicates skipping wq configuration
580 * -1 indicates skipping rq configuration
617 * (u32) a1 = clear counter if non-zero
624 * Configure periodic counter DMA. This will trigger an immediate
625 * DMA of the counters (unless period == 0), and then schedule a DMA
630 * If a0 (num_counters) != 0, an immediate DMA will always be done,
632 * in: (u32) a0 = number of counters to DMA
633 * (u64) a1 = host target DMA address
634 * (u32) a2 = DMA period in milliseconds (0 to disable)
669 #define CMD_NIC_CFG_CAPF_UDP_WEAK (1ULL << 0) /* Bodega-style UDP RSS */
716 * a 32-byte string (e.g. "A2") and asic_rev is
717 * a 16-bit integer (e.g. 0xA2).
749 #define VNIC_STF_STD_PAUSE 0x0002 /* standard link-level pause on */
767 #define FILTER_FIELD_VALID(fld) (1 << (fld - 1))
1001 * Compute actual structure size given filter type. To be "future-proof,"
1010 switch (fp->type) { in vnic_filter_size()
1012 size = sizeof(fp->u.usnic); in vnic_filter_size()
1015 size = sizeof(fp->u.ipv4); in vnic_filter_size()
1019 size = sizeof(fp->u.mac_vlan); in vnic_filter_size()
1022 size = sizeof(fp->u.vlan_3tuple); in vnic_filter_size()
1026 size = sizeof(fp->u.generic_1); in vnic_filter_size()
1029 size = sizeof(fp->u); in vnic_filter_size()
1032 size += sizeof(fp->type); in vnic_filter_size()
1042 * Get the action structure size given action type. To be "future-proof,"
1051 switch (fap->type) { in vnic_action_size()
1070 * and args registers contain cmd-specific results.
1074 * status register is read-only. While STAT_BUSY is set,
1075 * all other register contents are read-only.
1078 /* Make sizeof(vnic_devcmd) a power-of-2 for I/O BAR. */
1083 u64 args[VNIC_DEVCMD_NARGS]; /* RW cmd args (little-endian) */
1122 #define DEVCMD2_RESULTS_SIZE_MAX ((1 << 16) - 1)
1174 * Structure for counter DMA