X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fipn3ke%2Fipn3ke_ethdev.h;h=9b0cf309c8f16e3577cabac8bb688f06a148478a;hb=3eca5f8a610eb29365d251b02b7e70461bbcba42;hp=6f0dfd98a39a4cc9e9e0680bdce2a1c2ea9312af;hpb=ca041cd44fcc8b22c0e84460254596096e8fe914;p=dpdk.git diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.h b/drivers/net/ipn3ke/ipn3ke_ethdev.h index 6f0dfd98a3..9b0cf309c8 100644 --- a/drivers/net/ipn3ke/ipn3ke_ethdev.h +++ b/drivers/net/ipn3ke/ipn3ke_ethdev.h @@ -96,20 +96,13 @@ struct ipn3ke_tm_node { /* IPN3KE TM Hierarchy Specification */ struct ipn3ke_tm_hierarchy { struct ipn3ke_tm_node *port_node; - /*struct ipn3ke_tm_node_list vt_node_list;*/ - /*struct ipn3ke_tm_node_list cos_node_list;*/ - uint32_t n_shaper_profiles; - /*uint32_t n_shared_shapers;*/ uint32_t n_tdrop_profiles; uint32_t n_vt_nodes; uint32_t n_cos_nodes; - struct ipn3ke_tm_node *port_commit_node; struct ipn3ke_tm_node_list vt_commit_node_list; struct ipn3ke_tm_node_list cos_commit_node_list; - - /*uint32_t n_tm_nodes[IPN3KE_TM_NODE_LEVEL_MAX];*/ }; struct ipn3ke_tm_internals { @@ -654,6 +647,12 @@ ipn3ke_tm_ops_get(struct rte_eth_dev *ethdev, #define IPN3KE_MAC_RX_FRAME_MAXLENGTH_MASK \ IPN3KE_MASK(0xFFFF, IPN3KE_MAC_RX_FRAME_MAXLENGTH_SHIFT) +#define IPN3KE_25G_MAX_TX_SIZE_CONFIG 0x407 +#define IPN3KE_25G_MAX_RX_SIZE_CONFIG 0x506 + +#define IPN3KE_10G_TX_FRAME_MAXLENGTH 0x002C +#define IPN3KE_10G_RX_FRAME_MAXLENGTH 0x00AE + #define IPN3KE_REGISTER_WIDTH 32 /*Bits[2:0]: Configuration of TX statistics counters: