From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3D0E443DCA; Mon, 8 Apr 2024 12:47:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79A9F402D4; Mon, 8 Apr 2024 12:47:06 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id 67F9040289 for ; Mon, 8 Apr 2024 12:47:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712573225; x=1744109225; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=U1ZVrxwburPhO0+t7FPCQYc+YM2xDaIEqpdysOwNig4=; b=MQzwCVzOVvKMRcMi1sYfFZDcsCMYkMTjnsR8HNIIOiCD7kzWziJwwSoe O/hQRxSxWyfCiec8QAij4XhZ2SxvFHMiuel6KvOXFWIDj2DGzDV/oggab OB/mblecy/PJZZV+RLXFYyCkLRpsBmO7fFSaif9si5ulHw/5xaZWn4yno yf7PFNAKecYAiHkeFNLkVc7mWhHnP7G2hQNtomSJOHA4/7zWqH5PtYnB1 8ZVAHRQvHGsAk0CvzSLwPj0gLt1gckSW8cLAlXagVIEPbTwjMIiqe97Cx 4vNDpOAzAanluNPFcZunIf1NrWevKmo/hmSjfr/IfS5ghEZ3h/W8Jk+Wh w==; X-CSE-ConnectionGUID: PSjHvrnsT/KH5fJHLemBmg== X-CSE-MsgGUID: kxFTcH7bQl21nw0QIJVdJQ== X-IronPort-AV: E=McAfee;i="6600,9927,11037"; a="8067273" X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208";a="8067273" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 03:47:03 -0700 X-CSE-ConnectionGUID: dLbnrrHVSmy9dqfAEdYW3A== X-CSE-MsgGUID: 2+uhFErxSQKQH76sJjnHJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208";a="24314574" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Apr 2024 03:47:02 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Apr 2024 03:47:02 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Apr 2024 03:47:01 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 8 Apr 2024 03:47:01 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 8 Apr 2024 03:47:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LxBbE2h15YiqGENHzMtJ+X7JmMUVyTa/9IuIKxQnHVwVe+Sof9R39HuFmiyiy0O7uFwmTOg4OcRAHCF09GfUMjFyz+sjTAS2gUF819PpzZUgm8wRENCuRN9yzdA5z6ASFbWdbojwGX0oAU6G19XMKjqtTI2gKLPiuf6P6Iz5KWv7lznEPxLL0MQ55ObnXjB3Zq5wRojP7NH2UhpYj+YpWQ3l9CM+kaFeuYvxl1Pbgv7vNuJba1f8DdWPhdWJ86rDOtWuEq+jFekznvsUQXYWA/mpId1IvOjm3yrchbw5CfrnX5JNv0lHEkFA9rdULNGSIRCEM0krAJpmzBxbQaSyxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bH2gaJQAWirrvVaY6xQlOSc1uOFlllS1EF3RzoEa/qg=; b=X+u7BJRMHpvMxyXSfeymQ8K8bZPmnI0xC0kwMpQmKwj1giFPHiGRIbibHgdCIDtaRox8D3PpLEwvrNsYAOuGcTO8Xi35oYIS+i81aYNJhN92urXv8pRge8p+zgJOjXufqtgJS/vtUUeO2XfPf65HKc5erz06cKgWswfOB96sZqP2Zg5nNmqZpsAkQYqFCn3LHGTUuZ1H3s6DuQCCjV5EEADQRy8z2o6uG5ci5ofampg0/i9d2KQcmbfe5cXCprRXX5ieQlk8JETgDfwt5m3NC1paMxt15MuNMHK9iKJiFDJlee3RNOekyeK/fg7DyoZ8+sesl+oTF9RUX3GXwWW4OQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CY8PR11MB7799.namprd11.prod.outlook.com (2603:10b6:930:78::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.33; Mon, 8 Apr 2024 10:46:58 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::be3f:5a4f:5180:2ba9]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::be3f:5a4f:5180:2ba9%4]) with mapi id 15.20.7430.045; Mon, 8 Apr 2024 10:46:58 +0000 From: "Loftus, Ciara" To: "Tahhan, Maryam" , "ferruh.yigit@amd.com" , "stephen@networkplumber.org" , "lihuisong@huawei.com" , "fengchengwen@huawei.com" , "liuyonglong@huawei.com" , "Marchand, David" , "Koikkara Reeny, Shibin" CC: "dev@dpdk.org" , "Tahhan, Maryam" , "stable@dpdk.org" Subject: RE: [v13 2/3] net/af_xdp: fix multi interface support for K8s Thread-Topic: [v13 2/3] net/af_xdp: fix multi interface support for K8s Thread-Index: AQHahpu4D02auYPky0GugLNCUc9w9LFeNhOA Date: Mon, 8 Apr 2024 10:46:58 +0000 Message-ID: References: <20240404142326.2151118-1-mtahhan@redhat.com> <20240404142326.2151118-3-mtahhan@redhat.com> In-Reply-To: <20240404142326.2151118-3-mtahhan@redhat.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5872:EE_|CY8PR11MB7799:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QMo3KH12po/aNuq6zEStULrY1e1yvvQBlwZT1TxxXtgNHnuh8XknoJ1nSObI93VCbEV/zkAE4NyzqNL/1mU02C3Q2RuQ5owGsa4vevmlIru/Xuma6JISoR14IFmLvvIUNYH8gULGIVtLkP4OQN1n7TkrOg+gqe+ZkKc8Jbn/ApSULlMRrngQ5FK1YPhxcvceu1lLQfncJr0QGKstPj/xE+GbcfANS4L3G7NeH7c0xodBJf+i+FchndqpJD3iRVbzL7FS/I9fY83MEnJcJ9dPA2NE5uIfKG5lLZucGa0gZyqnZUH7TljpzACo+pR4tVxYtnZQQQgr+LEPYT6oeWB8s72ve5QtgygVDaqbYTiTCZ4P5B1FnNdtvEHJ+KGmDMPuZ8bsYTNGiKPQDX/Klx47q+fQM8gHG6uvg0Eo8HOUCuP71faBP9/XlL7l4/AFzb3AkMOOmFmeCwYV6Du45xAntXv3HWkabhXcGKLUdnsni8lKNF1jxFj/VuMGBd6Us9zbFgAmHKvYSlDRkYAjON2iyfWjGE88yJswj/Wa6QZYP7O0cuWyIyHdDzVftCJ0gYSdkwyiwG8bnzLM+28dayh66GnTcMP9uoOYBDtSfHHj1IVdowbMh9TLwCe9BXNW1Un19+dtJhUkFQAyBjvSGoOaEIzgNivDMqiHF+TqkpOyg+EOgatDLLeBdzO4iRxhCjeqL+ZIrheNd1oOO+7eyfiw5Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005)(921011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Lao9r+qJxdh0/1iZ1ifhkSwpZ+GLALuJOoO7OcAsMuYY44fJdLcXRyL4+oa9?= =?us-ascii?Q?Gtkjai+PK4wLYVAI+0BJpO5zymn5LEPMC4lj0MDPgnqSaIt2hSq+Q0oCw5Y8?= =?us-ascii?Q?iS/dy9TyMAMYVCrSgAxbyFSivu9pepo6VtQ4uiQt6XIaC26NG5NmK98j2/TS?= =?us-ascii?Q?diV2sZvzSC5CUTLic+54hUjc1UXffczC+adSRGWcrOFHbJf0Xh+eGHWxBqNf?= =?us-ascii?Q?2Dm9BLE9T9pa+AfCAZ6uvOHYr08vyzGRC38kJCXJWT2SNLSz+GVODULo+4vt?= =?us-ascii?Q?trpEYTYZo4ylaqQhWjdnjjvuLUA4Im7mLRh/dUk7nrCXv1MySH4u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CyVZGVTDPKBDULKswztboKQ3tBlG/WU1?= =?us-ascii?Q?WhXNZQd6bPqx1VqW0zfZrF/iJdAlxJ9L1UQQY/o3y2dsg0h5tA9OYlCWetzm?= =?us-ascii?Q?Seiao87+9X5mFNDsa/8Ysano2sqnr/w9DjOpuI0zqdJZWYKGf7XVtWUrXQLc?= =?us-ascii?Q?GhrjUFVWH70fRV72RoWRsA4PZZFhOIZtN1guJzjkdD6Yj3TxvjEYjudx05aG?= =?us-ascii?Q?K7XKpyDAZVRNjw9pQ+uz/w2rIonJUpxeCJhwfA8Ms1VhZROmKcHXPDJhf+mC?= =?us-ascii?Q?EJrYjQckBOgPz4XvaGJnC95YTMBX9SA7WimRE2ThElcZwTTZzWwgyp+dpKtk?= =?us-ascii?Q?fhmy+IMenfQsEJd709MYUznHqlz/IgXcwHgiSUCq?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72d8f511-1044-4209-f524-08dc57b93753 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2024 10:46:58.8344 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wdLOwuFXnaCUr0DNjeJd3TvlgtHpvRucqFd/GgmFxkFMi9lFvzQIE9eow2cb5pkK+Hm+UEooq6Yq25pmGsYwWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7799 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org >=20 > +#ifdef ETH_AF_XDP_UPDATE_XSKMAP > +static __rte_always_inline int > +update_xskmap(struct xsk_socket *xsk, int map_fd, int xsk_queue_idx > __rte_unused) > +{ > + return xsk_socket__update_xskmap(xsk, map_fd); > +} > +#else > +static __rte_always_inline int > +update_xskmap(struct xsk_socket *xsk, int map_fd, int xsk_queue_idx) > +{ > + int fd =3D xsk_socket__fd(xsk); 'fd' computed here is not used in this function so generates an unused vari= able warning. > + return bpf_map_update_elem(map_fd, &xsk_queue_idx, &map_fd, > 0); > +} > +#endif > +