net/ice/base: add ethertype IPv6 check for dummy packet
[dpdk.git] / drivers / net / ice / base / ice_adminq_cmd.h
index 3805fc9..74c4e8f 100644 (file)
@@ -108,6 +108,7 @@ struct ice_aqc_list_caps_elem {
 #define ICE_AQC_CAPS_TXQS                              0x0042
 #define ICE_AQC_CAPS_MSIX                              0x0043
 #define ICE_AQC_CAPS_FD                                        0x0045
+#define ICE_AQC_CAPS_1588                              0x0046
 #define ICE_AQC_CAPS_MAX_MTU                           0x0047
 #define ICE_AQC_CAPS_IWARP                             0x0051
 #define ICE_AQC_CAPS_PCIE_RESET_AVOIDANCE              0x0076
@@ -1670,6 +1671,7 @@ struct ice_aqc_link_topo_addr {
 struct ice_aqc_get_link_topo {
        struct ice_aqc_link_topo_addr addr;
        u8 node_part_num;
+#define ICE_ACQ_GET_LINK_TOPO_NODE_NR_PCA9575  0x21
        u8 rsvd[9];
 };
 
@@ -2793,50 +2795,6 @@ struct ice_aqc_clear_health_status {
        __le32 reserved[4];
 };
 
-/* Set FW Logging configuration (indirect 0xFF30)
- * Register for FW Logging (indirect 0xFF31)
- * Query FW Logging (indirect 0xFF32)
- * FW Log Event (indirect 0xFF33)
- * Get FW Log (indirect 0xFF34)
- * Clear FW Log (indirect 0xFF35)
- */
-
-struct ice_aqc_fw_log {
-       u8 cmd_flags;
-#define ICE_AQC_FW_LOG_CONF_UART_EN    BIT(0)
-#define ICE_AQC_FW_LOG_CONF_AQ_EN      BIT(1)
-#define ICE_AQC_FW_LOG_CONF_SET_VALID  BIT(3)
-#define ICE_AQC_FW_LOG_AQ_REGISTER     BIT(0)
-#define ICE_AQC_FW_LOG_AQ_QUERY                BIT(2)
-#define ICE_AQC_FW_LOG_PERSISTENT      BIT(0)
-       u8 rsp_flag;
-#define ICE_AQC_FW_LOG_MORE_DATA       BIT(1)
-       __le16 fw_rt_msb;
-       union {
-               struct {
-                       __le32 fw_rt_lsb;
-               } sync;
-               struct {
-                       __le16 log_resolution;
-#define ICE_AQC_FW_LOG_MIN_RESOLUTION          (1)
-#define ICE_AQC_FW_LOG_MAX_RESOLUTION          (128)
-                       __le16 mdl_cnt;
-               } cfg;
-       } ops;
-       __le32 addr_high;
-       __le32 addr_low;
-};
-
-/* Response Buffer for:
- *    Set Firmware Logging Configuration (0xFF30)
- *    Query FW Logging (0xFF32)
- */
-struct ice_aqc_fw_log_cfg_resp {
-       __le16 module_identifier;
-       u8 log_level;
-       u8 rsvd0;
-};
-
 /**
  * struct ice_aq_desc - Admin Queue (AQ) descriptor
  * @flags: ICE_AQ_FLAG_* flags
@@ -3119,6 +3077,7 @@ enum ice_adminq_opc {
        ice_aqc_opc_set_event_mask                      = 0x0613,
        ice_aqc_opc_set_mac_lb                          = 0x0620,
        ice_aqc_opc_get_link_topo                       = 0x06E0,
+       ice_aqc_opc_get_link_topo_pin                   = 0x06E1,
        ice_aqc_opc_read_i2c                            = 0x06E2,
        ice_aqc_opc_write_i2c                           = 0x06E3,
        ice_aqc_opc_set_port_id_led                     = 0x06E9,
@@ -3207,14 +3166,6 @@ enum ice_adminq_opc {
        ice_aqc_opc_get_supported_health_status_codes   = 0xFF21,
        ice_aqc_opc_get_health_status                   = 0xFF22,
        ice_aqc_opc_clear_health_status                 = 0xFF23,
-
-       /* FW Logging Commands */
-       ice_aqc_opc_fw_logs_config                      = 0xFF30,
-       ice_aqc_opc_fw_logs_register                    = 0xFF31,
-       ice_aqc_opc_fw_logs_query                       = 0xFF32,
-       ice_aqc_opc_fw_logs_event                       = 0xFF33,
-       ice_aqc_opc_fw_logs_get                         = 0xFF34,
-       ice_aqc_opc_fw_logs_clear                       = 0xFF35
 };
 
 #endif /* _ICE_ADMINQ_CMD_H_ */