From owner-dev-commits-src-all@freebsd.org Fri Sep 17 21:21:11 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C405866A99E for ; Fri, 17 Sep 2021 21:21:11 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HB6MC4xw3z4jTr for ; Fri, 17 Sep 2021 21:21:11 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-qk1-x72c.google.com with SMTP id c10so21674517qko.11 for ; Fri, 17 Sep 2021 14:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OdD6yP68iCBuhgNXmy09gqHUNUyqUMFZlv6jO7YM8j8=; b=FytPDH2EqX42eKFyyO24EpbK6l93S/JpF07zoQ+UVy6BugW2r2FtPJ/PFJwGNSzW47 VaGHwhUL0GtbBvfJa1qhGBgieEpU9xwnJMcUgLwMxhZSuZCRG2onfHT557gTHZDOzAfV 9nI3/QoOVeZa+efoA7Gbg/55flcDKV3XmMsUc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OdD6yP68iCBuhgNXmy09gqHUNUyqUMFZlv6jO7YM8j8=; b=QOMjztzKCF+XRzQ/C1JX8G/CSTtsgoMQ/WBJywdB8++ok3ULSEKxXpjYiKo322GoZP NfFBDjSuqK+SMxw/+RAelGf3tGaYlIsQZQqOgx5AEro1u83R5v41RVq6GTwyTnVxYPcS +1R74qOW65xU/eVUGrpihkIFgFu5GzIMNrMDuKDylSB81hpiHC8jVsc3Gvo9po+oS2ro 0/fcqhUeDBl/4LyFdSFWhdo1CpaiNQF5xq6Vy2mRlv0Drp6Ju8DsfT4BmDF9z01wmL1m vpLxkdlxerwxMM/ddCeJ/2fUzgESSKn1ryP/MRAQ33F2WPmrIArb5sXS34h9Xj/faEXP y4kA== X-Gm-Message-State: AOAM531aeqtOLFG8SZDnngyG0s9oeB+lajlZ/J24GAcidLZ1mot05TZP Jc/Rs1FCcUamGdB/0fL2pphOGTXRxXbt6qc5bIO2MA== X-Google-Smtp-Source: ABdhPJyLWqvV+K3z7s01nH3XB3N9F6oWqnlePJGrBFuMN5kTXlXn5+4cOyL2tGLwCzT4JNHKjY6HhD9GFzpTLgOxGF8= X-Received: by 2002:a05:6902:1204:: with SMTP id s4mr15991574ybu.493.1631913671011; Fri, 17 Sep 2021 14:21:11 -0700 (PDT) MIME-Version: 1.0 References: <202109172119.18HLJtjL029419@gitrepo.freebsd.org> In-Reply-To: <202109172119.18HLJtjL029419@gitrepo.freebsd.org> From: Kevin Bowling Date: Fri, 17 Sep 2021 14:20:59 -0700 Message-ID: Subject: Re: git: d1c37752e2af - main - e1000: expose MAC functions To: Kevin Bowling Cc: src-committers , "" , "dev-commits-src-main@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HB6MC4xw3z4jTr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2021 21:21:11 -0000 Sorry for a pasto (X11 clipboard :o)), the DPDK commit hash is aca51d3158c25ea8e50abb3f71c930d667f8c275 here. On Fri, Sep 17, 2021 at 2:19 PM Kevin Bowling wrote: > > The branch main has been updated by kbowling (ports committer): > > URL: https://cgit.FreeBSD.org/src/commit/?id=d1c37752e2afb51dfb2e08afe714a799788b6ede > > commit d1c37752e2afb51dfb2e08afe714a799788b6ede > Author: Guinan Sun > AuthorDate: 2020-07-06 08:12:06 +0000 > Commit: Kevin Bowling > CommitDate: 2021-09-17 21:19:22 +0000 > > e1000: expose MAC functions > > Now the functions are being accessed outside of the file, we need > to properly expose them for silicon families to use. > > Signed-off-by: Jeff Kirsher > Signed-off-by: Guinan Sun > Reviewed-by: Wei Zhao > > Approved by: imp > Obtained from: DPDK (df01c0ee277d51f81d7d72501dba97550d3b6c4a) > MFC after: 1 week > --- > sys/dev/e1000/e1000_mac.c | 3 +-- > sys/dev/e1000/e1000_mac.h | 1 + > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sys/dev/e1000/e1000_mac.c b/sys/dev/e1000/e1000_mac.c > index e0d078d924f9..a13572d8dc18 100644 > --- a/sys/dev/e1000/e1000_mac.c > +++ b/sys/dev/e1000/e1000_mac.c > @@ -38,7 +38,6 @@ > static s32 e1000_validate_mdi_setting_generic(struct e1000_hw *hw); > static void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw); > static void e1000_config_collision_dist_generic(struct e1000_hw *hw); > -static int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index); > > /** > * e1000_init_mac_ops_generic - Initialize MAC function pointers > @@ -484,7 +483,7 @@ s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) > * Sets the receive address array register at index to the address passed > * in by addr. > **/ > -static int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) > +int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) > { > u32 rar_low, rar_high; > > diff --git a/sys/dev/e1000/e1000_mac.h b/sys/dev/e1000/e1000_mac.h > index 1f472d42421e..370f7f9d8a1a 100644 > --- a/sys/dev/e1000/e1000_mac.h > +++ b/sys/dev/e1000/e1000_mac.h > @@ -70,6 +70,7 @@ s32 e1000_led_on_generic(struct e1000_hw *hw); > s32 e1000_led_off_generic(struct e1000_hw *hw); > void e1000_update_mc_addr_list_generic(struct e1000_hw *hw, > u8 *mc_addr_list, u32 mc_addr_count); > +int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index); > s32 e1000_set_default_fc_generic(struct e1000_hw *hw); > s32 e1000_set_fc_watermarks_generic(struct e1000_hw *hw); > s32 e1000_setup_fiber_serdes_link_generic(struct e1000_hw *hw); > _______________________________________________ > dev-commits-src-main@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main > To unsubscribe, send any mail to "dev-commits-src-main-unsubscribe@freebsd.org"