* [dpdk-test-report] |WARNING| pw40976 [v5] [PATCH 02/27] net/ena: update ena_com to the newer version
[not found] <20180611110123.9682-1-mk@semihalf.com>
@ 2018-06-11 11:02 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-06-11 11:02 UTC (permalink / raw)
To: test-report; +Cc: Michal Krawczyk
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/40976
_coding style issues_
CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_funct_queue' may be better as '(_funct_queue)' to avoid precedence issues
#67: FILE: drivers/net/ena/base/ena_com.c:48:
+#define ENA_EXTENDED_STAT_GET_FUNCT(_funct_queue) (_funct_queue & 0xFFFF)
CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_funct_queue' may be better as '(_funct_queue)' to avoid precedence issues
#68: FILE: drivers/net/ena/base/ena_com.c:49:
+#define ENA_EXTENDED_STAT_GET_QUEUE(_funct_queue) (_funct_queue >> 16)
WARNING:LONG_LINE: line over 90 characters
#243: FILE: drivers/net/ena/base/ena_com.c:234:
+static struct ena_comp_ctx *__ena_com_submit_admin_cmd(struct ena_com_admin_queue *admin_queue,
WARNING:LONG_LINE: line over 90 characters
#295: FILE: drivers/net/ena/base/ena_com.c:314:
+static struct ena_comp_ctx *ena_com_submit_admin_cmd(struct ena_com_admin_queue *admin_queue,
WARNING:LONG_LINE: line over 90 characters
#395: FILE: drivers/net/ena/base/ena_com.c:437:
+static void ena_com_handle_single_admin_completion(struct ena_com_admin_queue *admin_queue,
WARNING:LONG_LINE: line over 90 characters
#428: FILE: drivers/net/ena/base/ena_com.c:526:
+ struct ena_com_admin_queue *admin_queue)
ERROR:CODE_INDENT: code indent should use tabs where possible
#439: FILE: drivers/net/ena/base/ena_com.c:535:
+ ENA_SPINLOCK_LOCK(admin_queue->q_lock, flags);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#439: FILE: drivers/net/ena/base/ena_com.c:535:
+ ENA_SPINLOCK_LOCK(admin_queue->q_lock, flags);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#440: FILE: drivers/net/ena/base/ena_com.c:536:
+ ena_com_handle_admin_completion(admin_queue);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#440: FILE: drivers/net/ena/base/ena_com.c:536:
+ ena_com_handle_admin_completion(admin_queue);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#441: FILE: drivers/net/ena/base/ena_com.c:537:
+ ENA_SPINLOCK_UNLOCK(admin_queue->q_lock, flags);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#441: FILE: drivers/net/ena/base/ena_com.c:537:
+ ENA_SPINLOCK_UNLOCK(admin_queue->q_lock, flags);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#443: FILE: drivers/net/ena/base/ena_com.c:539:
+ if (comp_ctx->status != ENA_CMD_SUBMITTED)$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#443: FILE: drivers/net/ena/base/ena_com.c:539:
+ if (comp_ctx->status != ENA_CMD_SUBMITTED)$
WARNING:LONG_LINE: line over 90 characters
#484: FILE: drivers/net/ena/base/ena_com.c:576:
+ struct ena_com_admin_queue *admin_queue)
WARNING:LONG_LINE: line over 90 characters
#525: FILE: drivers/net/ena/base/ena_com.c:649:
+ ENA_REG_WRITE32(ena_dev->bus, mmio_read_reg, ena_dev->reg_bar + ENA_REGS_MMIO_REG_READ_OFF);
WARNING:LONG_LINE: line over 90 characters
#799: FILE: drivers/net/ena/base/ena_com.c:1356:
+ ENA_REG_WRITE32(ena_dev->bus, depth, ena_dev->reg_bar + ENA_REGS_AENQ_HEAD_DB_OFF);
WARNING:LONG_LINE: line over 90 characters
#891: FILE: drivers/net/ena/base/ena_com.c:1515:
+ ENA_REG_WRITE32(ena_dev->bus, mask_value, ena_dev->reg_bar + ENA_REGS_INTR_MASK_OFF);
WARNING:LONG_LINE: line over 90 characters
#926: FILE: drivers/net/ena/base/ena_com.c:1572:
+ ENA_REG_WRITE32(ena_dev->bus, addr_low, ena_dev->reg_bar + ENA_REGS_MMIO_RESP_LO_OFF);
WARNING:LONG_LINE: line over 90 characters
#927: FILE: drivers/net/ena/base/ena_com.c:1573:
+ ENA_REG_WRITE32(ena_dev->bus, addr_high, ena_dev->reg_bar + ENA_REGS_MMIO_RESP_HI_OFF);
WARNING:LONG_LINE: line over 90 characters
#947: FILE: drivers/net/ena/base/ena_com.c:1625:
+ ENA_REG_WRITE32(ena_dev->bus, addr_low, ena_dev->reg_bar + ENA_REGS_AQ_BASE_LO_OFF);
WARNING:LONG_LINE: line over 90 characters
#948: FILE: drivers/net/ena/base/ena_com.c:1626:
+ ENA_REG_WRITE32(ena_dev->bus, addr_high, ena_dev->reg_bar + ENA_REGS_AQ_BASE_HI_OFF);
WARNING:LONG_LINE: line over 90 characters
#957: FILE: drivers/net/ena/base/ena_com.c:1631:
+ ENA_REG_WRITE32(ena_dev->bus, addr_low, ena_dev->reg_bar + ENA_REGS_ACQ_BASE_LO_OFF);
WARNING:LONG_LINE: line over 90 characters
#958: FILE: drivers/net/ena/base/ena_com.c:1632:
+ ENA_REG_WRITE32(ena_dev->bus, addr_high, ena_dev->reg_bar + ENA_REGS_ACQ_BASE_HI_OFF);
WARNING:LONG_LINE: line over 90 characters
#1045: FILE: drivers/net/ena/base/ena_com.c:1879:
+ ENA_REG_WRITE32(dev->bus, (u32)aenq->head, dev->reg_bar + ENA_REGS_AENQ_HEAD_DB_OFF);
WARNING:LONG_LINE: line over 90 characters
#1806: FILE: drivers/net/ena/base/ena_com.h:1000:
+ (enum ena_intr_moder_level)(curr_moder_idx + ENA_INTR_MODER_LEVEL_STRIDE);
WARNING:LONG_LINE: line over 90 characters
#1809: FILE: drivers/net/ena/base/ena_com.h:1002:
+ pred_moder_entry = &intr_moder_tbl[curr_moder_idx - ENA_INTR_MODER_LEVEL_STRIDE];
WARNING:LONG_LINE: line over 90 characters
#1815: FILE: drivers/net/ena/base/ena_com.h:1007:
+ (enum ena_intr_moder_level)(curr_moder_idx - ENA_INTR_MODER_LEVEL_STRIDE);
WARNING:LONG_LINE: line over 90 characters
#1821: FILE: drivers/net/ena/base/ena_com.h:1012:
+ (enum ena_intr_moder_level)(curr_moder_idx + ENA_INTR_MODER_LEVEL_STRIDE);
WARNING:LONG_LINE: line over 90 characters
#3139: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1021:
+static inline uint16_t get_ena_admin_aq_common_desc_command_id(const struct ena_admin_aq_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3147: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1026:
+static inline void set_ena_admin_aq_common_desc_command_id(struct ena_admin_aq_common_desc *p, uint16_t val)
WARNING:LONG_LINE: line over 90 characters
#3154: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1031:
+static inline uint8_t get_ena_admin_aq_common_desc_phase(const struct ena_admin_aq_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3162: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1036:
+static inline void set_ena_admin_aq_common_desc_phase(struct ena_admin_aq_common_desc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3170: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1041:
+static inline uint8_t get_ena_admin_aq_common_desc_ctrl_data(const struct ena_admin_aq_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3174: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1043:
+ return (p->flags & ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_MASK) >> ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3180: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1046:
+static inline void set_ena_admin_aq_common_desc_ctrl_data(struct ena_admin_aq_common_desc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3184: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1048:
+ p->flags |= (val << ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_SHIFT) & ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_MASK;
WARNING:LONG_LINE: line over 90 characters
#3190: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1051:
+static inline uint8_t get_ena_admin_aq_common_desc_ctrl_data_indirect(const struct ena_admin_aq_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3194: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1053:
+ return (p->flags & ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK) >> ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3201: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1056:
+static inline void set_ena_admin_aq_common_desc_ctrl_data_indirect(struct ena_admin_aq_common_desc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3205: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1058:
+ p->flags |= (val << ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_SHIFT) & ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK;
WARNING:LONG_LINE: line over 90 characters
#3214: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1063:
+ return (p->sq_identity & ENA_ADMIN_SQ_SQ_DIRECTION_MASK) >> ENA_ADMIN_SQ_SQ_DIRECTION_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3223: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1068:
+ p->sq_identity |= (val << ENA_ADMIN_SQ_SQ_DIRECTION_SHIFT) & ENA_ADMIN_SQ_SQ_DIRECTION_MASK;
WARNING:LONG_LINE: line over 90 characters
#3229: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1071:
+static inline uint16_t get_ena_admin_acq_common_desc_command_id(const struct ena_admin_acq_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3237: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1076:
+static inline void set_ena_admin_acq_common_desc_command_id(struct ena_admin_acq_common_desc *p, uint16_t val)
WARNING:LONG_LINE: line over 90 characters
#3244: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1081:
+static inline uint8_t get_ena_admin_acq_common_desc_phase(const struct ena_admin_acq_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3252: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1086:
+static inline void set_ena_admin_acq_common_desc_phase(struct ena_admin_acq_common_desc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3260: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1091:
+static inline uint8_t get_ena_admin_aq_create_sq_cmd_sq_direction(const struct ena_admin_aq_create_sq_cmd *p)
WARNING:LONG_LINE: line over 90 characters
#3264: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1093:
+ return (p->sq_identity & ENA_ADMIN_AQ_CREATE_SQ_CMD_SQ_DIRECTION_MASK) >> ENA_ADMIN_AQ_CREATE_SQ_CMD_SQ_DIRECTION_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3271: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1096:
+static inline void set_ena_admin_aq_create_sq_cmd_sq_direction(struct ena_admin_aq_create_sq_cmd *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3276: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1098:
+ p->sq_identity |= (val << ENA_ADMIN_AQ_CREATE_SQ_CMD_SQ_DIRECTION_SHIFT) & ENA_ADMIN_AQ_CREATE_SQ_CMD_SQ_DIRECTION_MASK;
WARNING:LONG_LINE: line over 90 characters
#3282: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1101:
+static inline uint8_t get_ena_admin_aq_create_sq_cmd_placement_policy(const struct ena_admin_aq_create_sq_cmd *p)
WARNING:LONG_LINE: line over 90 characters
#3291: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1106:
+static inline void set_ena_admin_aq_create_sq_cmd_placement_policy(struct ena_admin_aq_create_sq_cmd *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3299: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1111:
+static inline uint8_t get_ena_admin_aq_create_sq_cmd_completion_policy(const struct ena_admin_aq_create_sq_cmd *p)
WARNING:LONG_LINE: line over 90 characters
#3304: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1113:
+ return (p->sq_caps_2 & ENA_ADMIN_AQ_CREATE_SQ_CMD_COMPLETION_POLICY_MASK) >> ENA_ADMIN_AQ_CREATE_SQ_CMD_COMPLETION_POLICY_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3311: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1116:
+static inline void set_ena_admin_aq_create_sq_cmd_completion_policy(struct ena_admin_aq_create_sq_cmd *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3316: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1118:
+ p->sq_caps_2 |= (val << ENA_ADMIN_AQ_CREATE_SQ_CMD_COMPLETION_POLICY_SHIFT) & ENA_ADMIN_AQ_CREATE_SQ_CMD_COMPLETION_POLICY_MASK;
WARNING:LONG_LINE: line over 90 characters
#3322: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1121:
+static inline uint8_t get_ena_admin_aq_create_sq_cmd_is_physically_contiguous(const struct ena_admin_aq_create_sq_cmd *p)
WARNING:LONG_LINE: line over 90 characters
#3333: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1126:
+static inline void set_ena_admin_aq_create_sq_cmd_is_physically_contiguous(struct ena_admin_aq_create_sq_cmd *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3343: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1131:
+static inline uint8_t get_ena_admin_aq_create_cq_cmd_interrupt_mode_enabled(const struct ena_admin_aq_create_cq_cmd *p)
WARNING:LONG_LINE: line over 90 characters
#3348: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1133:
+ return (p->cq_caps_1 & ENA_ADMIN_AQ_CREATE_CQ_CMD_INTERRUPT_MODE_ENABLED_MASK) >> ENA_ADMIN_AQ_CREATE_CQ_CMD_INTERRUPT_MODE_ENABLED_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3355: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1136:
+static inline void set_ena_admin_aq_create_cq_cmd_interrupt_mode_enabled(struct ena_admin_aq_create_cq_cmd *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3360: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1138:
+ p->cq_caps_1 |= (val << ENA_ADMIN_AQ_CREATE_CQ_CMD_INTERRUPT_MODE_ENABLED_SHIFT) & ENA_ADMIN_AQ_CREATE_CQ_CMD_INTERRUPT_MODE_ENABLED_MASK;
WARNING:LONG_LINE: line over 90 characters
#3366: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1141:
+static inline uint8_t get_ena_admin_aq_create_cq_cmd_cq_entry_size_words(const struct ena_admin_aq_create_cq_cmd *p)
WARNING:LONG_LINE: line over 90 characters
#3377: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1146:
+static inline void set_ena_admin_aq_create_cq_cmd_cq_entry_size_words(struct ena_admin_aq_create_cq_cmd *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3387: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1151:
+static inline uint8_t get_ena_admin_get_set_feature_common_desc_select(const struct ena_admin_get_set_feature_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3396: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1156:
+static inline void set_ena_admin_get_set_feature_common_desc_select(struct ena_admin_get_set_feature_common_desc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3404: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1161:
+static inline uint32_t get_ena_admin_get_feature_link_desc_autoneg(const struct ena_admin_get_feature_link_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3413: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1166:
+static inline void set_ena_admin_get_feature_link_desc_autoneg(struct ena_admin_get_feature_link_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3421: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1171:
+static inline uint32_t get_ena_admin_get_feature_link_desc_duplex(const struct ena_admin_get_feature_link_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3425: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1173:
+ return (p->flags & ENA_ADMIN_GET_FEATURE_LINK_DESC_DUPLEX_MASK) >> ENA_ADMIN_GET_FEATURE_LINK_DESC_DUPLEX_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3432: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1176:
+static inline void set_ena_admin_get_feature_link_desc_duplex(struct ena_admin_get_feature_link_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3436: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1178:
+ p->flags |= (val << ENA_ADMIN_GET_FEATURE_LINK_DESC_DUPLEX_SHIFT) & ENA_ADMIN_GET_FEATURE_LINK_DESC_DUPLEX_MASK;
WARNING:LONG_LINE: line over 90 characters
#3442: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1181:
+static inline uint32_t get_ena_admin_feature_offload_desc_TX_L3_csum_ipv4(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3451: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1186:
+static inline void set_ena_admin_feature_offload_desc_TX_L3_csum_ipv4(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3459: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1191:
+static inline uint32_t get_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_part(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3464: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1193:
+ return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3471: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1196:
+static inline void set_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_part(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3476: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1198:
+ p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK;
WARNING:LONG_LINE: line over 90 characters
#3482: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1201:
+static inline uint32_t get_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_full(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3487: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1203:
+ return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_FULL_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_FULL_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3494: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1206:
+static inline void set_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_full(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3499: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1208:
+ p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_FULL_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_FULL_MASK;
WARNING:LONG_LINE: line over 90 characters
#3505: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1211:
+static inline uint32_t get_ena_admin_feature_offload_desc_TX_L4_ipv6_csum_part(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3510: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1213:
+ return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3517: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1216:
+static inline void set_ena_admin_feature_offload_desc_TX_L4_ipv6_csum_part(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3522: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1218:
+ p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_PART_MASK;
WARNING:LONG_LINE: line over 90 characters
#3528: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1221:
+static inline uint32_t get_ena_admin_feature_offload_desc_TX_L4_ipv6_csum_full(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3533: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1223:
+ return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_FULL_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_FULL_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3540: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1226:
+static inline void set_ena_admin_feature_offload_desc_TX_L4_ipv6_csum_full(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3545: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1228:
+ p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_FULL_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV6_CSUM_FULL_MASK;
WARNING:LONG_LINE: line over 90 characters
#3551: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1231:
+static inline uint32_t get_ena_admin_feature_offload_desc_tso_ipv4(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3555: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1233:
+ return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3562: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1236:
+static inline void set_ena_admin_feature_offload_desc_tso_ipv4(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3566: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1238:
+ p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK;
WARNING:LONG_LINE: line over 90 characters
#3572: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1241:
+static inline uint32_t get_ena_admin_feature_offload_desc_tso_ipv6(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3576: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1243:
+ return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3583: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1246:
+static inline void set_ena_admin_feature_offload_desc_tso_ipv6(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3587: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1248:
+ p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK;
WARNING:LONG_LINE: line over 90 characters
#3593: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1251:
+static inline uint32_t get_ena_admin_feature_offload_desc_tso_ecn(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3597: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1253:
+ return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3604: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1256:
+static inline void set_ena_admin_feature_offload_desc_tso_ecn(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3608: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1258:
+ p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK;
WARNING:LONG_LINE: line over 90 characters
#3614: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1261:
+static inline uint32_t get_ena_admin_feature_offload_desc_RX_L3_csum_ipv4(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3625: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1266:
+static inline void set_ena_admin_feature_offload_desc_RX_L3_csum_ipv4(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3635: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1271:
+static inline uint32_t get_ena_admin_feature_offload_desc_RX_L4_ipv4_csum(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3640: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1273:
+ return (p->rx_supported & ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3647: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1276:
+static inline void set_ena_admin_feature_offload_desc_RX_L4_ipv4_csum(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3652: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1278:
+ p->rx_supported |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV4_CSUM_MASK;
WARNING:LONG_LINE: line over 90 characters
#3658: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1281:
+static inline uint32_t get_ena_admin_feature_offload_desc_RX_L4_ipv6_csum(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3663: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1283:
+ return (p->rx_supported & ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3670: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1286:
+static inline void set_ena_admin_feature_offload_desc_RX_L4_ipv6_csum(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3675: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1288:
+ p->rx_supported |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_L4_IPV6_CSUM_MASK;
WARNING:LONG_LINE: line over 90 characters
#3681: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1291:
+static inline uint32_t get_ena_admin_feature_offload_desc_RX_hash(const struct ena_admin_feature_offload_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3686: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1293:
+ return (p->rx_supported & ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_HASH_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_HASH_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3693: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1296:
+static inline void set_ena_admin_feature_offload_desc_RX_hash(struct ena_admin_feature_offload_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3698: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1298:
+ p->rx_supported |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_HASH_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_RX_HASH_MASK;
WARNING:LONG_LINE: line over 90 characters
#3704: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1301:
+static inline uint32_t get_ena_admin_feature_rss_flow_hash_function_funcs(const struct ena_admin_feature_rss_flow_hash_function *p)
WARNING:LONG_LINE: line over 90 characters
#3715: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1306:
+static inline void set_ena_admin_feature_rss_flow_hash_function_funcs(struct ena_admin_feature_rss_flow_hash_function *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3725: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1311:
+static inline uint32_t get_ena_admin_feature_rss_flow_hash_function_selected_func(const struct ena_admin_feature_rss_flow_hash_function *p)
WARNING:LONG_LINE: line over 90 characters
#3729: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1313:
+ return p->selected_func & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_FUNCTION_SELECTED_FUNC_MASK;
WARNING:LONG_LINE: line over 90 characters
#3736: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1316:
+static inline void set_ena_admin_feature_rss_flow_hash_function_selected_func(struct ena_admin_feature_rss_flow_hash_function *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3741: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1318:
+ p->selected_func |= val & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_FUNCTION_SELECTED_FUNC_MASK;
WARNING:LONG_LINE: line over 90 characters
#3747: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1321:
+static inline uint16_t get_ena_admin_feature_rss_flow_hash_input_L3_sort(const struct ena_admin_feature_rss_flow_hash_input *p)
WARNING:LONG_LINE: line over 90 characters
#3752: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1323:
+ return (p->supported_input_sort & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L3_SORT_MASK) >> ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L3_SORT_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3758: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1326:
+static inline void set_ena_admin_feature_rss_flow_hash_input_L3_sort(struct ena_admin_feature_rss_flow_hash_input *p, uint16_t val)
WARNING:LONG_LINE: line over 90 characters
#3763: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1328:
+ p->supported_input_sort |= (val << ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L3_SORT_SHIFT) & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L3_SORT_MASK;
WARNING:LONG_LINE: line over 90 characters
#3769: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1331:
+static inline uint16_t get_ena_admin_feature_rss_flow_hash_input_L4_sort(const struct ena_admin_feature_rss_flow_hash_input *p)
WARNING:LONG_LINE: line over 90 characters
#3774: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1333:
+ return (p->supported_input_sort & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L4_SORT_MASK) >> ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L4_SORT_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3781: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1336:
+static inline void set_ena_admin_feature_rss_flow_hash_input_L4_sort(struct ena_admin_feature_rss_flow_hash_input *p, uint16_t val)
WARNING:LONG_LINE: line over 90 characters
#3786: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1338:
+ p->supported_input_sort |= (val << ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L4_SORT_SHIFT) & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_L4_SORT_MASK;
WARNING:LONG_LINE: line over 90 characters
#3792: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1341:
+static inline uint16_t get_ena_admin_feature_rss_flow_hash_input_enable_L3_sort(const struct ena_admin_feature_rss_flow_hash_input *p)
WARNING:LONG_LINE: line over 90 characters
#3797: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1343:
+ return (p->enabled_input_sort & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L3_SORT_MASK) >> ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L3_SORT_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3804: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1346:
+static inline void set_ena_admin_feature_rss_flow_hash_input_enable_L3_sort(struct ena_admin_feature_rss_flow_hash_input *p, uint16_t val)
WARNING:LONG_LINE: line over 90 characters
#3810: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1348:
+ p->enabled_input_sort |= (val << ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L3_SORT_SHIFT) & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L3_SORT_MASK;
WARNING:LONG_LINE: line over 90 characters
#3816: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1351:
+static inline uint16_t get_ena_admin_feature_rss_flow_hash_input_enable_L4_sort(const struct ena_admin_feature_rss_flow_hash_input *p)
WARNING:LONG_LINE: line over 90 characters
#3821: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1353:
+ return (p->enabled_input_sort & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L4_SORT_MASK) >> ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L4_SORT_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3828: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1356:
+static inline void set_ena_admin_feature_rss_flow_hash_input_enable_L4_sort(struct ena_admin_feature_rss_flow_hash_input *p, uint16_t val)
WARNING:LONG_LINE: line over 90 characters
#3834: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1358:
+ p->enabled_input_sort |= (val << ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L4_SORT_SHIFT) & ENA_ADMIN_FEATURE_RSS_FLOW_HASH_INPUT_ENABLE_L4_SORT_MASK;
WARNING:LONG_LINE: line over 90 characters
#3846: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1366:
+static inline void set_ena_admin_host_info_major(struct ena_admin_host_info *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3857: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1373:
+ return (p->driver_version & ENA_ADMIN_HOST_INFO_MINOR_MASK) >> ENA_ADMIN_HOST_INFO_MINOR_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3862: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1376:
+static inline void set_ena_admin_host_info_minor(struct ena_admin_host_info *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3866: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1378:
+ p->driver_version |= (val << ENA_ADMIN_HOST_INFO_MINOR_SHIFT) & ENA_ADMIN_HOST_INFO_MINOR_MASK;
WARNING:LONG_LINE: line over 90 characters
#3871: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1381:
+static inline uint32_t get_ena_admin_host_info_sub_minor(const struct ena_admin_host_info *p)
WARNING:LONG_LINE: line over 90 characters
#3875: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1383:
+ return (p->driver_version & ENA_ADMIN_HOST_INFO_SUB_MINOR_MASK) >> ENA_ADMIN_HOST_INFO_SUB_MINOR_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#3880: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1386:
+static inline void set_ena_admin_host_info_sub_minor(struct ena_admin_host_info *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#3884: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1388:
+ p->driver_version |= (val << ENA_ADMIN_HOST_INFO_SUB_MINOR_SHIFT) & ENA_ADMIN_HOST_INFO_SUB_MINOR_MASK;
WARNING:LONG_LINE: line over 90 characters
#3890: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1391:
+static inline uint8_t get_ena_admin_aenq_common_desc_phase(const struct ena_admin_aenq_common_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3899: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1396:
+static inline void set_ena_admin_aenq_common_desc_phase(struct ena_admin_aenq_common_desc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#3907: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1401:
+static inline uint32_t get_ena_admin_aenq_link_change_desc_link_status(const struct ena_admin_aenq_link_change_desc *p)
WARNING:LONG_LINE: line over 90 characters
#3916: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1406:
+static inline void set_ena_admin_aenq_link_change_desc_link_status(struct ena_admin_aenq_link_change_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4232: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:424:
+static inline void set_ena_eth_io_tx_desc_length(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4239: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:429:
+static inline uint32_t get_ena_eth_io_tx_desc_req_id_hi(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4243: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:431:
+ return (p->len_ctrl & ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK) >> ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4249: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:434:
+static inline void set_ena_eth_io_tx_desc_req_id_hi(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4254: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:436:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT) & ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK;
WARNING:LONG_LINE: line over 90 characters
#4259: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:439:
+static inline uint32_t get_ena_eth_io_tx_desc_meta_desc(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4263: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:441:
+ return (p->len_ctrl & ENA_ETH_IO_TX_DESC_META_DESC_MASK) >> ENA_ETH_IO_TX_DESC_META_DESC_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4269: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:444:
+static inline void set_ena_eth_io_tx_desc_meta_desc(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4274: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:446:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_META_DESC_SHIFT) & ENA_ETH_IO_TX_DESC_META_DESC_MASK;
WARNING:LONG_LINE: line over 90 characters
#4283: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:451:
+ return (p->len_ctrl & ENA_ETH_IO_TX_DESC_PHASE_MASK) >> ENA_ETH_IO_TX_DESC_PHASE_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4289: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:454:
+static inline void set_ena_eth_io_tx_desc_phase(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4294: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:456:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_PHASE_SHIFT) & ENA_ETH_IO_TX_DESC_PHASE_MASK;
WARNING:LONG_LINE: line over 90 characters
#4303: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:461:
+ return (p->len_ctrl & ENA_ETH_IO_TX_DESC_FIRST_MASK) >> ENA_ETH_IO_TX_DESC_FIRST_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4309: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:464:
+static inline void set_ena_eth_io_tx_desc_first(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4314: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:466:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_FIRST_SHIFT) & ENA_ETH_IO_TX_DESC_FIRST_MASK;
WARNING:LONG_LINE: line over 90 characters
#4323: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:471:
+ return (p->len_ctrl & ENA_ETH_IO_TX_DESC_LAST_MASK) >> ENA_ETH_IO_TX_DESC_LAST_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4334: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:476:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_LAST_SHIFT) & ENA_ETH_IO_TX_DESC_LAST_MASK;
WARNING:LONG_LINE: line over 90 characters
#4343: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:481:
+ return (p->len_ctrl & ENA_ETH_IO_TX_DESC_COMP_REQ_MASK) >> ENA_ETH_IO_TX_DESC_COMP_REQ_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4349: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:484:
+static inline void set_ena_eth_io_tx_desc_comp_req(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4354: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:486:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_COMP_REQ_SHIFT) & ENA_ETH_IO_TX_DESC_COMP_REQ_MASK;
WARNING:LONG_LINE: line over 90 characters
#4359: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:489:
+static inline uint32_t get_ena_eth_io_tx_desc_l3_proto_idx(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4367: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:494:
+static inline void set_ena_eth_io_tx_desc_l3_proto_idx(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4398: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:511:
+ return (p->meta_ctrl & ENA_ETH_IO_TX_DESC_TSO_EN_MASK) >> ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4404: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:514:
+static inline void set_ena_eth_io_tx_desc_tso_en(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4409: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:516:
+ p->meta_ctrl |= (val << ENA_ETH_IO_TX_DESC_TSO_EN_SHIFT) & ENA_ETH_IO_TX_DESC_TSO_EN_MASK;
WARNING:LONG_LINE: line over 90 characters
#4414: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:519:
+static inline uint32_t get_ena_eth_io_tx_desc_l4_proto_idx(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4418: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:521:
+ return (p->meta_ctrl & ENA_ETH_IO_TX_DESC_L4_PROTO_IDX_MASK) >> ENA_ETH_IO_TX_DESC_L4_PROTO_IDX_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4424: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:524:
+static inline void set_ena_eth_io_tx_desc_l4_proto_idx(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4429: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:526:
+ p->meta_ctrl |= (val << ENA_ETH_IO_TX_DESC_L4_PROTO_IDX_SHIFT) & ENA_ETH_IO_TX_DESC_L4_PROTO_IDX_MASK;
WARNING:LONG_LINE: line over 90 characters
#4434: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:529:
+static inline uint32_t get_ena_eth_io_tx_desc_l3_csum_en(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4438: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:531:
+ return (p->meta_ctrl & ENA_ETH_IO_TX_DESC_L3_CSUM_EN_MASK) >> ENA_ETH_IO_TX_DESC_L3_CSUM_EN_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4444: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:534:
+static inline void set_ena_eth_io_tx_desc_l3_csum_en(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4449: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:536:
+ p->meta_ctrl |= (val << ENA_ETH_IO_TX_DESC_L3_CSUM_EN_SHIFT) & ENA_ETH_IO_TX_DESC_L3_CSUM_EN_MASK;
WARNING:LONG_LINE: line over 90 characters
#4454: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:539:
+static inline uint32_t get_ena_eth_io_tx_desc_l4_csum_en(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4458: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:541:
+ return (p->meta_ctrl & ENA_ETH_IO_TX_DESC_L4_CSUM_EN_MASK) >> ENA_ETH_IO_TX_DESC_L4_CSUM_EN_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4464: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:544:
+static inline void set_ena_eth_io_tx_desc_l4_csum_en(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4469: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:546:
+ p->meta_ctrl |= (val << ENA_ETH_IO_TX_DESC_L4_CSUM_EN_SHIFT) & ENA_ETH_IO_TX_DESC_L4_CSUM_EN_MASK;
WARNING:LONG_LINE: line over 90 characters
#4474: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:549:
+static inline uint32_t get_ena_eth_io_tx_desc_ethernet_fcs_dis(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4478: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:551:
+ return (p->meta_ctrl & ENA_ETH_IO_TX_DESC_ETHERNET_FCS_DIS_MASK) >> ENA_ETH_IO_TX_DESC_ETHERNET_FCS_DIS_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4484: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:554:
+static inline void set_ena_eth_io_tx_desc_ethernet_fcs_dis(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4489: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:556:
+ p->meta_ctrl |= (val << ENA_ETH_IO_TX_DESC_ETHERNET_FCS_DIS_SHIFT) & ENA_ETH_IO_TX_DESC_ETHERNET_FCS_DIS_MASK;
WARNING:LONG_LINE: line over 90 characters
#4494: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:559:
+static inline uint32_t get_ena_eth_io_tx_desc_l4_csum_partial(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4498: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:561:
+ return (p->meta_ctrl & ENA_ETH_IO_TX_DESC_L4_CSUM_PARTIAL_MASK) >> ENA_ETH_IO_TX_DESC_L4_CSUM_PARTIAL_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4504: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:564:
+static inline void set_ena_eth_io_tx_desc_l4_csum_partial(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4509: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:566:
+ p->meta_ctrl |= (val << ENA_ETH_IO_TX_DESC_L4_CSUM_PARTIAL_SHIFT) & ENA_ETH_IO_TX_DESC_L4_CSUM_PARTIAL_MASK;
WARNING:LONG_LINE: line over 90 characters
#4514: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:569:
+static inline uint32_t get_ena_eth_io_tx_desc_req_id_lo(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4518: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:571:
+ return (p->meta_ctrl & ENA_ETH_IO_TX_DESC_REQ_ID_LO_MASK) >> ENA_ETH_IO_TX_DESC_REQ_ID_LO_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4523: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:574:
+static inline void set_ena_eth_io_tx_desc_req_id_lo(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4527: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:576:
+ p->meta_ctrl |= (val << ENA_ETH_IO_TX_DESC_REQ_ID_LO_SHIFT) & ENA_ETH_IO_TX_DESC_REQ_ID_LO_MASK;
WARNING:LONG_LINE: line over 90 characters
#4540: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:584:
+static inline void set_ena_eth_io_tx_desc_addr_hi(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4547: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:589:
+static inline uint32_t get_ena_eth_io_tx_desc_header_length(const struct ena_eth_io_tx_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4551: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:591:
+ return (p->buff_addr_hi_hdr_sz & ENA_ETH_IO_TX_DESC_HEADER_LENGTH_MASK) >> ENA_ETH_IO_TX_DESC_HEADER_LENGTH_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4557: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:594:
+static inline void set_ena_eth_io_tx_desc_header_length(struct ena_eth_io_tx_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4562: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:596:
+ p->buff_addr_hi_hdr_sz |= (val << ENA_ETH_IO_TX_DESC_HEADER_LENGTH_SHIFT) & ENA_ETH_IO_TX_DESC_HEADER_LENGTH_MASK;
WARNING:LONG_LINE: line over 90 characters
#4567: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:599:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_req_id_lo(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4575: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:604:
+static inline void set_ena_eth_io_tx_meta_desc_req_id_lo(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4596: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:609:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_ext_valid(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4600: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:611:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_EXT_VALID_MASK) >> ENA_ETH_IO_TX_META_DESC_EXT_VALID_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4605: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:614:
+static inline void set_ena_eth_io_tx_meta_desc_ext_valid(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4609: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:616:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_EXT_VALID_SHIFT) & ENA_ETH_IO_TX_META_DESC_EXT_VALID_MASK;
WARNING:LONG_LINE: line over 90 characters
#4614: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:619:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_mss_hi(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4618: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:621:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_MSS_HI_MASK) >> ENA_ETH_IO_TX_META_DESC_MSS_HI_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4623: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:624:
+static inline void set_ena_eth_io_tx_meta_desc_mss_hi(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4627: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:626:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_MSS_HI_SHIFT) & ENA_ETH_IO_TX_META_DESC_MSS_HI_MASK;
WARNING:LONG_LINE: line over 90 characters
#4632: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:629:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_eth_meta_type(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4636: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:631:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_ETH_META_TYPE_MASK) >> ENA_ETH_IO_TX_META_DESC_ETH_META_TYPE_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4641: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:634:
+static inline void set_ena_eth_io_tx_meta_desc_eth_meta_type(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4645: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:636:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_ETH_META_TYPE_SHIFT) & ENA_ETH_IO_TX_META_DESC_ETH_META_TYPE_MASK;
WARNING:LONG_LINE: line over 90 characters
#4650: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:639:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_meta_store(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4654: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:641:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_META_STORE_MASK) >> ENA_ETH_IO_TX_META_DESC_META_STORE_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4659: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:644:
+static inline void set_ena_eth_io_tx_meta_desc_meta_store(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4663: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:646:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_META_STORE_SHIFT) & ENA_ETH_IO_TX_META_DESC_META_STORE_MASK;
WARNING:LONG_LINE: line over 90 characters
#4668: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:649:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_meta_desc(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4672: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:651:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_META_DESC_MASK) >> ENA_ETH_IO_TX_META_DESC_META_DESC_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4677: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:654:
+static inline void set_ena_eth_io_tx_meta_desc_meta_desc(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4681: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:656:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_META_DESC_SHIFT) & ENA_ETH_IO_TX_META_DESC_META_DESC_MASK;
WARNING:LONG_LINE: line over 90 characters
#4686: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:659:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_phase(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4690: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:661:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_PHASE_MASK) >> ENA_ETH_IO_TX_META_DESC_PHASE_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4695: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:664:
+static inline void set_ena_eth_io_tx_meta_desc_phase(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4699: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:666:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_PHASE_SHIFT) & ENA_ETH_IO_TX_META_DESC_PHASE_MASK;
WARNING:LONG_LINE: line over 90 characters
#4704: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:669:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_first(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4708: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:671:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_FIRST_MASK) >> ENA_ETH_IO_TX_META_DESC_FIRST_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4713: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:674:
+static inline void set_ena_eth_io_tx_meta_desc_first(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4717: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:676:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_FIRST_SHIFT) & ENA_ETH_IO_TX_META_DESC_FIRST_MASK;
WARNING:LONG_LINE: line over 90 characters
#4722: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:679:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_last(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4726: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:681:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_LAST_MASK) >> ENA_ETH_IO_TX_META_DESC_LAST_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4731: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:684:
+static inline void set_ena_eth_io_tx_meta_desc_last(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4735: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:686:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_LAST_SHIFT) & ENA_ETH_IO_TX_META_DESC_LAST_MASK;
WARNING:LONG_LINE: line over 90 characters
#4740: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:689:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_comp_req(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4744: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:691:
+ return (p->len_ctrl & ENA_ETH_IO_TX_META_DESC_COMP_REQ_MASK) >> ENA_ETH_IO_TX_META_DESC_COMP_REQ_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4749: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:694:
+static inline void set_ena_eth_io_tx_meta_desc_comp_req(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4753: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:696:
+ p->len_ctrl |= (val << ENA_ETH_IO_TX_META_DESC_COMP_REQ_SHIFT) & ENA_ETH_IO_TX_META_DESC_COMP_REQ_MASK;
WARNING:LONG_LINE: line over 90 characters
#4758: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:699:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_req_id_hi(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4766: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:704:
+static inline void set_ena_eth_io_tx_meta_desc_req_id_hi(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4773: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:709:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_l3_hdr_len(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4781: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:714:
+static inline void set_ena_eth_io_tx_meta_desc_l3_hdr_len(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4788: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:719:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_l3_hdr_off(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4792: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:721:
+ return (p->word2 & ENA_ETH_IO_TX_META_DESC_L3_HDR_OFF_MASK) >> ENA_ETH_IO_TX_META_DESC_L3_HDR_OFF_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4798: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:724:
+static inline void set_ena_eth_io_tx_meta_desc_l3_hdr_off(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4803: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:726:
+ p->word2 |= (val << ENA_ETH_IO_TX_META_DESC_L3_HDR_OFF_SHIFT) & ENA_ETH_IO_TX_META_DESC_L3_HDR_OFF_MASK;
WARNING:LONG_LINE: line over 90 characters
#4808: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:729:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_l4_hdr_len_in_words(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4812: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:731:
+ return (p->word2 & ENA_ETH_IO_TX_META_DESC_L4_HDR_LEN_IN_WORDS_MASK) >> ENA_ETH_IO_TX_META_DESC_L4_HDR_LEN_IN_WORDS_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4818: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:734:
+static inline void set_ena_eth_io_tx_meta_desc_l4_hdr_len_in_words(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4823: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:736:
+ p->word2 |= (val << ENA_ETH_IO_TX_META_DESC_L4_HDR_LEN_IN_WORDS_SHIFT) & ENA_ETH_IO_TX_META_DESC_L4_HDR_LEN_IN_WORDS_MASK;
WARNING:LONG_LINE: line over 90 characters
#4828: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:739:
+static inline uint32_t get_ena_eth_io_tx_meta_desc_mss_lo(const struct ena_eth_io_tx_meta_desc *p)
WARNING:LONG_LINE: line over 90 characters
#4832: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:741:
+ return (p->word2 & ENA_ETH_IO_TX_META_DESC_MSS_LO_MASK) >> ENA_ETH_IO_TX_META_DESC_MSS_LO_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4838: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:744:
+static inline void set_ena_eth_io_tx_meta_desc_mss_lo(struct ena_eth_io_tx_meta_desc *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4843: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:746:
+ p->word2 |= (val << ENA_ETH_IO_TX_META_DESC_MSS_LO_SHIFT) & ENA_ETH_IO_TX_META_DESC_MSS_LO_MASK;
WARNING:LONG_LINE: line over 90 characters
#4856: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:754:
+static inline void set_ena_eth_io_tx_cdesc_phase(struct ena_eth_io_tx_cdesc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#4882: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:771:
+ return (p->ctrl & ENA_ETH_IO_RX_DESC_FIRST_MASK) >> ENA_ETH_IO_RX_DESC_FIRST_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4893: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:776:
+ p->ctrl |= (val << ENA_ETH_IO_RX_DESC_FIRST_SHIFT) & ENA_ETH_IO_RX_DESC_FIRST_MASK;
WARNING:LONG_LINE: line over 90 characters
#4922: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:791:
+ return (p->ctrl & ENA_ETH_IO_RX_DESC_COMP_REQ_MASK) >> ENA_ETH_IO_RX_DESC_COMP_REQ_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4928: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:794:
+static inline void set_ena_eth_io_rx_desc_comp_req(struct ena_eth_io_rx_desc *p, uint8_t val)
WARNING:LONG_LINE: line over 90 characters
#4933: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:796:
+ p->ctrl |= (val << ENA_ETH_IO_RX_DESC_COMP_REQ_SHIFT) & ENA_ETH_IO_RX_DESC_COMP_REQ_MASK;
WARNING:LONG_LINE: line over 90 characters
#4938: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:799:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_l3_proto_idx(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#4946: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:804:
+static inline void set_ena_eth_io_rx_cdesc_base_l3_proto_idx(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4953: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:809:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_src_vlan_cnt(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#4957: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:811:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_SRC_VLAN_CNT_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_SRC_VLAN_CNT_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4963: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:814:
+static inline void set_ena_eth_io_rx_cdesc_base_src_vlan_cnt(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4968: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:816:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_SRC_VLAN_CNT_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_SRC_VLAN_CNT_MASK;
WARNING:LONG_LINE: line over 90 characters
#4973: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:819:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_l4_proto_idx(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#4977: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:821:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#4982: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:824:
+static inline void set_ena_eth_io_rx_cdesc_base_l4_proto_idx(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#4986: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:826:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_L4_PROTO_IDX_MASK;
WARNING:LONG_LINE: line over 90 characters
#4991: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:829:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_l3_csum_err(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#4995: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:831:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5000: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:834:
+static inline void set_ena_eth_io_rx_cdesc_base_l3_csum_err(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5004: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:836:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM_ERR_MASK;
WARNING:LONG_LINE: line over 90 characters
#5009: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:839:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_l4_csum_err(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#5013: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:841:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5018: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:844:
+static inline void set_ena_eth_io_rx_cdesc_base_l4_csum_err(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5022: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:846:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_L4_CSUM_ERR_MASK;
WARNING:LONG_LINE: line over 90 characters
#5027: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:849:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_ipv4_frag(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#5031: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:851:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5036: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:854:
+static inline void set_ena_eth_io_rx_cdesc_base_ipv4_frag(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5040: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:856:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_IPV4_FRAG_MASK;
WARNING:LONG_LINE: line over 90 characters
#5045: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:859:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_phase(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#5049: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:861:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_PHASE_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_PHASE_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5054: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:864:
+static inline void set_ena_eth_io_rx_cdesc_base_phase(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5058: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:866:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_PHASE_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_PHASE_MASK;
WARNING:LONG_LINE: line over 90 characters
#5063: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:869:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_l3_csum2(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#5067: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:871:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM2_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM2_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5072: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:874:
+static inline void set_ena_eth_io_rx_cdesc_base_l3_csum2(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5076: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:876:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM2_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_L3_CSUM2_MASK;
WARNING:LONG_LINE: line over 90 characters
#5081: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:879:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_first(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#5085: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:881:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_FIRST_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_FIRST_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5090: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:884:
+static inline void set_ena_eth_io_rx_cdesc_base_first(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5094: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:886:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_FIRST_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_FIRST_MASK;
WARNING:LONG_LINE: line over 90 characters
#5099: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:889:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_last(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#5103: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:891:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_LAST_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5108: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:894:
+static inline void set_ena_eth_io_rx_cdesc_base_last(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5112: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:896:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_LAST_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK;
WARNING:LONG_LINE: line over 90 characters
#5117: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:899:
+static inline uint32_t get_ena_eth_io_rx_cdesc_base_buffer(const struct ena_eth_io_rx_cdesc_base *p)
WARNING:LONG_LINE: line over 90 characters
#5121: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:901:
+ return (p->status & ENA_ETH_IO_RX_CDESC_BASE_BUFFER_MASK) >> ENA_ETH_IO_RX_CDESC_BASE_BUFFER_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5126: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:904:
+static inline void set_ena_eth_io_rx_cdesc_base_buffer(struct ena_eth_io_rx_cdesc_base *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5130: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:906:
+ p->status |= (val << ENA_ETH_IO_RX_CDESC_BASE_BUFFER_SHIFT) & ENA_ETH_IO_RX_CDESC_BASE_BUFFER_MASK;
WARNING:LONG_LINE: line over 90 characters
#5135: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:909:
+static inline uint32_t get_ena_eth_io_intr_reg_rx_intr_delay(const struct ena_eth_io_intr_reg *p)
WARNING:LONG_LINE: line over 90 characters
#5142: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:914:
+static inline void set_ena_eth_io_intr_reg_rx_intr_delay(struct ena_eth_io_intr_reg *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5149: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:919:
+static inline uint32_t get_ena_eth_io_intr_reg_tx_intr_delay(const struct ena_eth_io_intr_reg *p)
WARNING:LONG_LINE: line over 90 characters
#5153: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:921:
+ return (p->intr_control & ENA_ETH_IO_INTR_REG_TX_INTR_DELAY_MASK) >> ENA_ETH_IO_INTR_REG_TX_INTR_DELAY_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5158: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:924:
+static inline void set_ena_eth_io_intr_reg_tx_intr_delay(struct ena_eth_io_intr_reg *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5162: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:926:
+ p->intr_control |= (val << ENA_ETH_IO_INTR_REG_TX_INTR_DELAY_SHIFT) & ENA_ETH_IO_INTR_REG_TX_INTR_DELAY_MASK;
WARNING:LONG_LINE: line over 90 characters
#5167: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:929:
+static inline uint32_t get_ena_eth_io_intr_reg_intr_unmask(const struct ena_eth_io_intr_reg *p)
WARNING:LONG_LINE: line over 90 characters
#5171: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:931:
+ return (p->intr_control & ENA_ETH_IO_INTR_REG_INTR_UNMASK_MASK) >> ENA_ETH_IO_INTR_REG_INTR_UNMASK_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5176: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:934:
+static inline void set_ena_eth_io_intr_reg_intr_unmask(struct ena_eth_io_intr_reg *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5180: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:936:
+ p->intr_control |= (val << ENA_ETH_IO_INTR_REG_INTR_UNMASK_SHIFT) & ENA_ETH_IO_INTR_REG_INTR_UNMASK_MASK;
WARNING:LONG_LINE: line over 90 characters
#5185: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:939:
+static inline uint32_t get_ena_eth_io_numa_node_cfg_reg_numa(const struct ena_eth_io_numa_node_cfg_reg *p)
WARNING:LONG_LINE: line over 90 characters
#5192: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:944:
+static inline void set_ena_eth_io_numa_node_cfg_reg_numa(struct ena_eth_io_numa_node_cfg_reg *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5199: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:949:
+static inline uint32_t get_ena_eth_io_numa_node_cfg_reg_enabled(const struct ena_eth_io_numa_node_cfg_reg *p)
WARNING:LONG_LINE: line over 90 characters
#5203: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:951:
+ return (p->numa_cfg & ENA_ETH_IO_NUMA_NODE_CFG_REG_ENABLED_MASK) >> ENA_ETH_IO_NUMA_NODE_CFG_REG_ENABLED_SHIFT;
WARNING:LONG_LINE: line over 90 characters
#5208: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:954:
+static inline void set_ena_eth_io_numa_node_cfg_reg_enabled(struct ena_eth_io_numa_node_cfg_reg *p, uint32_t val)
WARNING:LONG_LINE: line over 90 characters
#5212: FILE: drivers/net/ena/base/ena_defs/ena_eth_io_defs.h:956:
+ p->numa_cfg |= (val << ENA_ETH_IO_NUMA_NODE_CFG_REG_ENABLED_SHIFT) & ENA_ETH_IO_NUMA_NODE_CFG_REG_ENABLED_MASK;
WARNING:LONG_LINE: line over 90 characters
#5369: FILE: drivers/net/ena/base/ena_eth_com.c:186:
+ struct ena_com_tx_ctx *ena_tx_ctx)
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 7)
#5565: FILE: drivers/net/ena/base/ena_plat_dpdk.h:142:
+do { \
+ if (unlikely(cond)) { \
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#5566: FILE: drivers/net/ena/base/ena_plat_dpdk.h:143:
+ if (unlikely(cond)) { \$
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15)
#5566: FILE: drivers/net/ena/base/ena_plat_dpdk.h:143:
+ if (unlikely(cond)) { \
+ ena_trc_err( \
ERROR:CODE_INDENT: code indent should use tabs where possible
#5567: FILE: drivers/net/ena/base/ena_plat_dpdk.h:144:
+ ena_trc_err( \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#5567: FILE: drivers/net/ena/base/ena_plat_dpdk.h:144:
+ ena_trc_err( \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#5568: FILE: drivers/net/ena/base/ena_plat_dpdk.h:145:
+ "Warn failed on %s:%s:%d:" format, \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#5568: FILE: drivers/net/ena/base/ena_plat_dpdk.h:145:
+ "Warn failed on %s:%s:%d:" format, \$
ERROR:CODE_INDENT: code indent should use tabs where possible
#5569: FILE: drivers/net/ena/base/ena_plat_dpdk.h:146:
+ __FILE__, __func__, __LINE__, ##arg); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#5569: FILE: drivers/net/ena/base/ena_plat_dpdk.h:146:
+ __FILE__, __func__, __LINE__, ##arg); \$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#5570: FILE: drivers/net/ena/base/ena_plat_dpdk.h:147:
+ } \$
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'timeout' may be better as '(timeout)' to avoid precedence issues
#5585: FILE: drivers/net/ena/base/ena_plat_dpdk.h:194:
+#define ENA_TIME_EXPIRE(timeout) (timeout < rte_get_timer_cycles())
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'timeout_us' may be better as '(timeout_us)' to avoid precedence issues
#5586: FILE: drivers/net/ena/base/ena_plat_dpdk.h:195:
+#define ENA_GET_SYSTEM_TIMEOUT(timeout_us) \
+ (timeout_us * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles())
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#5587: FILE: drivers/net/ena/base/ena_plat_dpdk.h:196:
+ (timeout_us * rte_get_timer_hz() / 1000000 + rte_get_timer_cycles())$
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'ret != ENA_COM_UNSUPPORTED'
#5700: FILE: drivers/net/ena/ena_ethdev.c:504:
+ if (unlikely(ret && (ret != ENA_COM_UNSUPPORTED))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'ret != ENA_COM_UNSUPPORTED'
#5709: FILE: drivers/net/ena/ena_ethdev.c:514:
+ if (unlikely(ret && (ret != ENA_COM_UNSUPPORTED))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'ret != ENA_COM_UNSUPPORTED'
#5718: FILE: drivers/net/ena/ena_ethdev.c:545:
+ if (unlikely(ret && (ret != ENA_COM_UNSUPPORTED))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rc != ENA_COM_UNSUPPORTED'
#5727: FILE: drivers/net/ena/ena_ethdev.c:579:
+ if (unlikely(rc && (rc != ENA_COM_UNSUPPORTED))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rc != ENA_COM_UNSUPPORTED'
#5736: FILE: drivers/net/ena/ena_ethdev.c:587:
+ if (unlikely(rc && (rc != ENA_COM_UNSUPPORTED))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rc != ENA_COM_UNSUPPORTED'
#5743: FILE: drivers/net/ena/ena_ethdev.c:593:
+ if (unlikely(rc && (rc != ENA_COM_UNSUPPORTED))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rc != ENA_COM_UNSUPPORTED'
#5750: FILE: drivers/net/ena/ena_ethdev.c:599:
+ if (unlikely(rc && (rc != ENA_COM_UNSUPPORTED))) {
total: 7 errors, 326 warnings, 11 checks, 5515 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-11 11:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20180611110123.9682-1-mk@semihalf.com>
2018-06-11 11:02 ` [dpdk-test-report] |WARNING| pw40976 [v5] [PATCH 02/27] net/ena: update ena_com to the newer version checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).