aboutsummaryrefslogtreecommitdiffstats
path: root/tools/patch-cmdline/src
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-15 23:31:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-15 23:31:17 +0000
commit1c0e751391c4e92c0f934eb065ea013c91f34fbf (patch)
treecb0219cd905bfdf40631f56b46313cc848cacf85 /tools/patch-cmdline/src
parent598e0656c5f35b4b39f61d72e7bd5ec5e713245a (diff)
downloadupstream-1c0e751391c4e92c0f934eb065ea013c91f34fbf.tar.gz
upstream-1c0e751391c4e92c0f934eb065ea013c91f34fbf.tar.bz2
upstream-1c0e751391c4e92c0f934eb065ea013c91f34fbf.zip
ar71xx: fix up alignment handling
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned - alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment - ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets - use memmove to re-align small packets, if necessary tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers SVN-Revision: 20892
Diffstat (limited to 'tools/patch-cmdline/src')
0 files changed, 0 insertions, 0 deletions
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257