Displaying 5 results from an estimated 5 matches for "rsc_ext_num_dupacks".
2020 Mar 01
1
[PATCH v2 1/3] virtio-net: Introduce extended RSC feature
...fter that to place checksum */
> + union {
> + __virtio16 csum_start; /* Position to start checksumming from */
> + __le16 rsc_ext_num_packets; /* num of coalesced packets */
> + };
> + union {
> + __virtio16 csum_offset; /* Offset after that to place checksum */
> + __le16 rsc_ext_num_dupacks; /* num of duplicated acks */
dupacks -> dup_acks ?
Also wouldn't it be cleaner to have an rsc struct? And "num" is kind of
extraneous, right?
So how about we group the fields:
union {
/* Unnamed struct for compatiblity. */
struct {
csum_start
csum_offset
};
struct {
v...
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 1/3] virtio-net: Introduce extended RSC feature
...t to place checksum */
> + union {
> + __virtio16 csum_start; /* Position to start checksumming from */
> + __virtio16 rsc_ext_num_packets; /* num of coalesced packets */
> + };
> + union {
> + __virtio16 csum_offset; /* Offset after that to place checksum */
> + __virtio16 rsc_ext_num_dupacks; /* num of duplicated acks */
> + };
> __virtio16 num_buffers; /* Number of merged rx buffers */
> };
New fields should all be __le, not __virtio.
>
> --
> 2.17.1
2020 Mar 01
0
[PATCH v2 1/3] virtio-net: Introduce extended RSC feature
...__virtio16 csum_offset; /* Offset after that to place checksum */
+ union {
+ __virtio16 csum_start; /* Position to start checksumming from */
+ __le16 rsc_ext_num_packets; /* num of coalesced packets */
+ };
+ union {
+ __virtio16 csum_offset; /* Offset after that to place checksum */
+ __le16 rsc_ext_num_dupacks; /* num of duplicated acks */
+ };
__virtio16 num_buffers; /* Number of merged rx buffers */
};
--
2.17.1