[dpdk-dev] [PATCH 2/6] rte_sched: expand scheduler hierarchy for more VLAN's

Thomas Monjalon thomas.monjalon at 6wind.com
Mon May 11 14:46:23 CEST 2015


2015-04-29 10:04, Stephen Hemminger:
> --- a/lib/librte_mbuf/rte_mbuf.h
> +++ b/lib/librte_mbuf/rte_mbuf.h
> @@ -285,7 +285,10 @@ struct rte_mbuf {
>  			/**< First 4 flexible bytes or FD ID, dependent on
>  			     PKT_RX_FDIR_* flag in ol_flags. */
>  		} fdir;           /**< Filter identifier if FDIR enabled */
> -		uint32_t sched;   /**< Hierarchical scheduler */
> +		struct {
> +			uint32_t lo;
> +			uint32_t hi;
> +		} sched;     	  /**< Hierarchical scheduler */

Please don't use tabs to align a comment.


More information about the dev mailing list