From: Vladimir Oltean
Bridge FDB entries with the is_local flag are entries which are
terminated locally and not forwarded. Switchdev drivers might want to be
notified of these addresses so they can trap them. If they don't program
these entries to hardware, there is no guarantee that they will d
On Sun, Mar 21, 2021 at 9:34 AM Pavel Machek wrote:
>
> dev_get_mac_address() does not always initialize whole
> structure. Unfortunately, other code copies such structure to
> userspace, leaking information. Fix it.
Well, most callers already initialize it with a memset() or co
dev_get_mac_address() does not always initialize whole
structure. Unfortunately, other code copies such structure to
userspace, leaking information. Fix it.
Signed-off-by: Pavel Machek (CIP)
Cc: sta...@kernel.org
diff --git a/net/core/dev.c b/net/core/dev.c
index 6c5967e80132..28283a9eb63a
We currently only log the error recovery settings if it is enabled.
In some cases, firmware disables error recovery after it was
initially enabled. Without logging anything, the user will not be
aware of this change in setting.
Log it when error recovery is disabled. Also, change the reset count
/ice_type.h
+++ b/drivers/net/ethernet/intel/ice/ice_type.h
@@ -330,11 +330,34 @@ struct ice_netlist_info {
u16 cust_ver; /* customer version */
};
+/* Enumeration of possible flash banks for the NVM, OROM, and Netlist modules
+ * of the flash image.
+ */
+enum ice_fl
On Fri, Jan 29, 2021 at 4:32 PM Jacob Keller wrote:
>
>
>
> On 1/29/2021 1:04 PM, Willem de Bruijn wrote:
> > On Fri, Jan 29, 2021 at 4:01 PM Willem de Bruijn
> > wrote:
> >>
> >> On Thu, Jan 28, 2021 at 7:46 PM Tony Nguyen
> >> wrote:
> >>>
> >>> From: Jacob Keller
> >>>
> >>> The ice flash c
On 1/29/2021 1:04 PM, Willem de Bruijn wrote:
> On Fri, Jan 29, 2021 at 4:01 PM Willem de Bruijn
> wrote:
>>
>> On Thu, Jan 28, 2021 at 7:46 PM Tony Nguyen
>> wrote:
>>>
>>> From: Jacob Keller
>>>
>>> The ice flash contains two copies of each of the NVM, Option ROM, and
>>> Netlist modules.
On Fri, Jan 29, 2021 at 4:01 PM Willem de Bruijn
wrote:
>
> On Thu, Jan 28, 2021 at 7:46 PM Tony Nguyen
> wrote:
> >
> > From: Jacob Keller
> >
> > The ice flash contains two copies of each of the NVM, Option ROM, and
> > Netlist modules. Each bank has a pointer word and a size word. In order
>
On Thu, Jan 28, 2021 at 7:46 PM Tony Nguyen wrote:
>
> From: Jacob Keller
>
> The ice flash contains two copies of each of the NVM, Option ROM, and
> Netlist modules. Each bank has a pointer word and a size word. In order
> to correctly read from the active flash bank, the driver must calculate
>
/ice_type.h
+++ b/drivers/net/ethernet/intel/ice/ice_type.h
@@ -330,11 +330,34 @@ struct ice_netlist_info {
u16 cust_ver; /* customer version */
};
+/* Enumeration of possible flash banks for the NVM, OROM, and Netlist modules
+ * of the flash image.
+ */
+enum ice_fl
From: Guangbin Huang
Add some interfaces to get information of tm priority and qset,
then they can be used by debugfs.
Signed-off-by: Guangbin Huang
Signed-off-by: Huazhong Tan
---
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 1 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
>
> [...]
Here is the summary with links:
- [net] can: dev: prevent potential information leak in can_fill_info()
https://git.kernel.org/netdev/net/c/b552766c872f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
From: Dan Carpenter
The "bec" struct isn't necessarily always initialized. For example, the
mcp251xfd_get_berr_counter() function doesn't initialize anything if the
interface is down.
Fixes: 52c793f24054 ("can: netlink support for bus-error reporting and
counters")
Link: https://lore.kernel.org
To avoid polluting the users logs with register dumps, only dump the
adapter's registers if configured to do so.
If users want to enable HW status messages they can do:
$ ethtool -s IFACE msglvl hw on
Signed-off-by: Vinicius Costa Gomes
---
drivers/net/ethernet/intel/igc/igc_dump.c | 3 +++
1
To avoid polluting the users logs with register dumps, only dump the
adapter's registers if configured to do so.
If users want to enable HW status messages they can do:
$ ethtool -s IFACE msglvl hw on
Signed-off-by: Vinicius Costa Gomes
---
drivers/net/ethernet/intel/igc/igc_dump.c | 3 +++
1
.]
Here is the summary with links:
- [net,1/2] can: isotp: isotp_getname(): fix kernel information leak
https://git.kernel.org/netdev/net/c/b42b3a2744b3
- [net,2/2] can: mcp251xfd: mcp251xfd_handle_rxif_one(): fix wrong NULL
pointer check
https://git.kernel.org/netdev/net/c/ca4c6ebe
From: Oliver Hartkopp
Initialize the sockaddr_can structure to prevent a data leak to user space.
Suggested-by: Cong Wang
Reported-by: syzbot+057884e2f453e8afe...@syzkaller.appspotmail.com
Fixes: e057dd3fc20f ("can: add ISO 15765-2:2016 transport protocol")
Signed-off-by: Oliver Hartkopp
Link:
From: Vladimir Oltean
It is a bit strange to see something as specific as Broadcom SYSTEMPORT
bits in the main DSA include file. Move these away into a separate
header, and have the tagger and the SYSTEMPORT driver include them.
Signed-off-by: Vladimir Oltean
Acked-by: Florian Fainelli
---
Cha
On 12/18/2020 2:38 PM, Vladimir Oltean wrote:
> It is a bit strange to see something as specific as Broadcom SYSTEMPORT
> bits in the main DSA include file. Move these away into a separate
> header, and have the tagger and the SYSTEMPORT driver include them.
>
> Signed-off-by: Vladimir Oltean
It is a bit strange to see something as specific as Broadcom SYSTEMPORT
bits in the main DSA include file. Move these away into a separate
header, and have the tagger and the SYSTEMPORT driver include them.
Signed-off-by: Vladimir Oltean
---
MAINTAINERS| 1 +
dri
To avoid polluting the users logs with register dumps, only dump the
adapter's registers if configured to do so.
If users want to enable HW status messages they can do:
$ ethtool -s IFACE msglvl hw on
Signed-off-by: Vinicius Costa Gomes
---
drivers/net/ethernet/intel/igc/igc_dump.c | 3 +++
1
From: Guvenc Gulce
Add new netlink command to obtain system information
of the smc module.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
include/uapi/linux/smc.h | 18
net/smc/smc_clc.c| 5
net/smc/smc_clc.h| 1 +
net/smc/smc_core.c
From: Guvenc Gulce
During link creation add net-device ifindex and ib-device
name to link structure. This is needed for diagnostic purposes.
When diagnostic information is gathered, we need to traverse
device, linkgroup and link structures, to be able to do that
we need to hold a spinlock for
From: Guvenc Gulce
During smc ib-device creation, add network device ifindex to smc
ib-device structure. Register for netdevice changes and update ib-device
accordingly. This is needed for diagnostic purposes.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
net/smc/smc_ib.c | 4
On Thu, 26 Nov 2020 21:39:11 +0100 Karsten Graul wrote:
> + attrs = nla_nest_start_noflag(skb, SMC_GEN_SYS_INFO);
Missed this, nla_nest_start(), the _noflag() is for legacy code.
New families should not use it.
From: Guvenc Gulce
During smc ib-device creation, add network device ifindex to smc
ib-device structure. Register for netdevice changes and update ib-device
accordingly. This is needed for diagnostic purposes.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
net/smc/smc_ib.c | 4
From: Guvenc Gulce
During link creation add net-device ifindex and ib-device
name to link structure. This is needed for diagnostic purposes.
When diagnostic information is gathered, we need to traverse
device, linkgroup and link structures, to be able to do that
we need to hold a spinlock for
From: Guvenc Gulce
Add new netlink command to obtain system information
of the smc module.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
include/uapi/linux/smc.h | 18
net/smc/smc_clc.c| 5
net/smc/smc_clc.h| 1 +
net/smc/smc_core.c
On Tue, 24 Nov 2020 18:50:42 +0100 Karsten Graul wrote:
> @@ -214,6 +217,67 @@ static void smc_lgr_unregister_conn(struct
> smc_connection *conn)
> conn->lgr = NULL;
> }
>
> +int smc_nl_get_sys_info(struct sk_buff *skb, struct netlink_callback *cb)
> +{
> + struct smc_nl_dmp_ctx *cb_c
From: Guvenc Gulce
During smc ib-device creation, add network device ifindex to smc
ib-device structure. Register for netdevice changes and update ib-device
accordingly. This is needed for diagnostic purposes.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
net/smc/smc_ib.c | 4
From: Guvenc Gulce
Add new netlink command to obtain system information
of the smc module.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
include/uapi/linux/smc.h | 18 +++
net/smc/smc_clc.c| 5
net/smc/smc_clc.h| 1 +
net/smc/smc_core.c
From: Guvenc Gulce
During link creation add net-device ifindex and ib-device
name to link structure. This is needed for diagnostic purposes.
When diagnostic information is gathered, we need to traverse
device, linkgroup and link structures, to be able to do that
we need to hold a spinlock for
From: Guvenc Gulce
Add new netlink command to obtain system information
of the smc module.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
include/uapi/linux/smc.h | 1 +
include/uapi/linux/smc_diag.h | 17 ++
net/smc/smc_clc.c | 5 +++
net/smc
From: Guvenc Gulce
During link creation add network and ib-device name to
link structure. This is needed for diagnostic purposes.
When diagnostic information is gathered, we need to traverse
device, linkgroup and link structures, to be able to do that
we need to hold a spinlock for the
From: Guvenc Gulce
During smc ib-device creation, add network device name to smc
ib-device structure. Register for netdevice name changes and
update ib-device accordingly. This is needed for diagnostic purposes.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
net/smc/smc_ib.c |
Checksum update was missing in the WR.
Fixes: 429765a149f1 ("chcr: handle partial end part of a record")
Signed-off-by: Rohit Maheshwari
---
.../chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet
On 07/11/2020 18:55, Jakub Kicinski wrote:
> On Sat, 7 Nov 2020 13:59:58 +0100 Karsten Graul wrote:
>> From: Guvenc Gulce
>>
>> Add new netlink command to obtain system information
>> of the smc module.
>>
>> Signed-off-by: Guvenc Gulce
>> Signe
Checksum update was missing in the WR.
Fixes: 429765a149f1 ("chcr: handle partial end part of a record")
Signed-off-by: Rohit Maheshwari
---
.../chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet
On Sat, 7 Nov 2020 13:59:58 +0100 Karsten Graul wrote:
> From: Guvenc Gulce
>
> Add new netlink command to obtain system information
> of the smc module.
>
> Signed-off-by: Guvenc Gulce
> Signed-off-by: Karsten Graul
Checkpatch says:
CHECK: Please don't use mult
From: Guvenc Gulce
During smc ib-device creation, add network device name to smc
ib-device structure. Register for netdevice name changes and
update ib-device accordingly. This is needed for diagnostic purposes.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
net/smc/smc_ib.c |
From: Guvenc Gulce
During link creation add network and ib-device name to
link structure. This is needed for diagnostic purposes.
When diagnostic information is gathered, we need to traverse
device, linkgroup and link structures, to be able to do that
we need to hold a spinlock for the
From: Guvenc Gulce
Add new netlink command to obtain system information
of the smc module.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
include/uapi/linux/smc.h | 1 +
include/uapi/linux/smc_diag.h | 18 +++
net/smc/smc_clc.c | 5 +++
net/smc
On Tue, 2020-11-03 at 11:25 +0100, Karsten Graul wrote:
> From: Guvenc Gulce
>
> During link creation add network and ib-device name to
> link structure. This is needed for diagnostic purposes.
>
> When diagnostic information is gathered, we need to traverse
> devic
On Tue, 2020-11-03 at 11:25 +0100, Karsten Graul wrote:
> From: Guvenc Gulce
>
> During smc ib-device creation, add network device name to smc
> ib-device structure. Register for netdevice name changes and
> update ib-device accordingly. This is needed for diagnostic purposes.
>
> Signed-off-by:
From: Guvenc Gulce
Add new netlink command to obtain system information
of the smc module.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
include/uapi/linux/smc.h | 1 +
include/uapi/linux/smc_diag.h | 18 ++
net/smc/smc_clc.c | 6
net/smc
From: Guvenc Gulce
During link creation add network and ib-device name to
link structure. This is needed for diagnostic purposes.
When diagnostic information is gathered, we need to traverse
device, linkgroup and link structures, to be able to do that
we need to hold a spinlock for the
From: Guvenc Gulce
During smc ib-device creation, add network device name to smc
ib-device structure. Register for netdevice name changes and
update ib-device accordingly. This is needed for diagnostic purposes.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
net/smc/smc_ib.c |
From: Guvenc Gulce
Add new netlink command to obtain system information
of the smc module.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
include/uapi/linux/smc.h | 1 +
include/uapi/linux/smc_diag.h | 18 ++
net/smc/smc_clc.c | 6
net/smc
From: Guvenc Gulce
During smc ib-device creation, add network device name to smc
ib-device structure. Register for netdevice name changes and
update ib-device accordingly. This is needed for diagnostic purposes.
Signed-off-by: Guvenc Gulce
Signed-off-by: Karsten Graul
---
net/smc/smc_ib.c |
From: Guvenc Gulce
During link creation add network and ib-device name to
link structure. This is needed for diagnostic purposes.
When diagnostic information is gathered, we need to traverse
device, linkgroup and link structures, to be able to do that
we need to hold a spinlock for the
Checksum update was missing in the WR.
Fixes: 429765a149f1 ("chcr: handle partial end part of a record")
Signed-off-by: Rohit Maheshwari
---
.../chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 21 ---
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet
Checksum update was missing in the WR.
Fixes: 429765a149f1 ("chcr: handle partial end part of a record")
Signed-off-by: Rohit Maheshwari
---
.../chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 21 ---
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet
On Tue, 27 Oct 2020, Paul Moore wrote:
> On Wed, Sep 30, 2020 at 9:44 AM Paul Moore wrote:
> > On Tue, Sep 29, 2020 at 7:09 PM James Morris wrote:
> > > I'm not keen on adding a parameter which nobody is using. Perhaps a note
> > > in the header instead?
> >
> > On Wed, Sep 30, 2020 at 6:14 AM H
On Wed, Sep 30, 2020 at 9:44 AM Paul Moore wrote:
> On Tue, Sep 29, 2020 at 7:09 PM James Morris wrote:
> > I'm not keen on adding a parameter which nobody is using. Perhaps a note
> > in the header instead?
>
> On Wed, Sep 30, 2020 at 6:14 AM Herbert Xu
> wrote:
> > Please at least change to t
MR related information is stored in rds_sock. This patch exposes the
information to userspace using rds-info command. The usage is limited to
CAP_NET_ADMIN privilege.
sample output:
# rds-info -m
RDS MRs:
Program PIDMR-getsMR-putsMR-inuse
rds-stress 17743 28468
When the Extraction Frame Header contains a valid classified VLAN, use
that instead of the VLAN header present in the packet.
Signed-off-by: Vladimir Oltean
---
net/dsa/tag_ocelot.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/net/dsa/tag_ocelot.c b/net
On Fri, Oct 02, 2020 at 04:13:18PM -0700, David Miller wrote:
> From: Ioana Ciornei
> Date: Sat, 3 Oct 2020 00:07:27 +0300
>
> > This patch set aims to add the necessary DTS nodes to complete the
> > MAC/PCS/PHY representation on DPAA2 devices. The external MDIO bus nodes
> > and the PHYs found
From: Ioana Ciornei
Date: Sat, 3 Oct 2020 00:07:27 +0300
> This patch set aims to add the necessary DTS nodes to complete the
> MAC/PCS/PHY representation on DPAA2 devices. The external MDIO bus nodes
> and the PHYs found on them are added, along with the PCS MDIO internal
> buses and their PCS
This patch set aims to add the necessary DTS nodes to complete the
MAC/PCS/PHY representation on DPAA2 devices. The external MDIO bus nodes
and the PHYs found on them are added, along with the PCS MDIO internal
buses and their PCS PHYs. Also, links to these PHYs are added from the
DPMAC node.
I am
This patch set aims to add the necessary DTS nodes to complete the
MAC/PCS/PHY representation on DPAA2 devices. The external MDIO bus nodes
and the PHYs found on them are added, along with the PCS MDIO internal
buses and their PCS PHYs. Also, links to these PHYs are added from the
DPMAC node.
I am
From: Thomas Kopp
This patch adds a reference to the recent released MCP2517FD and MCP2518FD
errata sheets and paste the explanation.
The driver already implements the proposed fix.
Signed-off-by: Thomas Kopp
Link: https://lore.kernel.org/r/20200925065606.358-1-thomas.k...@microchip.com
[mkl:
On Tue, Sep 29, 2020 at 7:09 PM James Morris wrote:
> I'm not keen on adding a parameter which nobody is using. Perhaps a note
> in the header instead?
On Wed, Sep 30, 2020 at 6:14 AM Herbert Xu wrote:
> Please at least change to the struct flowi to flowi_common if we're
> not adding a family fi
On Wed, Sep 30, 2020 at 09:09:20AM +1000, James Morris wrote:
>
> I'm not keen on adding a parameter which nobody is using. Perhaps a note
> in the header instead?
Please at least change to the struct flowi to flowi_common if we're
not adding a family field.
Thanks,
--
Email: Herbert Xu
Home P
On Tue, 29 Sep 2020, Paul Moore wrote:
> As pointed out by Herbert in a recent related patch, the LSM hooks
> should pass the address family in addition to the xfrm flow as the
> family information is needed to safely access the flow.
>
> While this is not technically a problem
On 9/29/2020 2:54 PM, Paul Moore wrote:
> As pointed out by Herbert in a recent related patch, the LSM hooks
> should pass the address family in addition to the xfrm flow as the
> family information is needed to safely access the flow.
>
> While this is not technically a problem
As pointed out by Herbert in a recent related patch, the LSM hooks
should pass the address family in addition to the xfrm flow as the
family information is needed to safely access the flow.
While this is not technically a problem for the current LSM/SELinux
code as it only accesses fields common
From: Kevin Brace
Signed-off-by: Kevin Brace
---
drivers/net/ethernet/via/via-rhine.c | 15 ---
1 file changed, 15 deletions(-)
diff --git a/drivers/net/ethernet/via/via-rhine.c
b/drivers/net/ethernet/via/via-rhine.c
index d3a2be2e75d0..8e8cfe110d95 100644
--- a/drivers/net/ethern
It will be used later for BPF structure display support
Signed-off-by: Alan Maguire
---
include/linux/bpf.h | 2 ++
kernel/bpf/verifier.c | 18 --
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index 7990232..2eae3f3 1
From: Yufeng Mo
Remove some unnecessary parameters of hclge_title_idx_print(),
and rename this function for readability.
Signed-off-by: Yufeng Mo
Signed-off-by: Huazhong Tan
---
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c| 15 +--
1 file changed, 5 insertions(+), 10
It will be used later for BPF structure display support
Signed-off-by: Alan Maguire
---
include/linux/bpf.h | 2 ++
kernel/bpf/verifier.c | 18 --
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index fc5c901..049e50f 1
It will be used later for BPF structure display support
Signed-off-by: Alan Maguire
---
include/linux/bpf.h | 2 ++
kernel/bpf/verifier.c | 18 --
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index c6d9f2c..c0ad5d8 1
Add a timeout element to the DEVLINK_CMD_FLASH_UPDATE_STATUS
netlink message for use by a userland utility to show that
a particular firmware flash activity may take a long but
bounded time to finish. Also add a handy helper for drivers
to make use of the new timeout value.
UI usage hints:
- if
On 9/17/20 12:50 PM, Jacob Keller wrote:
On 9/16/2020 8:02 PM, Shannon Nelson wrote:
Add a timeout element to the DEVLINK_CMD_FLASH_UPDATE_STATUS
netlink message for use by a userland utility to show that
a particular firmware flash activity may take a long but
bounded time to finish. Also add
On 9/17/20 12:46 PM, Jakub Kicinski wrote:
On Wed, 16 Sep 2020 20:02:00 -0700 Shannon Nelson wrote:
Add a timeout element to the DEVLINK_CMD_FLASH_UPDATE_STATUS
netlink message for use by a userland utility to show that
a particular firmware flash activity may take a long but
bounded time to fin
On 9/16/2020 8:02 PM, Shannon Nelson wrote:
> Add a timeout element to the DEVLINK_CMD_FLASH_UPDATE_STATUS
> netlink message for use by a userland utility to show that
> a particular firmware flash activity may take a long but
> bounded time to finish. Also add a handy helper for drivers
> to m
On Wed, 16 Sep 2020 20:02:00 -0700 Shannon Nelson wrote:
> Add a timeout element to the DEVLINK_CMD_FLASH_UPDATE_STATUS
> netlink message for use by a userland utility to show that
> a particular firmware flash activity may take a long but
> bounded time to finish. Also add a handy helper for driv
Add a timeout element to the DEVLINK_CMD_FLASH_UPDATE_STATUS
netlink message for use by a userland utility to show that
a particular firmware flash activity may take a long but
bounded time to finish. Also add a handy helper for drivers
to make use of the new timeout value.
UI usage hints:
- if
On Tue, Sep 15, 2020 at 4:47 PM Stanislav Fomichev wrote:
>
> Currently, if a user wants to store arbitrary metadata for an eBPF
> program, for example, the program build commit hash or version, they
> could store it in a map, and conveniently libbpf uses .data section to
> populate an internal ma
Convert various bitfields in afs_vlserver::probe to a mask and then expose
this and some other bits of information through /proc/net/afs//vlservers
to make it easier to debug VL server communication issues.
Signed-off-by: David Howells
---
fs/afs/internal.h |9 +
fs/afs/proc.c
Paolo Bonzini writes:
> On 13/08/20 14:13, Thomas Gleixner wrote:
>cat /sys/kernel/debug/metricfs/irq_x86/TLB/values
What is 'TLB'? I'm not aware of any vector which is named TLB.
>>> There's a "TLB" entry in /proc/interrupts.
>> It's TLB shootdowns and not TLB.
>
> Yes but it's using
On 13/08/20 14:13, Thomas Gleixner wrote:
Add metricfs support for displaying percpu irq counters for x86.
The top directory is /sys/kernel/debug/metricfs/irq_x86.
Then there is a subdirectory for each x86-specific irq counter.
For example:
cat /sys/kernel/debug/met
Paolo Bonzini writes:
> On 13/08/20 12:11, Thomas Gleixner wrote:
>>> Add metricfs support for displaying percpu irq counters for x86.
>>> The top directory is /sys/kernel/debug/metricfs/irq_x86.
>>> Then there is a subdirectory for each x86-specific irq counter.
>>> For example:
>>>
>>>cat /
On 13/08/20 12:11, Thomas Gleixner wrote:
>> Add metricfs support for displaying percpu irq counters for x86.
>> The top directory is /sys/kernel/debug/metricfs/irq_x86.
>> Then there is a subdirectory for each x86-specific irq counter.
>> For example:
>>
>>cat /sys/kernel/debug/metricfs/irq_x8
t; +METRICFS_ITEM(PMI, apic_perf_irqs, "Performance monitoring interrupts");
> +METRICFS_ITEM(IWI, apic_irq_work_irqs, "IRQ work interrupts");
> +METRICFS_ITEM(RTR, icr_read_retry_count, "APIC ICR read retries");
> +#endif
So you are adding NR_CPUS * NR_DIRECT_V
On Fri, Aug 07, 2020 at 02:29:13PM -0700, Jonathan Adams wrote:
> Add metricfs support for displaying percpu softirq counters. The
> top directory is /sys/kernel/debug/metricfs/softirq. Then there
> is a subdirectory for each softirq type. For example:
>
> cat /sys/kernel/debug/metricfs/sof
It will be used later for BPF structure display support
Signed-off-by: Alan Maguire
---
include/linux/bpf.h | 2 ++
kernel/bpf/verifier.c | 18 --
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index cef4ef0..55eb67d 1
l2tp_nl_tunnel_send has conditionally compiled code to support AF_INET6,
which makes the code difficult to follow and triggers checkpatch
warnings.
Split the code out into functions to handle the AF_INET v.s. AF_INET6
cases, which both improves readability and resolves the checkpatch
warnings.
Si
l2tp_nl_tunnel_send has conditionally compiled code to support AF_INET6,
which makes the code difficult to follow and triggers checkpatch
warnings.
Split the code out into functions to handle the AF_INET v.s. AF_INET6
cases, which both improves readability and resolves the checkpatch
warnings.
Si
From: Stephen Hemminger
Date: Mon, 20 Jul 2020 13:56:50 -0700
> It matters because the problem is generic, not just to the netvsc driver.
> For example, BPF programs and netfilter rules will see different packets
> when send is through AF_PACKET than they would see for sends from the
> kernel sta
sist for Q-in-Q?
> >
> > It matters because the problem is generic, not just to the netvsc driver.
> > For example, BPF programs and netfilter rules will see different packets
> > when send is through AF_PACKET than they would see for sends from the
> > kernel s
patch still persist for Q-in-Q?
>
> It matters because the problem is generic, not just to the netvsc driver.
> For example, BPF programs and netfilter rules will see different packets
> when send is through AF_PACKET than they would see for sends from the
> kernel stack.
>
> Pre
On Mon, 20 Jul 2020 09:52:27 -0400
Willem de Bruijn wrote:
> On Mon, Jul 20, 2020 at 12:27 AM Sriram Krishnan (srirakr2)
> wrote:
> >
> > +Stephen Hemminger
> >
> > Hi Willem,
> > Thanks for looking into the code, I understand that this is more of a
> > generic problem wherein many of the filte
I have moved the code to the driver and pushed a new patch due to the below
highlighted issues.
Stephen H,
Please let me know if you have any concerns localising the changes to the
netvsc driver.
Thanks,
Sriram
On 20/07/20, 7:23 PM, "Willem de Bruijn"
wrote:
On Mon, Jul 20, 2020 at 12
On Mon, Jul 20, 2020 at 12:27 AM Sriram Krishnan (srirakr2)
wrote:
>
> +Stephen Hemminger
>
> Hi Willem,
> Thanks for looking into the code, I understand that this is more of a generic
> problem wherein many of the filtering functions assume the vlan tag to be in
> the skb rather than in the pac
From: Alex Marginean
Use DT information rather than in-band information from bootloader to
set up MAC for XGMII. For RGMII use the DT indication in addition to
RGMII defaults in hardware.
However, this implies that PHY connection information needs to be
extracted before netdevice creation, when
patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Sriram-Krishnan/AF_PACKET-doesnt-strip-VLAN-information/20200718-172707
base: https://github.com/hnaz/linux-mm master
config: s390-randconfig-s03
On Sat, Jul 18, 2020 at 5:25 AM Sriram Krishnan wrote:
>
> When an application sends with AF_PACKET and places a vlan header on
> the raw packet; then the AF_PACKET needs to move the tag into the skb
> so that it gets processed normally through the rest of the transmit
> path.
>
> This is particul
When an application sends with AF_PACKET and places a vlan header on
the raw packet; then the AF_PACKET needs to move the tag into the skb
so that it gets processed normally through the rest of the transmit
path.
This is particularly a problem on Hyper-V where the host only allows
vlan in the offl
1 - 100 of 898 matches
Mail list logo