i40e: sync header files with hardware
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Sat, 16 Nov 2013 10:00:47 +0000 (10:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Dec 2013 07:25:17 +0000 (23:25 -0800)
Update the PCTYPE table
fix fcoe HMC object sizes

Change-Id: I1f12cd2653168859661e8700f929b7c65b0e21b7
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_lan_hmc.h
drivers/net/ethernet/intel/i40e/i40e_type.h

index 00ff35006077e57b72dd05644ce8c5a05e8bdf7e..f8afbcb053c539d58ea4034fed2fcd5908846193 100644 (file)
@@ -113,8 +113,8 @@ enum i40e_hmc_lan_object_size {
 #define I40E_HMC_L2OBJ_BASE_ALIGNMENT 512
 #define I40E_HMC_OBJ_SIZE_TXQ         128
 #define I40E_HMC_OBJ_SIZE_RXQ         32
-#define I40E_HMC_OBJ_SIZE_FCOE_CNTX   128
-#define I40E_HMC_OBJ_SIZE_FCOE_FILT   32
+#define I40E_HMC_OBJ_SIZE_FCOE_CNTX   64
+#define I40E_HMC_OBJ_SIZE_FCOE_FILT   64
 
 enum i40e_hmc_lan_rsrc_type {
        I40E_HMC_LAN_FULL  = 0,
index f3f22b20f02f3bc3b19d7aa8f17380b4d8518182..5f81bd52e6f03ec1b4177b8cfbe1c3f7bfc42c25 100644 (file)
@@ -852,10 +852,7 @@ struct i40e_filter_program_desc {
 
 /* Packet Classifier Types for filters */
 enum i40e_filter_pctype {
-       /* Note: Value 0-25 are reserved for future use */
-       I40E_FILTER_PCTYPE_IPV4_TEREDO_UDP              = 26,
-       I40E_FILTER_PCTYPE_IPV6_TEREDO_UDP              = 27,
-       I40E_FILTER_PCTYPE_NONF_IPV4_1588_UDP           = 28,
+       /* Note: Values 0-28 are reserved for future use */
        I40E_FILTER_PCTYPE_NONF_UNICAST_IPV4_UDP        = 29,
        I40E_FILTER_PCTYPE_NONF_MULTICAST_IPV4_UDP      = 30,
        I40E_FILTER_PCTYPE_NONF_IPV4_UDP                = 31,
@@ -864,8 +861,7 @@ enum i40e_filter_pctype {
        I40E_FILTER_PCTYPE_NONF_IPV4_SCTP               = 34,
        I40E_FILTER_PCTYPE_NONF_IPV4_OTHER              = 35,
        I40E_FILTER_PCTYPE_FRAG_IPV4                    = 36,
-       /* Note: Value 37 is reserved for future use */
-       I40E_FILTER_PCTYPE_NONF_IPV6_1588_UDP           = 38,
+       /* Note: Values 37-38 are reserved for future use */
        I40E_FILTER_PCTYPE_NONF_UNICAST_IPV6_UDP        = 39,
        I40E_FILTER_PCTYPE_NONF_MULTICAST_IPV6_UDP      = 40,
        I40E_FILTER_PCTYPE_NONF_IPV6_UDP                = 41,
@@ -877,7 +873,8 @@ enum i40e_filter_pctype {
        /* Note: Value 47 is reserved for future use */
        I40E_FILTER_PCTYPE_FCOE_OX                      = 48,
        I40E_FILTER_PCTYPE_FCOE_RX                      = 49,
-       /* Note: Value 50-62 are reserved for future use */
+       I40E_FILTER_PCTYPE_FCOE_OTHER                   = 50,
+       /* Note: Values 51-62 are reserved for future use */
        I40E_FILTER_PCTYPE_L2_PAYLOAD                   = 63,
 };