search for: hash_key_length

Displaying 14 results from an estimated 14 matches for "hash_key_length".

2020 Mar 01
2
[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature
...rameters to calculate a hash and receive virtqueue. > + */ > +struct virtio_net_rss_config { > + __le32 hash_types; > + __le16 indirection_table_mask; > + __le16 unclassified_queue; > + __le16 indirection_table[1/* + indirection_table_mask */]; > + __le16 max_tx_vq; > + __u8 hash_key_length; > + __u8 hash_key_data[/* hash_key_length */]; > +}; > + > + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 > + Extra space here. > /* > * Control network offloads > * > -- > 2.17.1
2020 Mar 01
2
[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature
...rameters to calculate a hash and receive virtqueue. > + */ > +struct virtio_net_rss_config { > + __le32 hash_types; > + __le16 indirection_table_mask; > + __le16 unclassified_queue; > + __le16 indirection_table[1/* + indirection_table_mask */]; > + __le16 max_tx_vq; > + __u8 hash_key_length; > + __u8 hash_key_data[/* hash_key_length */]; > +}; > + > + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 > + Extra space here. > /* > * Control network offloads > * > -- > 2.17.1
2020 Mar 02
2
[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature
...t_rss_config { > > > + __le32 hash_types; > > > + __le16 indirection_table_mask; > > > + __le16 unclassified_queue; > > > + __le16 indirection_table[1/* + indirection_table_mask */]; > > > + __le16 max_tx_vq; > > > + __u8 hash_key_length; > > > + __u8 hash_key_data[/* hash_key_length */]; > > > +}; > > > + > > > + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 > > > + > > > > > > Extra space here. > > Where exactly you want to remove the empty line? > Th...
2020 Mar 02
2
[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature
...t_rss_config { > > > + __le32 hash_types; > > > + __le16 indirection_table_mask; > > > + __le16 unclassified_queue; > > > + __le16 indirection_table[1/* + indirection_table_mask */]; > > > + __le16 max_tx_vq; > > > + __u8 hash_key_length; > > > + __u8 hash_key_data[/* hash_key_length */]; > > > +}; > > > + > > > + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 > > > + > > > > > > Extra space here. > > Where exactly you want to remove the empty line? > Th...
2020 Mar 01
0
[PATCH 3/3] virtio-net: Introduce hash report feature
...+ * layout of virtio header as defined in virtio_net_hdr_v1_hash. > + */ > +struct virtio_net_hash_config { > + __virtio32 hash_types; > + /* for compatibility with virtio_net_rss_config */ > + __virtio16 reserved[4]; I expect these should all be le32/le16 respectively. > + __u8 hash_key_length; > + __u8 hash_key_data[/*hash_key_length*/]; > +}; Should be /* hash_key_length */ as per coding style. > + > + #define VIRTIO_NET_CTRL_MQ_HASH_CONFIG 2 > + > /* > * Control network offloads > * > -- > 2.17.1
2020 Mar 01
7
[PATCH v3 0/3] virtio-net: introduce features defined in the spec
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v2: reformatted structure in patch 1 Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net: Introduce hash report feature include/uapi/linux/virtio_net.h | 100 ++++++++++++++++++++++++++++++--
2020 Mar 01
7
[PATCH v3 0/3] virtio-net: introduce features defined in the spec
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v2: reformatted structure in patch 1 Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net: Introduce hash report feature include/uapi/linux/virtio_net.h | 100 ++++++++++++++++++++++++++++++--
2020 Mar 02
3
[PATCH v4 0/3] virtio-net: introduce features defined in the spec
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v3: reformatted structure in patch 1 Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net: Introduce hash report feature include/uapi/linux/virtio_net.h | 102 ++++++++++++++++++++++++++++++--
2020 Mar 01
6
[PATCH v2 0/3] virtio-net: introduce features defined in the spec
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v1: __virtio -> __le maximal -> maximum minor style fixes Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net: Introduce hash report feature include/uapi/linux/virtio_net.h | 90
2020 Mar 01
6
[PATCH v2 0/3] virtio-net: introduce features defined in the spec
This series introduce virtio-net features VIRTIO_NET_F_RSC_EXT, VIRTIO_NET_F_RSS and VIRTIO_NET_F_HASH_REPORT. Changes from v1: __virtio -> __le maximal -> maximum minor style fixes Yuri Benditovich (3): virtio-net: Introduce extended RSC feature virtio-net: Introduce RSS receive steering feature virtio-net: Introduce hash report feature include/uapi/linux/virtio_net.h | 90
2020 Mar 01
0
[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature
...packet. The command + * also provides parameters to calculate a hash and receive virtqueue. + */ +struct virtio_net_rss_config { + __le32 hash_types; + __le16 indirection_table_mask; + __le16 unclassified_queue; + __le16 indirection_table[1/* + indirection_table_mask */]; + __le16 max_tx_vq; + __u8 hash_key_length; + __u8 hash_key_data[/* hash_key_length */]; +}; + + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 + /* * Control network offloads * -- 2.17.1
2020 Mar 02
0
[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature
...*/ > > +struct virtio_net_rss_config { > > + __le32 hash_types; > > + __le16 indirection_table_mask; > > + __le16 unclassified_queue; > > + __le16 indirection_table[1/* + indirection_table_mask */]; > > + __le16 max_tx_vq; > > + __u8 hash_key_length; > > + __u8 hash_key_data[/* hash_key_length */]; > > +}; > > + > > + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 > > + > > > Extra space here. Where exactly you want to remove the empty line? The format here is exactly as in other places: comment -...
2020 Mar 01
0
[PATCH 2/3] virtio-net: Introduce RSS receive steering feature
...te a hash and receive virtqueue. > + */ > +struct virtio_net_rss_config { > + __virtio32 hash_types; > + __virtio16 indirection_table_mask; > + __virtio16 unclassified_queue; > + __virtio16 indirection_table[1/* + indirection_table_mask*/]; > + __virtio16 max_tx_vq; > + __u8 hash_key_length; > + __u8 hash_key_data[/*hash_key_length*/]; > +}; Should use __le and not __virtio. __virtio is for legacy types which sometimes have variable endian-ness. > + > + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 > + > /* > * Control network offloads > * > --...
2020 Mar 02
0
[PATCH v3 2/3] virtio-net: Introduce RSS receive steering feature
...> + __le32 hash_types; > > > > + __le16 indirection_table_mask; > > > > + __le16 unclassified_queue; > > > > + __le16 indirection_table[1/* + indirection_table_mask */]; > > > > + __le16 max_tx_vq; > > > > + __u8 hash_key_length; > > > > + __u8 hash_key_data[/* hash_key_length */]; > > > > +}; > > > > + > > > > + #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1 > > > > + > > > > > > > > > Extra space here. > > > > Where e...