linux/drivers
Jakub Kicinski 0c26159352 nfp: bpf: xdp_adjust_tail support
Add support for adjust_tail.  There are no FW changes needed but add
a FW capability just in case there would be any issue with previously
released FW, or we will have to change the ABI in the future.

The helper is trivial and shouldn't be used too often so just inline
the body of the function.  We add the delta to locally maintained
packet length register and check for overflow, since add of negative
value must overflow if result is positive.  Note that if delta of 0
would be allowed in the kernel this trick stops working and we need
one more instruction to compare lengths before and after the change.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-08-04 21:58:12 +02:00
..
accessibility
acpi ACPI / EC: Use ec_no_wakeup on more Thinkpad X1 Carbon 6th systems 2018-07-19 16:42:15 +02:00
amba
android
ata ata: Remove depends on HAS_DMA in case of platform dependency 2018-07-02 13:18:22 -07:00
atm Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-07-03 10:29:26 +09:00
auxdisplay
base driver core: set up ownership of class devices in sysfs 2018-07-20 23:44:35 -07:00
bcma
block Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
bluetooth
bus bus: ti-sysc: Use 2-factor allocator arguments 2018-07-02 04:24:44 -07:00
cdrom
char char: amd64-agp: Use 64-bit arithmetic instead of 32-bit 2018-07-10 13:50:31 +10:00
clk
clocksource clocksource: arm_arch_timer: Set arch_mem_timer cpumask to cpu_possible_mask 2018-07-10 22:12:47 +02:00
connector connector: fix defined but not used warning 2018-07-08 11:00:50 +09:00
cpufreq cpufreq: intel_pstate: Register when ACPI PCCH is present 2018-07-18 13:38:37 +02:00
cpuidle
crypto tcp: use monotonic timestamps for PAWS 2018-07-12 14:50:40 -07:00
dax * fix one ensures that a variable passed in by reference to 2018-07-13 10:54:01 -07:00
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga fpga: altera-cvp: Fix an error handling path in 'altera_cvp_probe()' 2018-07-07 16:55:22 +02:00
fsi
gpio
gpu Merge branch 'linux-4.18' of git://github.com/skeggsb/linux into drm-fixes 2018-07-20 10:27:53 +10:00
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2018-07-09 17:16:11 -07:00
hsi
hv
hwmon hwmon: Add support for power min, lcrit, min_alarm and lcrit_alarm 2018-07-18 10:01:46 +09:00
hwspinlock
hwtracing
i2c Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2018-07-13 15:34:29 -07:00
ide
idle
iio
infiniband Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2018-07-23 14:58:46 -07:00
input
iommu Revert "iommu/vt-d: Clean up pasid quirk for pre-production devices" 2018-07-20 13:55:56 +02:00
ipack
irqchip
isdn isdn/capi: fix defined but not used warnings 2018-07-08 11:00:50 +09:00
leds
lightnvm
macintosh
mailbox
mcb
md - Fix DM writecache target to allow an optional offset to the start of 2018-07-20 14:24:17 -07:00
media bpf: extend bpf_prog_array to store pointers to the cgroup storage 2018-08-03 00:47:32 +02:00
memory
memstick
message
mfd
misc ibmasm: don't write out of bounds in read handler 2018-07-07 09:59:35 +02:00
mmc mmc: sdhci-esdhc-imx: allow 1.8V modes without 100/200MHz pinctrl states 2018-07-09 11:17:47 +02:00
mtd mtd: spi-nor: cadence-quadspi: Fix direct mode write timeouts 2018-07-03 10:01:44 +02:00
mux
net nfp: bpf: xdp_adjust_tail support 2018-08-04 21:58:12 +02:00
nfc
ntb
nubus
nvdimm * fix one ensures that a variable passed in by reference to 2018-07-13 10:54:01 -07:00
nvme
nvmem nvmem: Don't let a NULL cell_id for nvmem_cell_get() crash us 2018-07-07 17:30:25 +02:00
of Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
opp
oprofile
parisc
parport
pci pci-v4.18-fixes-3 2018-07-19 11:54:04 -07:00
pcmcia
perf
phy
pinctrl pinctrl: nsp: Fix potential NULL dereference 2018-07-14 12:47:04 +02:00
platform platform/x86: dell-laptop: Fix backlight detection 2018-07-20 15:29:59 +03:00
pnp
power
powercap
pps
ps3
ptp Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: fix alarm read and set offset 2018-07-13 10:37:54 +02:00
s390 s390/qeth: speed up L2 IQD xmit 2018-07-21 10:12:30 -07:00
sbus
scsi SCSI fixes on 20180720 2018-07-20 11:47:08 -07:00
sfi
sh
siox
slimbus
sn
soc
soundwire
spi
spmi
ssb
staging Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux 2018-07-20 21:17:12 -07:00
target
tc
tee
thermal
thunderbolt thunderbolt: Notify userspace when boot_acl is changed 2018-07-07 17:29:17 +02:00
tty
uio uio: fix crash after the device is unregistered 2018-07-07 16:57:35 +02:00
usb USB: yurex: fix out-of-bounds uaccess in read handler 2018-07-06 17:21:34 +02:00
uwb
vfio vfio/pci: Fix potential Spectre v1 2018-07-18 12:57:25 -06:00
vhost vhost_net: batch update used ring for datacopy TX 2018-07-22 09:43:31 -07:00
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile