Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp158991pxu; Tue, 24 Nov 2020 22:51:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJUuw70Igi5jdEg2Uyxhz4O3qW94HobqJ/FC2eYLljgFnhfoWQqJFhzsMq/YTY04tJiUEb X-Received: by 2002:aa7:d54a:: with SMTP id u10mr2125607edr.168.1606287078280; Tue, 24 Nov 2020 22:51:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606287078; cv=none; d=google.com; s=arc-20160816; b=cGyyDsgPeueg4ONXDRmY9yzjiYFvb5BFxIec+DYTdK9PcHPpe+rowWQnoeXmWFLbwR fMsw+BOq1/2UurcexYHtyG1G2fyLoRoK4OrEf1VOTB9QgSs7iWu2530mnqaT+uCIvyg6 NPJAA4qCMPr+VBF+RRNwjmfTnJInxde8K2gNT106PVHIQ82FLp/HiUzcLCkVSgNDbDdA OaAKpPIpr9JEh6ZjVgn4urGmFDiOzUhfTjbhbwa+mB5bETAkzNT7ymWkBlfE7WTqP/mH mkC9E0Qnu0aiTiNcF2CM21WMTNXAGq8vqiSQ5xljChvhDSzmr66uYG/aWa5AErSvI6Ie VB6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=9zfmRl4LjjilJ6j5b4KshOCx0ym0T2Zd1L7O2K3PlV8=; b=WMXZ80qeupO8AaswAZfibsAxnE25vB9gF7/TduPyCKp2l2USTpXId9X9tUE5NLryRE QOQNKq2WyQpd+vlfNOMuKln5vGfi5XvHK/UXsqb+vGsr7r/IaX7bcgFUFpJVVSx61foA 9QK9ycFSSiwvRmPvS5lNKM1hdQAVai/uh9mQwn9jKpStKp+O94LpNpFTdtJmxs0IdqI2 W1c5S2zBTq6QAO7D/5MYe9bC8HTsL4BaOfoDNd/ifbaa7SNoCGDpCZ71c/sbRcKM4Amu IV5FKDlOeKaVQJIODX9+ktkMnLnP/amAWHpYB1ieFBmBwHh6EKGGUVFfdRASNVDT/dul EU1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c26si515959edx.406.2020.11.24.22.50.55; Tue, 24 Nov 2020 22:51:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727272AbgKYGtM (ORCPT + 99 others); Wed, 25 Nov 2020 01:49:12 -0500 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:49785 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727033AbgKYGtM (ORCPT ); Wed, 25 Nov 2020 01:49:12 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R801e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=xuanzhuo@linux.alibaba.com;NM=1;PH=DS;RN=18;SR=0;TI=SMTPD_---0UGTnDfl_1606286938; Received: from localhost(mailfrom:xuanzhuo@linux.alibaba.com fp:SMTPD_---0UGTnDfl_1606286938) by smtp.aliyun-inc.com(127.0.0.1); Wed, 25 Nov 2020 14:48:58 +0800 From: Xuan Zhuo To: magnus.karlsson@gmail.com Cc: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Magnus Karlsson , Jonathan Lemon , "David S. Miller" , Jakub Kicinski , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , KP Singh , netdev@vger.kernel.org (open list:XDP SOCKETS (AF_XDP)), bpf@vger.kernel.org (open list:XDP SOCKETS (AF_XDP)), linux-kernel@vger.kernel.org (open list) Subject: [PATCH bpf v2 0/2] xsk: fix for xsk_poll writeable Date: Wed, 25 Nov 2020 14:48:55 +0800 Message-Id: X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for magnus very much. V2: #2 patch made some changes following magnus' opinions. Xuan Zhuo (2): xsk: replace datagram_poll by sock_poll_wait xsk: change the tx writeable condition net/xdp/xsk.c | 20 ++++++++++++++++---- net/xdp/xsk_queue.h | 6 ++++++ 2 files changed, 22 insertions(+), 4 deletions(-) -- 1.8.3.1