Lines Matching +full:sub +full:- +full:mailbox

1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
17 /* 64-bit per app capabilities */
23 * THB-350, 32k needs to be reserved.
61 /* Hash type pre-pended when a RSS hash was computed */
80 /* Read/Write config words (0x0000 - 0x002c)
87 * %NFP_NET_CFG_EXN: MSI-X table entry for exceptions
88 * %NFP_NET_CFG_LSC: MSI-X table entry for link state changes
92 * - define Error details in UPDATE
108 #define NFP_NET_CFG_CTRL_RXQINQ (0x1 << 13) /* Enable S-tag strip */
109 #define NFP_NET_CFG_CTRL_RXVLAN_V2 (0x1 << 15) /* Enable C-tag strip */
113 #define NFP_NET_CFG_CTRL_MSIXAUTO (0x1 << 20) /* MSI-X auto-masking */
114 #define NFP_NET_CFG_CTRL_TXRWB (0x1 << 21) /* Write-back of TX ring*/
116 #define NFP_NET_CFG_CTRL_TXVLAN_V2 (0x1 << 23) /* Enable VLAN C-tag insert*/
144 #define NFP_NET_CFG_UPDATE_MSIX (0x1 << 5) /* MSI-X change */
150 #define NFP_NET_CFG_UPDATE_MBOX (0x1 << 12) /* Mailbox update */
162 /* Read-only words (0x0030 - 0x0050):
173 * - define more STS bits
202 /* NSP Link rate is a 16-bit word. It's determined by NSP and
263 /* 3 words reserved for extended ctrl words (0x0098 - 0x00a4)
264 * 3 words reserved for extended cap words (0x00a4 - 0x00b0)
277 /* 16B reserved for future use (0x00b0 - 0x00c0) */
281 /* RSS configuration (0x0100 - 0x01ac):
308 /* TX ring configuration (0x200 - 0x800)
313 * %NFP_NET_CFG_TXR_VEC: Per TX ring MSI-X table entry (1B entries)
327 /* RX ring configuration (0x0800 - 0x0c00)
331 * %NFP_NET_CFG_RXR_VEC: Per RX ring MSI-X table entry (1B entries)
343 /* Interrupt Control/Cause registers (0x0c00 - 0x0d00)
344 * These registers are only used when MSI-X auto-masking is not
346 * by MSI-X entry and are 1B in size. If an entry is zero, the
349 * the MSI-X entry and the host driver must clear the register to
350 * re-enable the interrupt.
358 /* General device stats (0x0d00 - 0x0d90)
391 /* Per ring stats (0x1000 - 0x1800)
403 /* General use mailbox area (0x1800 - 0x19ff)
425 /* VLAN filtering using general use mailbox
426 * %NFP_NET_CFG_VLAN_FILTER: Base address of VLAN filter mailbox
429 * %NFP_NET_CFG_VXLAN_SZ: Size of the VLAN filter mailbox in bytes
436 /* Multicast filtering using general use mailbox
437 * %NFP_NET_CFG_MULTICAST: Base address of Multicast filter mailbox
438 * %NFP_NET_CFG_MULTICAST_MAC_HI: High 32-bits of Multicast MAC address
439 * %NFP_NET_CFG_MULTICAST_MAC_LO: Low 16-bits of Multicast MAC address
440 * %NFP_NET_CFG_MULTICAST_SZ: Size of the Multicast filter mailbox in bytes
449 /* Sub commands for FS */
468 * is indicated by %NFP_NET_CFG_TLV_BASE being non-zero. TLV structures may
492 * Reserved space, may contain legacy fixed-offset fields, or be used for
504 * Variable, mailbox area. Overwrites the default location which is
518 * Variable, bitmap of control message types supported by the mailbox handler.
520 * encapsulated into simple TLVs, with an end TLV and written to the Mailbox.
529 * Variable, per-vNIC statistics, data should be 8B aligned (FW should insert
530 * zero-length RESERVED TLV to pad).
541 * RX sync, rather than kernel-assisted sync.
558 /* struct nfp_net_tlv_caps - parsed control BAR TLV capabilities
560 * @mbox_off: vNIC mailbox area offset
561 * @mbox_len: vNIC mailbox area length
563 * @mbox_cmsg_types: cmsgs which can be passed through the mailbox