Lines Matching +full:row +full:- +full:stride

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2006-2016 Solarflare Communications Inc.
46 ((void)sizeof (char[(_cond) ? 1 : -1]))
52 ((size_t)&(((_type *)0)->_field))
55 #define EFX_DIV_ROUND_UP(_n, _d) (((_n) + (_d) - 1) / (_d))
59 (-(-(_type)(_value) & -(_type)(_align)))
63 ((_type)(_value) & -(_type)(_align))
67 ((((_type)(_value)) & ((_type)(_align) - 1)) == 0)
536 #define EFX_MAC_SDU_FROM_PDU(_pdu) ((_pdu) - EFX_MAC_PDU_ADJUSTMENT)
638 (1ULL << ((_stat) & (EFX_MAC_STATS_MASK_BITS_PER_PAGE - 1))))
654 * Thus, drivers should zero this buffer before use, so that not-understood
830 EFX_MON_STAT_PORTMAP_ALL = (-1),
831 EFX_MON_STAT_PORTMAP_UNKNOWN = (-2)
1065 * 2-wire device address of the base information in accordance with SFF-8472
1072 * 2-wire device address of the digital diagnostics monitoring interface
1073 * in accordance with SFF-8472 Diagnostic Monitoring Interface for Optical
1079 * Hard wired 2-wire device address for QSFP+ in accordance with SFF-8436
1409 /* VPD may be per-PF or global */
1426 #define EFX_PCI_FUNCTION_IS_PF(_encp) ((_encp)->enc_vf == 0xffff)
1427 #define EFX_PCI_FUNCTION_IS_VF(_encp) ((_encp)->enc_vf != 0xffff)
1430 (EFX_PCI_FUNCTION_IS_PF(_encp) ? (_encp)->enc_pf : (_encp)->enc_vf)
1432 #define EFX_PCI_VF_PARENT(_encp) ((_encp)->enc_pf)
1474 /* PIO blocks (sub-allocated from piobuf) */
1736 * begin with a tag octet, which uniquely identifies the option. Fixed-
1738 * (0) and END (255) are fixed length. All other options are variable-length
1743 * Option data may be a sequence of sub-options in the same format. The data
1744 * content of the encapsulating option is one or more encapsulated sub-options,
1747 * To be valid, the top-level sequence of options should be terminated by an
1816 * Image header used in unsigned and signed image layouts (see SF-102785-PS).
1826 * version). See bug39254 and SF-102785-PS for details.
1911 __in size_t row,
2012 #define EFX_EVQ_FLAGS_NOTIFY_DISABLED (0x4) /* Non-interrupting */
2075 * Packed stream mode is documented in SF-112241-TC.
2083 * Equal stride packed stream mode is documented in SF-119419-TC.
2319 * - a combination of legacy flags
2320 * - a combination of EFX_RX_HASH() flags
2337 EFX_RX_SCALE_SHARED /* Read-only key/indirection table */
2490 #define EFX_RXQ_LIMIT(_ndescs) ((_ndescs) - 16)
2509 * full-feature firmware variant running), outer classes are requested by
2552 /* Maximum head-of-line block timeout in nanoseconds */
2655 #define EFX_TXQ_LIMIT(_ndescs) ((_ndescs) - 16)
2850 /* Match by Ether-type */
2871 /* Match otherwise-unmatched multicast and broadcast packets */
2873 /* Match otherwise-unmatched unicast packets */
2887 * client (e.g. SR-IOV, HyperV VMQ etc.)
2892 * FIXME: All these fields are assumed to be in little-endian byte order.
2893 * It may be better for some to be big-endian. See bug42804.
3211 __in uint16_t port /* host/cpu-endian */,
3217 __in uint16_t port /* host/cpu-endian */,
3248 * See SF-119419-TC DPDK Firmware Driver Interface and
3249 * SF-109306-TC EF10 for Driver Writers for details.