Re: [net-next 6/7] net/mlx5e: ethtool, Support user configuration for RX hash fields

2018-12-05 Thread Saeed Mahameed
On Wed, 2018-12-05 at 11:19 -0800, Cong Wang wrote: > Hello, Saeed > > > On Tue, Dec 4, 2018 at 10:26 PM Saeed Mahameed > wrote: > > +static int mlx5e_get_rss_hash_opt(struct mlx5e_priv *priv, > > + struct ethtool_rxnfc *nfc) > ... > > + tt = flow_type_to_tr

Re: [net-next 6/7] net/mlx5e: ethtool, Support user configuration for RX hash fields

2018-12-05 Thread Cong Wang
Hello, Saeed On Tue, Dec 4, 2018 at 10:26 PM Saeed Mahameed wrote: > +static int mlx5e_get_rss_hash_opt(struct mlx5e_priv *priv, > + struct ethtool_rxnfc *nfc) ... > + tt = flow_type_to_traffic_type(nfc->flow_type); > + > + if (tt == MLX5E_NUM_INDIR_TI

[net-next 6/7] net/mlx5e: ethtool, Support user configuration for RX hash fields

2018-12-04 Thread Saeed Mahameed
From: Aya Levin Enable user configuration of RX hash fields that are used for traffic spreading into RX queues. User can change built-in RSS (Receive Side Scaling) profiles on the following traffic types: UDP4, UDP6, TCP4 and TCP6. This configuration effects both outer and inner headers. Added