From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sowmini Varadhan Subject: Re: [PATCH v2 net-next 1/2] af_packet: TX_RING support for TPACKET_V3 Date: Mon, 2 Jan 2017 18:07:24 -0500 Message-ID: <20170102230724.GE31716@oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Network Development , Daniel Borkmann , Willem de Bruijn , David Miller To: Willem de Bruijn Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:18058 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933055AbdABXHl (ORCPT ); Mon, 2 Jan 2017 18:07:41 -0500 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On (01/02/17 17:57), Willem de Bruijn wrote: > One more point. We should validate the tpacket_req3 input and fail if > unsupported options are passed. Specifically, fail if any of > {tp_retire_blk_tov, tp_sizeof_priv, tp_feature_req_word} is non-zero. > > Otherwise looks good to me. Ok, I'll send out v3 tomorrow, with the test case also updated to share code with walk_v1_v2_tx as cleanly as possible. Thanks for the review feedback! --Sowmini