Commit d5a9ae2
committed
Merge branch 'gve-improve-rx-buffer-length-management'
Ankit Garg says:
====================
gve: Improve RX buffer length management
This patch series improves the management of the RX buffer length for
the DQO queue format in the gve driver. The goal is to make RX buffer
length config more explicit, easy to change, and performant by default.
We accomplish that in four patches:
1. Currently, the buffer length is implicitly coupled with the header
split setting, which is an unintuitive and restrictive design. The
first patch decouples the RX buffer length from the header split
configuration.
2. The second patch is a preparatory step for third. It converts the XDP
config verification method to use extack for better error reporting.
3. The third patch exposes the `rx_buf_len` parameter to userspace via
ethtool, allowing user to directly view or modify the RX buffer length
if supported by the device.
4. The final patch improves the out-of-the-box RX single stream throughput
by >10% by changing the driver's default behavior to select the
maximum supported RX buffer length advertised by the device during
initialization.
====================
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>File tree
4 files changed
+78
-24
lines changed- drivers/net/ethernet/google/gve
4 files changed
+78
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
| |||
1169 | 1167 | | |
1170 | 1168 | | |
1171 | 1169 | | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
1172 | 1176 | | |
1173 | 1177 | | |
1174 | 1178 | | |
| |||
1249 | 1253 | | |
1250 | 1254 | | |
1251 | 1255 | | |
1252 | | - | |
1253 | 1256 | | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
1254 | 1260 | | |
1255 | 1261 | | |
1256 | 1262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
990 | 994 | | |
991 | 995 | | |
992 | 996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| 532 | + | |
| 533 | + | |
532 | 534 | | |
533 | 535 | | |
534 | 536 | | |
| |||
589 | 591 | | |
590 | 592 | | |
591 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
592 | 600 | | |
593 | 601 | | |
594 | 602 | | |
| |||
605 | 613 | | |
606 | 614 | | |
607 | 615 | | |
608 | | - | |
609 | 616 | | |
610 | 617 | | |
| 618 | + | |
611 | 619 | | |
612 | 620 | | |
613 | 621 | | |
| |||
946 | 954 | | |
947 | 955 | | |
948 | 956 | | |
949 | | - | |
| 957 | + | |
| 958 | + | |
950 | 959 | | |
951 | 960 | | |
952 | 961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
1710 | | - | |
| 1710 | + | |
| 1711 | + | |
1711 | 1712 | | |
1712 | 1713 | | |
1713 | 1714 | | |
1714 | 1715 | | |
1715 | 1716 | | |
1716 | | - | |
| 1717 | + | |
| 1718 | + | |
1717 | 1719 | | |
1718 | 1720 | | |
1719 | 1721 | | |
1720 | 1722 | | |
1721 | | - | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
1722 | 1732 | | |
1723 | 1733 | | |
1724 | 1734 | | |
| |||
1727 | 1737 | | |
1728 | 1738 | | |
1729 | 1739 | | |
1730 | | - | |
1731 | | - | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
1732 | 1743 | | |
1733 | 1744 | | |
1734 | 1745 | | |
1735 | 1746 | | |
1736 | 1747 | | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
1740 | 1751 | | |
| 1752 | + | |
| 1753 | + | |
1741 | 1754 | | |
1742 | 1755 | | |
1743 | 1756 | | |
| |||
1748 | 1761 | | |
1749 | 1762 | | |
1750 | 1763 | | |
1751 | | - | |
| 1764 | + | |
1752 | 1765 | | |
1753 | 1766 | | |
1754 | 1767 | | |
| |||
2041 | 2054 | | |
2042 | 2055 | | |
2043 | 2056 | | |
2044 | | - | |
2045 | | - | |
2046 | | - | |
2047 | | - | |
2048 | | - | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | 2057 | | |
2053 | 2058 | | |
2054 | 2059 | | |
| |||
2058 | 2063 | | |
2059 | 2064 | | |
2060 | 2065 | | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
2061 | 2098 | | |
2062 | 2099 | | |
2063 | 2100 | | |
| |||
2080 | 2117 | | |
2081 | 2118 | | |
2082 | 2119 | | |
2083 | | - | |
2084 | | - | |
2085 | 2120 | | |
2086 | 2121 | | |
2087 | 2122 | | |
| |||
0 commit comments