lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 22 Apr 2017 20:17:51 -0700 From: Jakub Kicinski <jakub.kicinski@...ronome.com> To: netdev@...r.kernel.org Cc: kubakici@...pl, oss-drivers@...ronome.com, Jakub Kicinski <jakub.kicinski@...ronome.com> Subject: [PATCH net-next v3 0/5] nfp: DMA flags, adjust head and fixes Hi! This series takes advantage of Alex's DMA_ATTR_SKIP_CPU_SYNC to make XDP packet modifications "correct" from DMA API point of view. It also allows us to parse the metadata before we run XDP at no additional DMA sync cost. That way we can get rid of the metadata memcpy, and remove the last upstream user of bpf_prog->xdp_adjust_head. David's patch adds a way to read capabilities from the management firmware. There are also two net-next fixes. Patch 4 which fixes what seems to be a result of a botched rebase on my part. Patch 5 corrects locking when state of ethernet ports is being refreshed. --- v3: move the sync from alloc func to the actual give to hw func v2: sync rx buffers before giving them to the card (Alex) David Brunecz (1): nfp: add NSP routine to get static information Jakub Kicinski (4): nfp: make use of the DMA_ATTR_SKIP_CPU_SYNC attr nfp: parse metadata prepend before XDP runs nfp: fix free list buffer size reporting nfp: remove the refresh of all ports optimization drivers/net/ethernet/netronome/nfp/Makefile | 1 + drivers/net/ethernet/netronome/nfp/nfp_main.c | 7 ++ drivers/net/ethernet/netronome/nfp/nfp_net.h | 9 +- .../net/ethernet/netronome/nfp/nfp_net_common.c | 125 ++++++++++++--------- .../net/ethernet/netronome/nfp/nfp_net_ethtool.c | 13 ++- drivers/net/ethernet/netronome/nfp/nfp_net_main.c | 67 +++++++---- drivers/net/ethernet/netronome/nfp/nfpcore/nfp.h | 1 + .../net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c | 7 ++ .../net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h | 24 ++++ .../ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c | 89 +++++++++++++++ 10 files changed, 265 insertions(+), 78 deletions(-) create mode 100644 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c -- 2.11.0
Powered by blists - more mailing lists